MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT COUNT(DISTINCT g.goods_id) FROM `webpos`.`ecs_goods` AS g LEFT JOIN `webpos`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' LEFT JOIN `webpos`.`ecs_products` AS p ON p.goods_id = g.goods_id AND FIND_IN_SET(6374, REPLACE(p.goods_attr, '|', ',')) > 0 AND FIND_IN_SET(7313, REPLACE(p.goods_attr, '|', ',')) > 0 WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.goods_id in( IN ('') ) GROUP BY g.goods_id ) [2] => Array ( [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 'IN ('') ) GROUP BY g.goods_id' at line 1 ) [3] => Array ( [errno] => 1064 ) )