syntax error: SELECT id, title_one, alias, photo FROM table_product WHERE id IN () AND active = 1 AND public = 1 AND com = 'project' ORDER BY no, id DESC