1064 - 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 ')' at line 1
select p.products_id from ((((products p)) left join products_to_categories p2c on p.products_id = p2c.products_id)) where p.manufacturers_id = '237' and p.products_status = '1' and p.products_date_available <= '2025-08-24' and p2c.categories_id != '79' and p2c.categories_id IN ()