Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Join

Status
Not open for further replies.

EscapeUK

Programmer
Jul 7, 2000
438
GB
I would like to create a view which joins table1, table2, table3 to a maintable



 
CREATE VIEW vView
AS
SELECT {desired fields here}
FROM maintable TMAIN
inner join
table1 T1 on TMAIN.Field = T1.Field
inner join
table2 T2 on TMAIN.Field = T2.Field
inner join
table3 T3 on TMAIN.Field = T3.Field

JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top