Here is another popular lab from Hands-On-Lab library: SQL Server Set Operators.
Transact-SQL set operators allows us to combine the results from two or more queries into a single result set. The number of columns and the data type for the order of columns must be same for all queries. This lab is divided into six exercises explaining various set operators such as UNION, UNION ALL, INTERSECT and EXCEPT operators.
Exercise 1: UNION Operator
Exercise 2: UNION ALL Operator
Exercise 3: INTERSECT Operator
Exercise 4: EXCEPT operator
Exercise 5: Self-Assessment
Exercise 6: T-SQL Challenge
SQLMaestros Hands-On-Labs enables the practical way of learning. Each lab document consists of multiple exercises and each exercise consists of multiple tasks. Apart from step-by-step instructions, the HOL document contains images, explanations, observations, notes, tips & tricks to ensure a great learning experience. With each lab, you can practice a specific concept step-by-step. With our HOL documents, you will get hands-on with hundreds of topics in SQL Server & Microsoft Data Platform. Learn More.