CREATE TABLE savings (balance VARCHAR(255), custid VARCHAR(255)); CREATE TABLE checking (custid VARCHAR(255), balance VARCHAR(255)); CREATE TABLE accounts (custid VARCHAR(255))
Find the saving balance of the account with the highest checking balance.
    
SQL: SELECT T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance DESC LIMIT 1