select sum(goods_number) from `tianlong`.`ecs_order_goods` AS g ,`tianlong`.`ecs_order_info` AS o WHERE o.pay_status = 2 AND o.order_status >= 1 and o.order_id=g.order_id and g.goods_id = 3499
错误
Table '.\tianlong\ecs_order_info' is marked as crashed and should be repaired