Joins
Joins are operations that allow you to match rows between tables. I informally referred to these operations as horizontal ones because the virtual table resulting from a join operation between two tables contains all columns from both tables.
I’ll first describe the different syntaxes for joins supported by the standard, and I’ll also mention the proprietary elements in T-SQL. I’ll then describe the fundamental join types and their applications followed by other categorizations of joins. I’ll also have a focused discussion on the internal processing of joins—namely, join algorithms.
You’ll have a couple of chances to practice what you’ve learned by trying to solve a problem that encompasses previously discussed aspects of joins.
Old Style vs. ...
Get Inside Microsoft® SQL Server™ 2005: T-SQL Querying now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.