2023-02-17 15:50:46 +00:00
|
|
|
SET allow_experimental_analyzer = 1;
|
|
|
|
|
2017-08-10 14:48:13 +00:00
|
|
|
with pow(2,2) as four select pow(four, 2), 2 as two, pow(two, 2);
|
2023-01-25 10:46:22 +00:00
|
|
|
select `pow(four, 2)`, `pow(two, 2)` from (with pow(2,2) as four select pow(four, 2), 2 as two, pow(two, 2));
|
|
|
|
with (select pow(two,2)) as four select pow(four, 2), 2 as two, pow(two, 2);
|
|
|
|
select `pow(four, 2)`, `pow(two, 2)` from (with (select pow(2,2)) as four select pow(four, 2), 2 as two, pow(two, 2));
|
2017-08-10 14:48:13 +00:00
|
|
|
with 'string' as str select str || '_abc';
|
|
|
|
select `concat(str, \'_abc\')` from (with 'string' as str select str || '_abc');
|