Practice · Economy · Easy
Return the year and rate_pct for every year where annual inflation was above 20%, oldest first.
Runs in your browser. No signup needed.
inflation(year, rate_pct). Filter WHERE rate_pct > 20, then ORDER BY year.
SELECT year, rate_pct
FROM inflation
WHERE rate_pct > ...
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 saw inflation spike after the 2016 pound float and again in 2023–24 — annual rates topped 30%. (World Bank / CBE, annual averages)