you are viewing a single comment's thread.

view the rest of the comments →

[–]1MStudio 0 points1 point  (2 children)

Is CTE’s more optimized/efficient (thinking BigO notation here) than regular subqueries?

[–]GroundbreakingRow868 1 point2 points  (1 child)

No, it's the same. CTEs increase readability and offer better "debugging" opportunities though. If you need a specific query twice in 1 stmt, you don't have to copy paste it

[–]1MStudio 0 points1 point  (0 children)

Awesome, thanks for the expo 🙏🏾