The finance department is preparing an overview of client account balances. For each client, calculate the sum of the balances across all their accounts and return the client's name and total_balance. Ignore account currencies and add the balances as they are, without converting them. Include clients who have no accounts, with a balance of 0. Sort the result by total_balance in descending order.
Row order matters
Expected output columns:nametotal_balance
Showing the first 3 rows of the sample — the full sample comes with Premium