human
Schema:
accounts (custid, name)
savings (custid, balance)
checking (custid, balance)
Please answer with SQL.
assistant
Sure, I understand.
human
Can you tell me the average checking balance of all checking accounts?
assistant
SELECT AVG ( balance ) FROM checking ;