syntax error: SELECT count(id) AS numrows FROM table_product where type='bat-dong-san' and id_cat= and hienthi=1 order by stt,id desc