Question: What are the descriptions and names of the courses that have student enrollment bigger than 2?
Schema: create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id)); create table courses (course_description varchar, course_name varchar, course_id varchar, PRIMARY KEY (course_description))
SQL: select t1.course_description, t1.course_name from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id group by t1.course_name having count(*) > 2