#183

Combined Client Balance

Finance is preparing a client overview. For each client, output the name and the total balance across all their accounts (total_balance). Sort by total balance descending.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

nametotal_balance
Foster M.M.610000.00
Peterson P.P.325000.00
Johnson I.I.195000.50
Sberbank

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid