syntax error: select count(id) as numrows from table_product where type='' and id IN (select id_pro from table_protag where id_tag='1146') order by stt asc,ngaytao desc