Question: Which major has between 2 and 30 number of students? List major and the number of students.
Schema: create table student (major varchar, PRIMARY KEY (major))
SQL: select major, count(*) from student group by major having count(major) between 2 and 30