syntax error: SELECT COUNT(*) as `num` FROM table_product where hienthi=1 and type='partner' order by stt,ngaytao desc