Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Reconcile Account Balances | Ledger-Style Joins
SQL for Finance and Accounting

bookChallenge: Reconcile Account Balances

Opgave

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.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 4
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: Reconcile Account Balances

Stryg for at vise menuen

Opgave

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.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 4
single

single

some-alt