Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting multiple realtions between SQL tables
Message
De
26/08/1999 11:38:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/08/1999 11:09:44
Jeff Lovin
Dewitt & Company Inc
Houston, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00257938
Message ID:
00257974
Vues:
15
>Good Morning
>
>I am in need of setting relations between several (3 or 4) SQL tables to perform an accurate query. Is this done with the JOIN command? Any help that you could give or pass to me would be greatly appreciated. Thank you

Yes. Inner, Left, Right and Full join. Check testdata.dbc for an example joining 4 tables. But unlike the example there try to use syntax like :
... from tab1 ;
    join tab2 ;
       on tab1.field = tab2.field ;
    join tab3 ;
       on tab3.field = tab2.field2 ;
...
This way it's easier to set them correctly.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform