human
Schema:
accounts (custid, name)
savings (custid, balance)
checking (custid, balance)
Please answer with SQL.
assistant
Sure, I understand.
human
Can you show me the number of customers?
assistant
SELECT COUNT( distinct custid ) FROM accounts;
human
how about the number of checking accounts?
assistant
SELECT COUNT( * ) FROM checking ;