I want to get the difference between two timestamps in days with decimals.
i.e. instead of interval, 3 days 20:33:54.937
,
the desired output is 3.85
(in numeric format)
+---------------------+---------------------+--+
| date1 | date_2 | |
+---------------------+---------------------+--+
| 2020-12-22 08:10:11 | 2020-12-18 11:36:16 | |
+---------------------+---------------------+--+
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…