Skip to main content
All Problems
easy0% acceptance

Overdrawn Accounts

The risk team needs to identify all overdrawn accounts. Return the id, customer_id, account_type, and balance for every account where the balance is less than 0. Order by balance ascending (most overdrawn first).

Schema

🔑idINT
🔗customer_idINT
account_typeTEXT
balanceREAL
currencyTEXT
opened_atTEXT
statusTEXT
postgresql

Run your query to see results

Press Ctrl + Enter to execute