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

I have four tables; ES, ED, RC and

Status
Not open for further replies.

gny

Programmer
Jun 3, 2001
116
SE
I have four tables; ES, ED, RC and CA.
I need to make the following joins in a query:

ED -- ES
ES -- RC
CA -> ES

I.e. I always want all records from CA returned.
I know i can make the inner joins first as a separate query,
but does anyone know if there is a way to construct this as a single query? I need this since i will run it from an ASP page.

I tried to make the inner joins in a separate query as below, which worked fine in Access, but when i tried to run that query from the ASP i got an error.

SELECT *
FROM CA_CheckAddress LEFT JOIN ED_ES_RC_Joined ON CA_CheckAddress.CA_ID = ED_ES_RC_Joined.ES_CA_ID;
 
Sorry about the non-descriptive subject line...i forgot to write one...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top