Hi,
I need to write two different queries. The first one will find the latest (most recent date) in one table for a particular patient. The same patients can have multiple entries in the table with different dates. I need to find the most recent date.
Then, I need to write another query to find the date that is the second most recent in the same table for the same patient. Does anyone know how I can do this?
Thanks for any help,
MB
I need to write two different queries. The first one will find the latest (most recent date) in one table for a particular patient. The same patients can have multiple entries in the table with different dates. I need to find the most recent date.
Then, I need to write another query to find the date that is the second most recent in the same table for the same patient. Does anyone know how I can do this?
Thanks for any help,
MB