消息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 `bangongTctvvroot`.`ecs_brand`AS b, `bangongTctvvroot`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND g.cat_id IN ('145','199','201','449','323','320','439','321','318','200','425','448','322','319','393','394','395','437','283','375','368','369','367','166','313','317','170','314','168','172','315','197','312','167','316','198','398','431','426','423','399','420','405','427','424','416','440','415','454','417','422','419','438','402','455','403','456','457','396','436','397','441','404','412','406','407','433','453','434','274','281','278','275','282','279','408','429','409','276','280','277','284','173','180','177','174','288','285','181','178','175','289','286','190','179','176','287','191','297','195','310','294','307','443','444','291','304','192','301','298','196','311','193','295','308','292','305','302','299','296','194','309','293','306','290','303','300') 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