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

How to use IN

Status
Not open for further replies.

enak

Programmer
Joined
Jul 2, 2002
Messages
412
Location
US
In Transact SQL I can have a statement like:

SELECT * from A where A.ID in (select distinct(ID) from B)

How do I do this in Access?

Thanks,
enak
 
SELECT * from A where A.ID in (select distinct ID from B)
or
SELECT * from A where A.ID in (select ID from B)


Duane
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top