Activity 01
Query Challenge: School Database Exploration
Groups receive access to a sample school database (students, teachers, classes, enrollments) and a set of increasingly complex question prompts. Groups write SQL to answer each prompt, compare results across groups, and debug discrepancies together, building both syntax accuracy and query reasoning skills.
Construct SQL queries to perform basic data manipulation (SELECT, INSERT, UPDATE, DELETE).
Facilitation TipDuring Query Challenge, circulate and ask pairs to explain how their WHERE clause filters data before they run the query.
What to look forProvide students with a simple table schema (e.g., students and courses). Ask them to write an SQL query to: 1. Select all students from a specific grade. 2. Insert a new student record. 3. Update a student's course enrollment. 4. Delete a student record. Review their queries for correct syntax and logic.