So far, we have mentioned query execution plans, and have even shown some simple examples to illustrate some points in Chapter 3, Mechanics of the Query Optimizer. However, it is important for any database professional to understand how to read and analyze a query execution plan as a way to visually identify positive changes in a plan shape. The remaining chapters in this book will show query execution plans in more detail for different scenarios of T-SQL patterns and anti-patterns.
Query plans are like trees, where each join branch can represent an entirely separate query.
To understand how to navigate a showplan or query plan, let's use a practical example of a query executed in the AdventureWorks sample database:
SELECT p.Title +' '+ p.FirstName +' '+ p.LastName AS FullName,
c.AccountNumber, s.Name AS StoreName
FROM Person...