Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and `sks_product`.`status`!='In Store Only'' at line 1.

Your Query : select id from `sks_product` where `sks_product`.`status`!='Hidden' and `sks_product`.status!='Search Only' and `sks_product`.`id` in () and `sks_product`.`status`!='In Store Only'