mirror of
https://github.com/hanzo-ds/sqlparser.git
synced 2026-10-30 20:53:50 +00:00
12 lines
698 B
SQL
12 lines
698 B
SQL
-- Origin SQL:
|
|
SELECT tuple('a','b','c').3, .1234;
|
|
|
|
SELECT toTypeName( tuple('a' as first,'b' as second ,'c' as third)::Tuple(first String,second String,third String)),
|
|
(tuple('a' as first,'b' as second ,'c' as third)::Tuple(first String,second String,third String)).second,
|
|
tuple('a','b','c').3,
|
|
tupleElement(tuple('a','b','c'),1)
|
|
|
|
-- Format SQL:
|
|
SELECT tuple('a', 'b', 'c').3, .1234;
|
|
SELECT toTypeName(tuple('a' AS first, 'b' AS second, 'c' AS third)::Tuple(first String, second String, third String)), (tuple('a' AS first, 'b' AS second, 'c' AS third)::Tuple(first String, second String, third String)).second, tuple('a', 'b', 'c').3, tupleElement(tuple('a', 'b', 'c'), 1);
|