Question: List major and number of students for majors with 2 to 30 number of students
SQL: SELECT Major ,  count ( * )  FROM Student GROUP BY Major HAVING count ( Major )  BETWEEN 2 AND 30