CREATE TABLE takes (semester VARCHAR2, YEAR VARCHAR2)

Find the semester and year which has the least number of student taking any class.
SELECT semester, YEAR FROM takes GROUP BY semester, YEAR ORDER BY COUNT(*) LIMIT 1
SELECT "semester", "YEAR" FROM "takes" GROUP BY "semester", "YEAR" ORDER BY COUNT(*) FETCH FIRST 1 ROWS ONLY