Activity 01
Pair Query Relay: Aggregate Scenarios
Provide a dataset of student scores. Pairs alternate writing and running queries to answer prompts like 'Find AVG score per subject' or 'COUNT students above 80'. Switch roles after each query, then share correct results with the class.
Explain how aggregate functions summarize data in meaningful ways.
Facilitation TipDuring Pair Query Relay, have students alternate writing queries and explaining their next step before running it, building verbal reasoning skills.
What to look forProvide students with a small table of sample sales data (e.g., ProductID, Quantity, Price). Ask them to write SQL queries to: 1. Count the total number of sales transactions. 2. Calculate the average price of items sold. 3. Find the maximum quantity sold in a single transaction.