I have 2 tables in Access:
Table 1 has id, first_name, and last_name
Table 2 has city, date_recorded, and person_id
I'm trying run a query to display the first name, last name, and city for the earliest date.
I'm able to get to this with the following query, but all records are displayed when I try to add City to results.
How can I add City to the results, but still only have 1 row per person?
SELECT table1.first_name, table1.last_name, Min(table2.date_recorded) AS First_Occurrence
FROM table1 INNER JOIN table2 ON table1.id = table2.person_id
GROUP BY table1.first_name, table1.last_name
ORDER BY Min(table2.date_recorded);