SQL Get Max par ID

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