10
我有一個像下面SQL COUNTIF函數
Type of Station | Broadcast Management
----------------+-------------------------
Full Power | Sinclair Broadcast Group
Full Power | Sinclair Broadcast Group
LPTV cable | Sinclair Broadcast Group
LPTV no cable | Sinclair Broadcast Group
現在我想執行一個查詢,會帶來結果的表看起來像下面
Broadcast Management | Full Power | LPTV cable | LPTV no cable
---------------------------+------------+------------+--------------
Sinclair Broadcast Group | 2 | 1 | 1
誰能請幫助我如何寫這個查詢
優秀。謝謝@MatBailie –