Practice · Demographics · Easy
Return the year and population for every year from 2000 onward, oldest year first.
Runs in your browser. No signup needed.
population_years(year, population). Use WHERE year >= 2000 and ORDER BY year.
SELECT year, population
FROM population_years
WHERE year >= ...
ORDER BY year;
The reference solution is checked automatically when you run your query on the practice page — results are compared row by row, and order matters for this one.
Egypt roughly doubled from ~58 million in 1990 to ~116 million by 2024 — one of the fastest large-population growths on Earth. (World Bank)