Chapter 4 · Aggregations
15. Total Number of Accounts
Easy10 XPFinance
Management wants a quick KPI check. Write a query that returns the total number of accounts in the system.
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.