Replies: 1 comment
-
you should pretty much always avoid UNION ALL when you can since it's really expensive. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as performance is concerned, is there any reason why you should use a CTE/join over a subquery that UNION ALL's the two tables? (aside from the fact that calculating the difference is easier)
Beta Was this translation helpful? Give feedback.
All reactions