score:6

Accepted answer
var query = from e in models.exerciseuserresults
    where e.exerciseid == exerciseid
    group e by userid into usersexercises
    select usersexercises.last();

Related Query

More Query from same tag