Skip to main content
All Problems
easy0% acceptance

Closed Accounts with Remaining Balance

The operations team needs to identify closed accounts that still have a positive balance, which may indicate an error. Return the account id, customer_id, account_type, balance, and status. Sort 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