- IN will ignore null values where as EXISTS will considers null values as the result.
- JOIN also, will consider null values.
- IN does not consider duplicate values where as JOIN consider duplicates. (To avoid duplicate values, use DISTINCT)
- EXISTS also does not consider duplicate values.
No comments:
Post a Comment