Here is a solution I use to grab the latest date:
Select (fields) from (table) group by (patient id) having patient date = max(patient date) . This will give you only the latest date for each patient id.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only