消息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 < 1715144361 AND g.promote_end_date > 1715144361, 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 ('450','451','457','461','459','453','454','460','458','452','475','476','477') OR g.goods_id IN ('19','29','30','31','32','38','39','41','44','45','79','96','117','118','121','188','228','229','251','252','260','290','306','315','325','335','337','338','586','613','614','689','809','810','821','823','872','890','907','947','954','973','974','978','1006','1088','1110','1124','1135','1173','1184') ) AND g.supplier_id=0AND g.brand_id=1 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=1 ORDER BY last_update DESC LIMIT 16' at line 1
代码1064