Question: How many lessons were in cancelled state?
Schema: create table lessons (lesson_status_code varchar, PRIMARY KEY (lesson_status_code))
SQL: select count(*) from lessons where lesson_status_code = "cancelled"