I am looking to retrieve the most recent note per date for all rows. I am able to do it using a simple script but i cannot put it into my query without grouping by.. I tried to