Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i join three tables into a single table
Message
From
25/05/1998 04:34:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/05/1998 04:17:12
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00101628
Message ID:
00101631
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform