Which semeseter and year had the fewest students?
SELECT semester ,  YEAR FROM takes GROUP BY semester ,  YEAR ORDER BY count(*) LIMIT 1
fewest students refers to MIN(COUNT(*)); semester and year refers to GROUP BY semester, YEAR;