mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-06 06:22:39 +00:00
17 lines
441 B
Plaintext
17 lines
441 B
Plaintext
SELECT (toIntervalSecond(-1), toIntervalMinute(2), toIntervalMonth(-3), toIntervalYear(1))
|
|
---
|
|
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)
|
|
---
|
|
1
|
|
1
|
|
1
|
|
1
|