mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
added test to former WITH clause in SELECT query
This commit is contained in:
parent
37b6c98752
commit
ac87cb035f
@ -0,0 +1,6 @@
|
||||
16 2 4
|
||||
16 4
|
||||
16 2 4
|
||||
16 4
|
||||
string_abc
|
||||
string_abc
|
8
dbms/tests/queries/0_stateless/00490_with_select.sql
Normal file
8
dbms/tests/queries/0_stateless/00490_with_select.sql
Normal file
@ -0,0 +1,8 @@
|
||||
with pow(2,2) as four select pow(four, 2), 2 as two, pow(two, 2);
|
||||
select `pow(four, 2)`, `pow(2, 2)` from (with pow(2,2) as four select pow(four, 2), 2 as two, pow(two, 2));
|
||||
with (select pow(2,2)) as four select pow(four, 2), 2 as two, pow(two, 2);
|
||||
select `pow(four, 2)`, `pow(2, 2)` from (with (select pow(2,2)) as four select pow(four, 2), 2 as two, pow(two, 2));
|
||||
with 'string' as str select str || '_abc';
|
||||
select `concat(str, \'_abc\')` from (with 'string' as str select str || '_abc');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user