Db 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 is_on_sale=1 ORDER BY rand() LIMIT 0,4' at line 1
SELECT * FROM `ecs_goods` WHERE goods_id not in () AND is_on_sale=1 ORDER BY rand() LIMIT 0,4