Activity 01
Pair Query Challenge: RIGHT JOIN Practice
Provide two sample tables: Employees and Departments. Pairs write RIGHT JOIN queries to list all departments with employee matches. They test on a shared SQLite database, note NULLs, and swap queries for peer review.
Differentiate between LEFT JOIN, RIGHT JOIN, and FULL OUTER JOIN.
Facilitation TipDuring Pair Query Challenge, circulate and ask each pair to explain why a NULL appears in a particular row, ensuring all students connect syntax to output.
What to look forPresent students with two small tables: 'Employees' (ID, Name) and 'Projects' (ProjectID, EmployeeID, ProjectName). Ask them to write a RIGHT OUTER JOIN query to show all projects and the employees assigned, if any. Then, ask them to predict where NULLs will appear.