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!

sql question 1

Status
Not open for further replies.

FOXPROG

Programmer
Jan 14, 2001
51
US
I have two tables in an access database I need to select records in table1 based on information in table2. Table1 has a common field in table2. I want to get all the records in table1 that match table2.id2 when table1.id = table2.id
See example below.

table1
id first last

talbe2
id id2
 
Select table1.*
from table1 inner join table2 on table1.id = table2.id2

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top