Skip to content

Instantly share code, notes, and snippets.

View AlistairBrownlee's full-sized avatar

Alistair Brownlee AlistairBrownlee

View GitHub Profile
SELECT COUNT(*)
FROM countries
WHERE continent = 'Africa';
SELECT COUNT(*)
FROM countries
WHERE continent = 'Africa';
SELECT id, continent
FROM countries
-- This is the first query:
SELECT DISTINCT year from population_years;
-- Add your additional queries below:
SELECT *
FROM population_years
WHERE country = 'Gabon'
ORDER BY population DESC