Practice · Economy · Medium
From the "Inflation (annual %)" series, return the year and value for every year inflation was above 20%, highest first.
Runs in your browser. No signup needed.
Use indicators, filtering name = 'Inflation (annual %)'.
SELECT year, value
FROM indicators
WHERE name = 'Inflation (annual %)' AND value > 20
ORDER BY value DESC;
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.
The 2017 and 2023 inflation spikes both followed big devaluations of the pound (2016 float; 2022–24 crisis) — inflation in Egypt tracks the exchange rate closely. (World Bank / CBE)