Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i join three tables into a single table
Message
De
25/05/1998 04:34:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/05/1998 04:17:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00101628
Message ID:
00101631
Vues:
18
>I have three tables Invoice, Invoice-detail, Customer, how can i use the SELECT command to join this tables.
>The command key of Invoice and Invoice-detail is Inv-No.
>The command key of Invoice and Customer is Cust-No.
>
>I waiting for any suggestions ?
>
>Thanks
>
>Dennis
select * from customer ;
   inner join invoice ;
   inner join invoice-detail ;
     on invoice.inv_no = invoice-detail.inv_no ;
     on customer.cust_no = invoice.cust_no
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
Répondre
Fil
Voir

Click here to load this message in the networking platform