SyntaxFix
Write A Post
Hire A Developer
Questions
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