Avatar of mrosier
mrosier
Flag for United States of America

asked on 

writing SQL in Access 2010

hello!
I have two tables in Access 2010 let's say table1 and table2. Both tables have field 1, field 2, and field 3 that are common fields. I want to query all the records in table 1 where field 1, field 2, and field 3 exist in table2. So basically something like

Select * from table1 where table1.field1 = table2.field2 and table1.field2 = table2.field2 and table1.field3 = table2. field3

let's say I want to find all the records in table 1 where name, phone, and address all exist in table 2. I just don't know how to write that exactly. Thanks!
Microsoft Access

Avatar of undefined
Last Comment
PortletPaul

8/22/2022 - Mon