Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JOIN vs IN
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
JOIN vs IN
Divers
Thread ID:
00485595
Message ID:
00485595
Vues:
49
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform