Skip to main content
All Problems
medium0% acceptance

Accounts with Above-Average Balance

The premium services team wants to identify accounts whose balance exceeds the overall average balance. Return the id, account_type, and balance of these accounts, sorted by balance descending.

Schema

🔑idINT
🔗customer_idINT
account_typeTEXT
balanceREAL
currencyTEXT
opened_atTEXT
statusTEXT
postgresql

Run your query to see results

Press Ctrl + Enter to execute