I am using Entity Framework Core (lambda syntax). This seems like such an easy thing to do, but it is eluding me for some reason.
Lets say I have a simple table like this:
Run Result
1 result1
1 result2
2 result3
2 result4
All I want to do is grab the rows with the max run value.
So the result should be:
2 result3
2 result4
Basically group by the Run and get the group with the max run value and return all the rows. Maybe I'm thinking about that the wrong way?