Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
alexmac
Starting Member
8 Posts |
Posted - 2001-11-21 : 09:47:01
|
Hi I need to return data from 4 different tables. 3 of the tables are related by the foreign key (clientID) to customerTbl. There will not always be related data in the other tables for each customer, I am thus using a left join. The statement I am using is below:SELECTcustomerTbl.title, customerTbl.firstname, customerTbl.surname, syndicatePurchaseTbl.syndicatedateProceedFROM customerTblLEFT JOIN syndicatePurchaseTbl ON customerTbl.clientID=syndicatePurchaseTbl.clientID LEFT JOIN housePurchaseTbl ON customerTbl.clientID=housePurchaseTbl.clientID When I use just one leftJoin it works fine but with more than that Access returns the error "missing operator".Any ideas?ThanksAlex |
|
|
|
|