消息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 < 1713453638 AND g.promote_end_date > 1713453638, 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 ('358','366','440','441','442','444','443','445','446','455','447','448','449') OR g.goods_id IN ('153','154','167','171','197','198','199','200','203','208','210','212','219','230','240','241','242','256','284','287','288','291','296','302','314','319','331','332','333','336','340','343','669','677','678','751','752','753','754','822','888','935','942','967','968','969','970','971','972','995','996','1012','1075','1086','1087','1112','1113') ) AND g.supplier_id=0AND g.brand_id=3 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=3 ORDER BY last_update DESC LIMIT 16' at line 1
代码1064