From the course: Advanced SQL for Query Tuning and Performance Optimization
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Solution: Designing a join - SQL Tutorial
From the course: Advanced SQL for Query Tuning and Performance Optimization
Solution: Designing a join
“
(playful music) - [Instructor] In this case, a merge join will likely be used. Joining two large tables are not good candidates for nested loop joins, but a merge join produces results in sort order. So it makes it the most likely candidate to be used in terms of a join solution.
Contents
-
-
-
-
-
-
Types of joins2m 36s
-
(Locked)
Nested loops3m 19s
-
(Locked)
Nested loop example plan3m 59s
-
(Locked)
Hash joins1m 29s
-
(Locked)
Hash join example plan1m 54s
-
(Locked)
Merge joins2m 23s
-
(Locked)
Merge join example3m 2s
-
(Locked)
Subqueries vs. joins1m 13s
-
(Locked)
Challenge: Designing a join24s
-
(Locked)
Solution: Designing a join22s
-
-
-
-
-
-