How Can I get the max value from few columns for each table row?
ID Date1 Date2
----------- ---------- ----------
1 2019-01-01 2019-12-29
result:
ID MaxDate
----------- ----------
1 2019-12-29