Doug, you have helped me tremendously! When the part about NOT EXISTS was explained, this in itself shed light onto the exact problem I needed to mitigate. Thank you 🙂
much thanks for your video! great explanation on this topic!
Very nicely explained 👍TY
Finally, someone answered the nagging question in my head, "Why not just use a join?" Thanks Doug!
in the first example (select 17) the exists is acting like a Boolean since the subquery is true so it brings everything in the outer query but in the 2nd example (the correlated query) exists is acting like "in" . how is that?
i don't understand. in the first example we get ALL CategoryNames from Categories if there is at least one row in subquery ? or only CategoryNames that have products?
Thank you very much for such great content.
Fantastic video and exactly what I needed!
Thank you for the explanation. Very helpful.
Very clear and to the point. Thanks a lot.
Great explanation, thank you
Very good explanation. Tank you so much!
this was awesome
Very good explanation! Thanks!
Thanks a lot. What does the query return if WHERE EXISTS returns false?
can we use where exists. or where not exists with insert query ?
Thx for the explanation. Do you mean exist will dedup and same with IN statement it will dedup too?
in subquey, can I select * or any random columns ? does it have to follow any patterns of select in subquery?
It cleared my doubts. Very very helpful.
@adrianpatino5166