I am struggling with a query to pull most recent entries. I have a Notes table that contains the following columns:
BusinessDate ReportGuid NoteGuid Note NoteDa
You need to group by ReportGuid and select Max(NoteDate). That will select the maximum of each group.
group by ReportGuid
Max(NoteDate)