消息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 `shop`.`ecs_brand`AS b, `shop`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND g.cat_id IN ('6','370','310','348','345','342','349','346','343','347','344','307','322','326','323','320','327','324','321','391','325','311','354','351','355','352','353','350','308','332','329','333','330','331','328','375','384','376','377','306','499','319','316','313','500','317','314','501','498','318','315','312','502','309','393','338','335','339','336','340','337','334','341') 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
错误Got error 28 from storage engine
代码1030