消息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 < 1711599981 AND g.promote_end_date > 1711599981, 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 ('375','514') OR g.goods_id IN ('33','36','120','1114') ) 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