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
您可能感興趣的試卷
你可能感興趣的試題
A.唯一性約束
B.檢查約束
C.主鍵約束
D.默認(rèn)約束
A.Image數(shù)據(jù)類型可以用來(lái)存儲(chǔ)圖像。
B.使用字符數(shù)據(jù)類型時(shí),可以改變長(zhǎng)度信息。
C.使用數(shù)字?jǐn)?shù)據(jù)類型時(shí),可以改變長(zhǎng)度信息。
D.Bit數(shù)據(jù)類型為1位長(zhǎng)度,可以存儲(chǔ)表示是/否的數(shù)據(jù)。

最新試題
在MySQL中如果權(quán)限授予不合理,可以通過(guò)EVOKE ALL PRIVILEGES ON *.*FROM’username’@’localhost’來(lái)收回對(duì)所有數(shù)據(jù)庫(kù)的所有權(quán)限。
想要實(shí)現(xiàn)級(jí)聯(lián)刪除必須在數(shù)據(jù)外鍵上設(shè)置“級(jí)聯(lián)”的更新或刪除。
在以下選項(xiàng)中哪些屬于視圖的特點(diǎn)()
MySQL變量可分為兩大類,即()
在SQL中,刪除操作有drop、truncate、delete,其中風(fēng)險(xiǎn)等級(jí)最高的是delete。