Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with a query
Message
From
21/12/2006 02:30:50
 
 
To
21/12/2006 02:12:14
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01179447
Message ID:
01179453
Views:
6
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform