ClickHouse/tests/queries/0_stateless/00490_with_select.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
522 B
MySQL
Raw Normal View History

2024-07-12 12:49:26 +00:00
SET enable_analyzer = 1;
2023-02-17 15:50:46 +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));
with 'string' as str select str || '_abc';
select `concat(str, \'_abc\')` from (with 'string' as str select str || '_abc');