Challenge: Reconcile Account Balances
Oppgave
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Fantastisk!
Completion rate forbedret til 4.55
Challenge: Reconcile Account Balances
Sveip for å vise menyen
Oppgave
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 4
single