A column consists of dates only. I need to extract the latest 2 dates from the table. What is the best way to do it?
Example: Values in a table having date column as 01-01-2021
, 01-02-2021
, 01-03-2021
I would need 01-02-2021,01-03-2021
as my output.