What are the majors only less than three students are studying?
SELECT Major FROM STUDENT GROUP BY Major HAVING COUNT(*)  <  3
SELECT Major FROM STUDENT GROUP BY Major HAVING COUNT(*)  <  3
[{'Major': 50}, {'Major': 100}, {'Major': 540}]