Ver originalSELECT MAX(VALUE) AS Maximo, CONVERT(DATE, DateTime) AS Dia FROM DummyTable GROUP BY CONVERT(DATE, DateTime) ORDER BY Dia DESC