MySQL基礎教程2-DQL(select查詢)

select查詢 1、group分組與統計函數 理解: 根據某一指定屬性對前面select以後的運算進行分組執行 例如: select age,avg(id) from user group by age; 解釋:分別求出各年齡(age)段的id平均值 本小節知識清單:php max() count() avg() min() sum() round() select max(age)
相關文章
相關標籤/搜索