Practice · Economy · Easy
Return the single highest annual inflation rate on record, as a column named max_rate.
Runs in your browser. No signup needed.
inflation(year, rate_pct). Use MAX(rate_pct).
SELECT MAX(rate_pct) AS max_rate
FROM inflation;
The reference solution is checked automatically when you run your query on the practice page — results are compared row by row.
MIN and MAX are aggregates too — they collapse a whole column to one value. (SQLite docs)