-- Database schema
| ACCOUNTS : custid [ INT ] primary_key , name [ TEXT ] | SAVINGS : custid [ INT ] primary_key SAVINGS.custid = ACCOUNTS.custid , balance [ INT ] | CHECKING : custid [ INT ] primary_key CHECKING.custid = ACCOUNTS.custid , balance [ INT ] |
-- -- Find the name and savings balance of the top 3 accounts with the highest saving balance sorted by savings balance in descending order.

SELECT T1.name ,  T2.balance FROM accounts AS T1 JOIN savings AS T2 ON T1.custid  =  T2.custid ORDER BY T2.balance DESC LIMIT 3;