消息MySQL Query Error
SQLSELECT IFNULL(o.num,0) AS salenum, g.goods_id, g.goods_name, g.click_count, g.goods_number, g.goods_name_style, g.market_price, g.is_new, g.is_best, g.is_hot, g.shop_price AS org_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, g.promote_price, g.goods_type, g.promote_start_date, g.promote_end_date, g.goods_brief, g.goods_thumb , g.goods_img FROM `shlgqdwjwcom`.`tww0ogj_goods` AS g LEFT JOIN `shlgqdwjwcom`.`tww0ogj_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' LEFT JOIN (SELECT SUM(og.`goods_number`) AS num,og.goods_id FROM ecs_order_goods AS og, ecs_order_info AS oi WHERE oi.pay_status = 2 AND oi.order_status >= 1 AND oi.order_id = og.order_id GROUP BY og.goods_id) AS o ON o.goods_id = g.goods_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('13','634','679','680','677','681','678','631','653','650','647','651','648','652','649','638','701','698','695','705','702','699','696','693','706','703','700','697','694','707','704','635','685','682','686','683','687','684','632','666','663','660','657','654','664','661','658','655','665','662','659','656','629','711','708','709','710','642','636','689','690','688','633','669','676','673','670','667','674','671','668','675','672','630','644','645','646','643','637','692','691') OR g.goods_id IN ('') ) ORDER BY salenum DESC LIMIT 36
错误Table 'shlgqdwjwcom.ecs_order_goods' doesn't exist
代码1146