MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT DISTINCT(goods_id) FROM `dev_yuboyo_com`.`dsc_goods_attr` AS a WHERE 1 a.attr_id = 18 AND a.goods_attr_id IN ('2902') ) [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 'a.attr_id = 18 AND a.goods_attr_id IN ('2902')' at line 1 ) [3] => Array ( [errno] => 1064 ) )