- Think before you run it: how many rows does this return? CS-101 is taught in both semesters.
sql
SELECT course_id FROM teaches WHERE semester = 'Fall' AND year = 2025
UNION
SELECT course_id FROM teaches WHERE semester = 'Winter' AND year = 2026;- Run it: the courses taught in Fall 2025 or in Winter 2026, each once.
- The same two lists, with every row kept: 10 rows.
- Every person in the university:
name, then arolecolumn with the textstudentorinstructor. Sort by name.