2022-10-09 00:00:14 +00:00
|
|
|
SELECT (toIntervalSecond(-1), toIntervalMinute(2), toIntervalMonth(-3), toIntervalYear(1))
|
2022-10-14 02:16:12 +00:00
|
|
|
---
|
2022-10-18 07:23:00 +00:00
|
|
|
-1
|
|
|
|
2022-10-12
|
|
|
|
2022-10-10
|
|
|
|
(2)
|
|
|
|
(0)
|
2022-10-24 02:11:08 +00:00
|
|
|
2022-11-12
|
|
|
|
2022-09-10
|
|
|
|
(1,2)
|
|
|
|
(1,0)
|
|
|
|
---
|
2022-10-18 07:23:00 +00:00
|
|
|
2022-10-12
|
|
|
|
2022-10-10
|
|
|
|
2022-10-12
|
|
|
|
(2) Tuple(IntervalSecond)
|
|
|
|
(0) Tuple(IntervalSecond)
|
|
|
|
---
|
2022-10-14 02:16:12 +00:00
|
|
|
3 IntervalSecond
|
|
|
|
(1,2) Tuple(IntervalHour, IntervalSecond)
|
|
|
|
(1,1,1) Tuple(IntervalSecond, IntervalHour, IntervalSecond)
|
|
|
|
(2,1) Tuple(IntervalSecond, IntervalHour)
|
|
|
|
-3 IntervalSecond
|
|
|
|
(-1,-2) Tuple(IntervalHour, IntervalSecond)
|
|
|
|
(-1,-1,-1) Tuple(IntervalSecond, IntervalHour, IntervalSecond)
|
|
|
|
(-2,-1) Tuple(IntervalSecond, IntervalHour)
|
|
|
|
---
|
2022-10-18 07:23:00 +00:00
|
|
|
1 2022-03-01
|
|
|
|
1 2022-02-28
|
|
|
|
1 2023-07-11 00:01:59
|
|
|
|
1 2021-07-31 23:00:00
|
|
|
|
1 2021-06-10 23:59:59.000
|