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

Using subqueries in a JOIN in Access

Status
Not open for further replies.

bnewill

Programmer
May 30, 2011
1
US
Having trouble getting the correct syntax for using subqueries in a JOIN in Microsoft Access.

In MS SQL 2008 I would do the following:

Select A.FIELD_1, B.FIELD_2
FROM table1 as A
LEFT JOIN (select FIELD_2 FROM table2) AS B ON A.FIELD_1=B.FIELD_2

Does MS Access allow subqueries in the joins?
 
The obvious questions are what version of Access are you using and what error message or what is it doing instead?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top