Challenge: Reconcile Account Balances
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 4
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Mahtavaa!
Completion arvosana parantunut arvoon 4.55
Challenge: Reconcile Account Balances
Pyyhkäise näyttääksesi valikon
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 4
single