消息MySQL Query Error
SQLSELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `b58by6x815_68hg`.`ecs_brand`AS b, `b58by6x815_68hg`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND g.cat_id IN ('7','271','281','278','279','276','280','277','272','287','284','297','288','285','282','286','283','273','294','291','295','292','289','296','293','290','274','303','300','304','301','298','305','302','299') AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id HAVING goods_num > 0 ORDER BY tag DESC, b.sort_order ASC LIMIT 3
错误Duplicate entry '90' for key 'group_key'
代码1062