99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項選擇題

假設(shè)訂單表orders用來存儲訂單信息,cid代表客戶編號,money代表單次訂購額,現(xiàn)要查詢每個客戶的訂購次數(shù)和每個客戶的訂購總金額,下面()sql語句可以返回正確結(jié)果。

A.select cid,count(distinct(cid)),sum(money) from orders group by cid
B.select cid,count(distinct(cid)),sum(money) from orders order by cid
C.select cid,count(cid),sum(money) from orders order by cid
D.select cid,count(cid),sum(money) from orders group by cid

微信掃碼免費搜題