codice:
SELECT id, id_articolo, max(valore) AS valore FROM tabella
Edit:
anticipato sul tempo