CREATE TABLE voting_record (stuid NUMBER, registration_date CLOB, election_cycle CLOB, president_vote NUMBER, vice_president_vote NUMBER, secretary_vote NUMBER, treasurer_vote NUMBER, class_president_vote NUMBER, class_senator_vote NUMBER)
CREATE TABLE student (stuid NUMBER, lname CLOB, fname CLOB, age NUMBER, sex CLOB, major NUMBER, advisor NUMBER, city_code CLOB)

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