Question: How many degrees does the engineering department offer?
Schema: create table degree_programs (department_id varchar, PRIMARY KEY (department_id)); create table departments (department_id varchar, department_name varchar, PRIMARY KEY (department_id))
SQL: select count(*) from departments as t1 join degree_programs as t2 on t1.department_id = t2.department_id where t1.department_name = 'engineer'