Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One of the other two INNER JOIN
Message
De
23/04/2015 15:11:27
 
 
À
23/04/2015 15:04:14
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01619007
Message ID:
01619039
Vues:
25
>Are you sure? I know that such queries can surprise me, but I cannot see what can go wrong here.
>If you look at the output do you see repeats of the invoice table or inventory table?

The base EXISTS syntax gives 537 records. The EXISTS syntax you suggested gives 697 records.

>I wonder whether the problem is in the description of what you are expecting.

After verification, another condition was required in one of the two LEFT JOIN. So, yes, your syntax works.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform