消息MySQL Query Error
SQLSELECT g.goods_id, g.goods_name, g.goods_name_style, g.click_count, g.goods_number, 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, IF(g.promote_price != '' AND g.promote_start_date < 1715248676 AND g.promote_end_date > 1715248676, g.promote_price, shop_price) AS shop_p, g.goods_type, g.promote_start_date, g.promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img FROM `tea0768`.`ecs_goods` AS g LEFT JOIN `tea0768`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('492','493','494','495') OR g.goods_id IN ('25','56','103','110','123','124','125','126','128','143','144','148','149','175','176','182','184','185','222','267','316','329','555','619','663','664','685','690','691','692','704','759','803','957','966','1067','1068','1120','1121','1122','1123','1136') ) AND g.supplier_id=0AND g.brand_id=2 ORDER BY last_update DESC LIMIT 16
错误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 'g.brand_id=2 ORDER BY last_update DESC LIMIT 16' at line 1
代码1064