Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting records
Message
De
12/07/2005 06:44:55
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01031567
Message ID:
01031573
Vues:
15
There are probably many ways but try:

Select * from parent where parent_id not in (select parent _id from child)

Does this do what you want?

>Hi to all
>I have 2 tables in a relation on one field. I would now want to select records in the parent table where there are no corresponding records in the child table.
>
>Any easy way to do this?
>
>Thanks in advance.
>
>Willie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform