Activity 01
Pair Query Construction: Student-Results Join
Pairs receive schemas for STUDENT and RESULTS tables. They write an INNER JOIN query to fetch names, roll numbers, and marks. Partners test the query on a shared database file and refine based on output.
Explain the concept of joining tables in a relational database.
Facilitation TipFor the Individual Challenge, give students a partially written query so scaffolding starts from a familiar place rather than a blank screen.
What to look forProvide students with two simple tables: 'Employees' (EmployeeID, Name) and 'Departments' (DeptID, DeptName, EmployeeID). Ask them to write an INNER JOIN query to list employee names and their department names, assuming only employees assigned to a department are listed. Collect and check for correct syntax and logic.