Practice · Economy · Medium
From the "GDP (current US$)" series, return the single year with the highest GDP, and that value.
Runs in your browser. No signup needed.
Use indicators (name = 'GDP (current US$)'). ORDER BY value and LIMIT 1.
SELECT year, value
FROM indicators
WHERE name = 'GDP (current US$)'
ORDER BY value DESC
LIMIT 1;
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.
Nominal-USD GDP peaked in 2022 then fell — but that drop is mostly the pound losing value against the dollar, not the real economy shrinking. (World Bank)