Database: small_bank_1
Question: Find the name and total checking and savings balance of the accounts whose savings balance is lower than corresponding checking balance.
SQL:
SELECT T1.name ,  T3.balance + T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid  =  T2.custid JOIN savings AS T3 ON T1.custid  =  T3.custid WHERE T3.balance  <  T2.balance