Using the count function in SQL when when each row of the primary key are categorized? -
i'm using table have employee names , corresponding countries of origin. i'm new sql i'm trying figure out how list country , number of employees first name starts a.
i have far, i'm getting count employees think:
select country, count(employee_names) table1 employee 'a%'
how can counts employee names pooled?
try this
select country, count(employee_names) table1 employee 'a%' group country
Comments
Post a Comment