Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting from multiple tables...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00226145
Message ID:
00226153
Vues:
25
Hi Jason,

>How would I go about selecting multiple fields from different tables where the conditional expression tests fields from different tables?

SELECT TableA.Field1, TableA.Field2, TableB.Field1, TableB.Field2 ;
FROM TableA INNER JOIN TableB ;
ON TableA.KeyField = TableB.ForeignKeyField

HTH,
Bill Armbrecht
VFP MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform