select id,header,first_color_with_pic_id,type_id,brand_id,cat_id from catalog_series where status=1 and id in(9785,10130,2956,2957,2958,2959,9865,8398,8181,10265,10022,10788,10696,10697,9861,9863,) and all_products_sizes_amount!=0 order by position desc
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 all_products_sizes_amount!=0 order by position desc' at line 1
Error in query.