Answers for "select count group by"

SQL
2

sql count group by

SELECT gender, COUNT(*) FROM people GROUP BY gender;
Posted by: Guest on April-21-2021
0

sql count distinct group by

SELECT COUNT(DISTINCT program_name) AS Count,
  program_type AS [Type] 
FROM cm_production 
WHERE push_number=@push_number 
GROUP BY program_type
Posted by: Guest on May-28-2020
1

sql groub by count

SELECT COUNT(Id), Country 
  FROM Customer
 GROUP BY Country
Posted by: Guest on June-01-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language