Question: What are the name of courses that have at least five enrollments?
Schema: create table enrolled_in (cid varchar, PRIMARY KEY (cid)); create table course (cname varchar, cid varchar, PRIMARY KEY (cname))
SQL: select t1.cname from course as t1 join enrolled_in as t2 on t1.cid = t2.cid group by t2.cid having count(*) >= 5