I am trying to select the most recent room number based on the maximum row identifier.
Table1 contains these fields:
UID,Date,Room,PatientID
Data in Table1:
1,7/1/02,456B,Amy74
2,7/1/02,234C,Amy74
3,7/1/02,457D,Amy74
Data I would like to see based on query:
3,7/1/02,457D,Amy74
Code I wrote...