MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT DISTINCT SUM(goods_number) AS num FROM `shijitao_data`.`ecs_order_info` AS o, `shijitao_data`.`ecs_order_goods` AS g WHERE o.order_id = g.order_id AND o.order_status = '1' AND o.shipping_status IN ('1','2') AND o.pay_status IN ('2','1') GROUP BY g.goods_id HAVING num > 1 ) [2] => Array ( [error] => Column 'goods_number' in field list is ambiguous ) [3] => Array ( [errno] => 1052 ) )