SQL Quest › SQL Interview Questions › Querying Basics
Top 10 Banks by Assets
The FDIC tracks every active US commercial bank in their institutions table. Show the name, city, state, and total_assets of the top 10 largest banks by total assets. Order by total_assets descending. This is the kind of opening question a junior analyst gets on day one at a regulator or bank consultancy — show me the league table.
Solve it in the browser editor →
Runs on SQLite in your browser, graded against the expected result, no signup. A wrong answer gets a diagnosis, not just "incorrect".
Schema
institutions
| cert | name | city | state | zip | charter_class | established_date | total_assets | total_deposits | total_equity | office_count | bank_class |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 628 | JPMorgan Chase Bank, National Association | Columbus | OH | 43240 | 8 | 01/01/1824 | 3752662000 | 2697842000 | 335936000 | 5335 | N |
| 3510 | Bank of America, National Association | Charlotte | NC | 28202 | 13044 | 10/17/1904 | 2636823000 | 2101968000 | 246250000 | 3840 | N |
| 7213 | Citibank, National Association | Sioux Falls | SD | 57108 | 1461 | 06/16/1812 | 1836436000 | 1465300000 | 176530000 | 958 | N |
Expected output: JPMorgan, Bank of America, Citibank... top 10 ordered by assets
Hint
SELECT, ORDER BY, LIMIT, and open the hint there if you stall.Concepts
SELECT ORDER BY LIMIT
Practise the topic: SQL practice questions
In these company practice sets
A SQL Quest challenge matched to patterns reported for these companies — not a question any of them has published.
Related questions
Where would this cost you points in an interview?
Ten questions, no signup: a Skillmap across nine SQL skills and the one to fix first.
Take the readiness test