Practice · Economy · Medium

GDP, year by year

From the indicators table, return the year and value of the "GDP (current US$)" series, earliest year first.

Runs in your browser. No signup needed.

What you are given

indicators(category, name, year, value, unit). Filter name = 'GDP (current US$)'.

Starting point

SELECT year, value
FROM indicators
WHERE name = ...
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.

Did you know

The 2023–24 dip in nominal-USD GDP is mostly the pound’s devaluation, not real contraction — real GDP kept growing. (World Bank NY.GDP.MKTP.CD)

More Economy challenges

Open it in the playground →