SELECT *
FROM product_pages
WHERE product_group_id =
AND product_group_id <> -1
AND id <> 2087
AND hide <> 1
MySQL 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 product_group_id <> -1 AND id <> 2087 ' at line 4
This script cannot continue, terminating.