Question: How many appointments are there?
Schema: create table appointment (id varchar, PRIMARY KEY (id))
SQL: select count(*) from appointment