D
Dwight
I am designing a query that joins two tables by SSN. I need to identify
missing records from one of the tables. Table1 has 279 records in it.
Table2 has 3221 records in it. Table2 has two additional fields that I use
in the query to set the criteria. I want to see ALL the records in Table1
and only those records from Table2 where the joined fields are equal. When I
set properties to that selection I expect to see the 279 records from Table1,
however, the query only returns 276. The 276 records are the same records
that returned if I leave the join properties set to "Only include rows where
the joined firelds from tables are equal".
SELECT Table1.SSN, Table2.board_id, Table2.date_withdrawl
FROM Table1 LEFT JOIN Table2 ON Table1.SSN = Table2.board_ssn
WHERE (((Table2.board_id)="gnov2008"));
Does anyone have any idea why this might be happening?
Thanks in advance!
Dwight
missing records from one of the tables. Table1 has 279 records in it.
Table2 has 3221 records in it. Table2 has two additional fields that I use
in the query to set the criteria. I want to see ALL the records in Table1
and only those records from Table2 where the joined fields are equal. When I
set properties to that selection I expect to see the 279 records from Table1,
however, the query only returns 276. The 276 records are the same records
that returned if I leave the join properties set to "Only include rows where
the joined firelds from tables are equal".
SELECT Table1.SSN, Table2.board_id, Table2.date_withdrawl
FROM Table1 LEFT JOIN Table2 ON Table1.SSN = Table2.board_ssn
WHERE (((Table2.board_id)="gnov2008"));
Does anyone have any idea why this might be happening?
Thanks in advance!
Dwight