I have a database with details about many of the Worlds big companies (e.g. Turnover, Number of Employees etc.).
If I wished to count the number of companies in each country with over 10000 employees I would use
SELECT
country,
COUNT(*)
from TABLE1
where (employee_total > 10000)
GROUP BY country
;
Which is fine. However this doesn't display the countries which count zero (i.e. countries on the database with no companies larger than 10000 employees)
I've had a look around, but don't seem to be able to find a solution. Any ideas?
If I wished to count the number of companies in each country with over 10000 employees I would use
SELECT
country,
COUNT(*)
from TABLE1
where (employee_total > 10000)
GROUP BY country
;
Which is fine. However this doesn't display the countries which count zero (i.e. countries on the database with no companies larger than 10000 employees)
I've had a look around, but don't seem to be able to find a solution. Any ideas?