SQL Select Max значение для каждой группы

select name, max(value)
from out_pumptable
group by name
Brainy Bird