SQL Get Max за удостоверение личности

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