• This sorts it by the motivational type, but if someone has a 'AAAA' value returned, I don't want any of the other times returned. I want to keep the highest rated one returning one row per event.