Chapter 3 · Sorting & Limiting
10. Savings Accounts with Balance Over 10000
Easy10 XPFinance
The branch manager wants a list of all savings accounts with a balance exceeding $10,000. Return the account id, customer_id, balance, and opened_at. Sort by balance descending.
Tables
- PKidINT
- FKcustomer_id→ customers.idINT
- account_typeTEXT
- balanceREAL
- currencyTEXT
- opened_atTEXT
- statusTEXT
Need help?
Ask Sol
AI tutor — looks at your current query and nudges you, without spoiling the answer.
Solution
Try the hints first — solving it yourself is what makes it stick.