I would like to update the contents of the Date 1 column to reflect 2nd oldest date each row. The table has thousands of rows and ~15 columns, only a handful of which are dates. I've used the least funtion in the past to update this column with the oldest date in each row, but I can't figure out how to update it with the 2nd oldest date(1/15/2020 for row 1 and 04/15/2020 for row 2 in this instance). Any help would be greatly appreciated.
ID | Date 1 | Date 2 | Date 3 | Date 4 |
---|---|---|---|---|
001 | 01/14/2020 | 01/15/2020 | 01/16/2020 | |
002 | 04/15/2020 | 03/20/2020 | 06/16/2020 |