Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with a query
Message
De
21/12/2006 02:30:50
 
 
À
21/12/2006 02:12:14
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 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01179447
Message ID:
01179453
Vues:
7
>i have two tables CV(curriculim vitae of the animal) and SEMENSALES(sales of semen, contain information of which horse provide an insemination to a mare), in SEMENSALES i have two main fields IDMare and identification for the query and on CV i have identification, so, basically i need to do a query that tells me the name of the mare and the name of the horse that provides the semen for insemination, how can i do this?

In a general way, from a child table, you can get the parent fields by doing a INNER JOIN such as:
SELECT Parent.Name FROM Child;
 INNER JOIN Parent ON Child.NoParent=Parent.Numero;
 WHERE Child.Condition...
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform