This SQL needs to return 1 NEW record, marked "NEW", and only 1 old record, marked "OLD", if one existed before. The problem is, I am returning multiple OLD records that have a different dates from table2.
This is what I want:
12345 New
12345 Old
This is what I don't want:
12345 New
12345...