Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JOIN vs IN
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
JOIN vs IN
Miscellaneous
Thread ID:
00485595
Message ID:
00485595
Views:
47
What is the difference between usign joins vs IN.
Joins example:
SELECT Table1.* FROM Table1 INNER JOIN Table2 ON Table1.field1 = Table2.field2
IN example:
SELECT Table1.* FROM Table1 
WHERE field1 IN (SELECT field2 FROM Table2)
Result will be the same.
Which query will be quicker?
Giedrius
Next
Reply
Map
View

Click here to load this message in the networking platform