Hi,
I have two tables where both contain the ID number and Date. The first table will always have a date and the second table will never have a date. Basically I want the query to bring back a result set that if the ID is in table 1, then don't grab the row with the same ID from table 2. I've tried unioning and right joining, but that didn't seem to work. Below is an example of what I'm looking for.
Table 1
ID | Date
---------------
1 Dec 20
4 Dec 20
Table 2
ID | Date
---------------
1 NULL
2 NULL
3 NULL
4 NULL
Results Table
ID | Date
---------------
1 Dec 20
2 NULL
3 NULL
4 Dec 20
Does anyone have any clues on how I'd go about doing this?
Thanks.