Activity 01
Pairs: Query Relay Challenge
Partners alternate adding one clause (SELECT, FROM, JOIN, WHERE, GROUP BY) to a base query on shared devices. The other partner tests it immediately and suggests fixes. Groups present their complete query and results to the class.
Construct an SQL query to retrieve data from multiple tables.
Facilitation TipDuring the Query Relay Challenge, hand students partial queries on cards so they must complete and pass the next step, forcing peer explanation of each clause.
What to look forPresent students with a simplified database schema (e.g., Students, Courses, Enrollments). Ask them to write an SQL query using an INNER JOIN to list all students enrolled in a specific course, and another query using a LEFT JOIN to list all students and the courses they are enrolled in (including those not enrolled in any).