註:count(*)不需要特定的參數. comp是存公司名的欄位名. 如果你將結果顯示成公司名筆數, 就會用到group by, 如下: select comp, count(*) from 表名 group by comp ...
www.programmer-club.com.tw