消息MySQL Query Error
SQLSELECT c.*, g.cat_id, g.brand_id, IF(ga.act_id, ga.supplier_id, g.supplier_id) as supplier_id, IF(c.parent_id, c.parent_id, c.goods_id) AS pid FROM `jingwuhui_com`.`ecs_cart` AS c left join `jingwuhui_com`.`ecs_goods` AS g on c.goods_id=g.goods_id left join `jingwuhui_com`.`ecs_goods_activity` as ga on ga.act_id = c.goods_id and c.extension_code = 'package_buy' WHERE c.session_id = '1be81cfd89f9f4e14e753c7d4539a6b1' AND c.user_id=0 AND c.rec_type = '0' 0 ORDER BY pid, c.parent_id
错误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 '0 ORDER BY pid, c.parent_id' at line 1
代码1064