Challenge: Reconcile Account Balances
Tâche
Swipe to start coding
Your goal is to find all accounts that are not balanced—where the total debits do not match the total credits.
- Calculate the total debits and total credits for each account using conditional aggregation.
- Show only those accounts where these two totals differ.
- Return the account name, the sum of debits, and the sum of credits for each unbalanced account.
- Use the
accountsandentriestables provided in the database.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 4.55
Challenge: Reconcile Account Balances
Glissez pour afficher le menu
Tâche
Swipe to start coding
Your goal is to find all accounts that are not balanced—where the total debits do not match the total credits.
- Calculate the total debits and total credits for each account using conditional aggregation.
- Show only those accounts where these two totals differ.
- Return the account name, the sum of debits, and the sum of credits for each unbalanced account.
- Use the
accountsandentriestables provided in the database.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
single