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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NEED FROM CLAUSE WITH NESTED INNER JOIN

Status
Not open for further replies.

TNN

Programmer
Sep 13, 2000
417
US
Can anyone write me a FROM clause with a nested INNER JOIN that joins 3 tables with common fields??
I have looked at the syntax but have been unable to write it properly to make it work.

Thank You
TNN, Tom
TNPAYROLL@AOL.COM

TOM
 
Not sure if this is what you mean but this is what the SQL looks like with 3 tables joined and a where condition thrown in.

Select table1.field,table2.field,table3.field
From table1 Inner join [table2 innerjoin table3 on table2.indexfield = table3.indexfield] on table1.indexfield = table3.indexfield
where table1.field = "your criteria"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top