📜  sql count distinct group by - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:00.410000             🧑  作者: Mango

代码示例2
SELECT COUNT(DISTINCT program_name) AS Count,
  program_type AS [Type] 
FROM cm_production 
WHERE push_number=@push_number 
GROUP BY program_type