I have this value for exemple
VAL1 VAL2
04 ZZ
06 TT
05 XX
03 XX
04 ZZ
09 TT
I want query that show me the max (last record) of each value of column val2
For exemple , for TT = 09 , XX = 03 , ZZ = 04 .
Can you please provide ? with HANA query if possible ?