Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Reconcile Account Balances | Ledger-Style Joins
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Finance and Accounting

bookChallenge: 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 accounts and entries tables provided in the database.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: 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 accounts and entries tables provided in the database.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4
single

single

some-alt