DatabaseFilter: Linked tables
September 2, 2005 8:38 AM
Subscribe
Database 101... I have two tables, with one common field, an ID number. One table has many more records than the other. How can I tell which records in the 'big' table are also in the 'small' table?
I'm using Excel. I have Access, but not much experience there. I am making a mail merge with address info from the 'big' table for only the people listed in the 'small' table. I tried =VLOOKUP() but it seems unusually complex for what must be a common database query. Specific instructions would be best! I know how to do the mail merge once the data is sorted out.
posted by clgregor to technology (5 comments total)
select * from table1
inner join table2 on table1.ID = table2.ID
this will tell you the ones in both.
posted by alkupe at 8:47 AM on September 2, 2005