1. 程式人生 > >17.07.29 分組函數 多表連接 子查詢

17.07.29 分組函數 多表連接 子查詢

group 數值 where from 表連接 進行 bsp 過程 having

分組函數:

  將得到的原始數據進行進一步的處理  

  count 對非空的數值做統計

  只有 count(*) 不去除空值

處理過程:

  select             From

  from              where

  group by

  sum

  having

  

  

  

17.07.29 分組函數 多表連接 子查詢