SELECT Trasf_data.valuta1, Trasf_data.[valuta1] - (select Max(valuta1) from Trasf_data as r1 where r1.valuta1 < Trasf_data.valuta1) AS calcola FROM Trasf_data ORDER BY Trasf_data.valuta1;