mysql多表join联查语句错误:#1241 – Operand should contain 1 column(s)
对ecshop系统做一些改造,需要一个三表join的查询,但写出语句却报错了
#1241 – Operand should contain 1 column(s)
语句如下:
SELECT a . * , IFNULL( g.goods_thumb, ” ) AS goods_thumb, g.goods_name AS goods_name_from_goods, g.brand_id, b.brand_name
FROM `eb`.`ec_goods_activity` AS a
LEFT JOIN (`eb`.`ec_goods` AS g , `eb`.`ec_[……]