Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select from table 1 where NOT IN Table 2
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00290304
Message ID:
00290320
Vues:
13
>Does Fox SQL Syntax allow for following?:
>
>SELECT table1.orderid FROM table1 WHERE table1.orderid NOT IN table2.orderid
>
>Thanks,

SELECT table1.orderid FROM table1 WHERE table1.orderid NOT IN (select table2.orderid from table2)

or, in VFP 6.0 this is I think an OUTTER JOIN would do this too.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform