Correlated Subqueries vs Derived Tables

Опубликовано: 17 Октябрь 2024
на канале: Bert Wagner
12,544
346

One option for improving query performance is to rewrite the query in order to obtain a completely different execution plan. In this episode we look at how it's possible to rewrite queries with correlated subqueries into derived table syntax and examine what causes the difference in performance.

Subscribe and turn on notifications to never miss a weekly video: https://www.youtube.com/c/DataWithBer...

Related blog post with example code:
https://bertwagner.com/2019/04/23/cor...

Follow me on Twitter:
  / bertwagner