Database: small_bank_1_minus_1_0
Question: Find the name, checking balance and savings balance of all accounts in the bank sorted by their total checking and savings balance in descending order.
SQL: select t1.balance , t2.balance , t1.name from accounts_checking as t1 join savings as t2 on t1.custid = t2.custid order by t1.balance + t2.balance desc