SQL(四)——聚集函數

order by 子句 select sname,sage from student where sdept='cs' or sdept='ds' order by sage desc order by 列名 排序方式 —— —— sage desc:降序,asc:升序 聚集函數 聚集函數只能用於 「select子句」 、 「group by 中的 having 子句」; 聚集函數不能用於 「wh
相關文章
相關標籤/搜索