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

Source = "select Development.[Kinde

Status
Not open for further replies.

BigFizil

MIS
Mar 9, 2003
23
US
Source = "select Development.[KinderNumber],Development.[Date],Development.[Client],Development.[MFG],Development.[Fixture],Development.[Dimensions (HxWxD)],Development.[MFG Price],Development.[Item Number], dp.[Image], dp.[Revision_ Letter] FROM developmentpictures dp, Development WHERE dp.[KinderNum]= Development.[KinderNumber] AND dp.[Revision_ Letter] IN(select max([Revision_ Letter]) from developmentpictures where kindernum = dp.kindernum)


here is my SQL statement that works perfect....although when I add a LEFT or RIGHT JOIN it wont work?? Please help!!!
 
add?

you have a "table list" join in there right now, it might be better to rewrite that with JOIN syntax first

then when you add a third table, you have to parenthesize the joins

e.g.

from (
tableA join tableB
on tableA.id = tableB.A_id
)
join tableC
on tableB.id = tableC.B_id


rudy

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top