sql这语法错误应该怎么解决 ECSHOP
MySQLservererrorreport:Array([0]=>Array([message]=>MySQLQueryError)[1]=>Array([sql]=>...
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_volume, g.comments_number, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `kjt`.`ipro_goods` AS g LEFT JOIN `kjt`.`ipro_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [2] => Array ( [error] => Unknown column 'g.sales_volume' in 'field list' ) [3] => Array ( [errno] => 1054 ) )
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询