mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
22 lines
550 B
Plaintext
22 lines
550 B
Plaintext
|
z
|
||
|
SELECT tupleElement(t1, \'z\', \'z\')
|
||
|
FROM t_tuple_element_default
|
||
|
0
|
||
|
SELECT tupleElement(t1, \'z\', 0)
|
||
|
FROM t_tuple_element_default
|
||
|
z
|
||
|
SELECT tupleElement(t2, \'z\', \'z\')
|
||
|
FROM t_tuple_element_default
|
||
|
[(3,4)]
|
||
|
SELECT tupleElement([(1, 2)], \'a\', [(3, 4)])
|
||
|
[[1,2,3]]
|
||
|
SELECT tupleElement([[tuple(1)]], \'a\', [[1, 2, 3]])
|
||
|
SELECT tupleElement(t1, \'a\', [tuple(1)])
|
||
|
FROM t_tuple_element_default
|
||
|
[(0)]
|
||
|
SELECT tupleElement(t1, \'a\', [tuple(0)])
|
||
|
FROM t_tuple_element_default
|
||
|
[(0)]
|
||
|
SELECT tupleElement(t1, \'a\', [tuple(0)])
|
||
|
FROM t_tuple_element_default
|