Task: Text to Code
Input (English): Step 1: For each row in ACCOUNTS table, find the corresponding rows in CHECKING table.
Step 2: find name of the results of step 1 whose balance greater than 10000
Output (English): SELECT T1.name FROM ACCOUNTS AS T1 JOIN CHECKING AS T2 ON T1.custid = T2.custid WHERE T2.balance > 10000