syntax error: SELECT count(id) AS numrows FROM table_product where hienthi=1 and (id_author='9138' or id_author_p='9138') and id_cat IN ()