Lab 03
Lab 03
Overview
In this lab, you will use joins to combine data from multiple tables in the AdventureWorksLT database.
Before starting this lab, you should view Module 3 – Querying Multiple Tables with Joins in the course
Querying with Transact-SQL. Then, if you have not already done so, follow the instructions in the Getting
Started document for this course to set up the lab environment.
If you find some of the challenges difficult, don’t worry – you can find suggested solutions for all of the
challenges in the Lab Solution folder for this module.
Tip: Review the documentation for the FROM clause in the Transact-SQL Reference.
Tip: Note that each customer can have multiple addressees in the SalesLT.Address table, so the
database developer has created the SalesLT.CustomerAddress table to enable a many-to-many
relationship between customers and addresses. Your query will need to include both of these tables,
and should filter the join to SalesLT.CustomerAddress so that only Main Office addresses are included.
Next Steps
Well done! You’ve completed the lab, and you’re ready to move onto Module 4 – Using SET Operators
in the course Querying with Transact-SQL.