human
Schema:
accounts (custid, name)
savings (custid, balance)
checking (custid, balance)
Please answer with SQL.
assistant
Sure, I understand.
human
List all the account owner names.
assistant
SELECT name FROM accounts;
human
Is there an owner with the name that has 'ee' in it?
assistant
SELECT name FROM accounts WHERE name LIKE '%ee%';
human
What is the savings balance for that owner?
assistant
SELECT T2.balance FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE "%ee%" ;