首页 新闻 会员 周边
2
回答数

回答被采纳 50 oracle关联查询问题

select a.ORDERSOURCE,a.SHOPCODE,count(distinct a.ORDERCODE),sum(b.AMT) from ORDER a join ORDERPAYMEN