I have a table with 3 columns: DATE, HOUR, VALUE. This table has all the the days and hours of the month, and a numerical value. I want to group by the date, get the max from value, and the hour when that value occured. Can anyone help me achieve this?
This is what i have:
DATE HOUR VALUE
04/01/2023 12 49
04/01/2023 13 57
04/01/2023 14 42
04/01/2023 15 68
04/01/2023 16 48
This is what i'm expecting:
DATE HOUR VALUE
04/01/2023 15 68