Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select twice from the same table
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL Select twice from the same table
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01145147
Message ID:
01145147
Vues:
56
Hi,
I have 2 tables : one children are the names of children
the other parents which can be father, mother
The relationship is on ChidlID

I need to create only one table which would have : children.name, parents.mothername, parents.fathername.

What would be the SQL SELECT statement that would do the job to get both parents from the same table?

Thanks in advance.
Raymond Larche
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform