You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'id IN (SELECT store_id FROM store_categories WHERE category_id IN (96,87,97))' at line 1 #1110