Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT data from multiple tables into one CURSOR
Message
De
04/11/2002 05:33:26
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00718362
Message ID:
00718396
Vues:
14
Hi Elgin!

After of one Join you can do other Join, sample:
I have three table.
TableA -> Fields: CodA, NameA.
TableB -> Fields: CodA, CodB, NameB.
TableC -> Fields: CodB, CodC, NameC.
My Select:
Select A.CodA, A.NameA, B.CodB, B.NameB, C.CodC, C.NameC ;
   From TableA As A Inner Join TableB As B On A.CodA = B.CodA Left Join ;
        TableC On B.CodB = C.CodB ;
   Order By A.NameA, B.NameB, C.NameC
Good Luck!
Bye!
Erick
Força Sempre!
Strength Always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform