mysql常用操作彙總(五)

數據結構: 1.彙總函數: avg(), count(), max(), min(), sum() select avg(price), count(price), max(price), min(price), sum(price) from shopping; 2.數據分組: mysql提供了數據分組的方法,group by對列數據進行分組統計 select price,count(price
相關文章
相關標籤/搜索