Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with a query
Message
De
21/12/2006 12:12:52
 
 
À
21/12/2006 02:59:28
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:
01179603
Vues:
12
>The problem is that i have two IDs in the table SEMENSALES pointing to the same id on table CV, let me explain you with this example:

In such circumstances, it is not a problem. You only have to add another INNER JOIN with the AS clause. Here is an example:
SELECT Parent.Name,Parent2.Name FROM Child;
 INNER JOIN Parent ON Child.NoParent=Parent.PrimaryKey;
 INNER JOIN Parent AS Parent2 ON Child.NoParent2=Parent2.PrimaryKey;
 WHERE ...
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
Répondre
Fil
Voir

Click here to load this message in the networking platform