Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help with Select SQL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00096128
Message ID:
00096132
Vues:
21
Michelle,

Try this:

SELECT DISTINCT a.id FROM a ;
WHERE a.id IN (SELECT b.id FROM b) OR a.id IN (SELECT c.id FROM c)


>I'm just learning the wonders of the select command, so I apologize if this question is trivial.
>
>I have tables A, B, and C. I want to make a cursor of all the ID numbers in A that also appear in _either_ B or C. I think this can be done with select, but I'm not sure how.
>
>Thanks,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform