Let\'s assume I extract some set of data.
i.e.
SELECT A, date FROM table
I want just the record with the max date (for each value o
A is the key, max(date) is the value, we might simplify the query as below:
SELECT distinct A, max(date) over (partition by A) FROM TABLENAME