I am new to SQL and struggling with finding a working solution for my MAX situation.
I currently have a table that looks like:
ID Date Version
001 2010-11-17 2
001 2010-12-01 3
002 2011-01-11 1
002 2011-05-05 2
My desired result is simply:
ID Date Version
001 2010-12-01 3
002 2011-05-05 2
I can't use MAX and GROUP BY on date since Date is not distinct.