mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Imported test from #2094
This commit is contained in:
parent
36eae150d6
commit
ab96e1d581
@ -1,2 +1,4 @@
|
||||
1000
|
||||
2000
|
||||
1000 Alice
|
||||
2000 Alice
|
||||
|
@ -23,3 +23,9 @@ UNION ALL
|
||||
SELECT value AS val FROM data2014 WHERE name = 'Alice')
|
||||
ORDER BY val ASC;
|
||||
|
||||
SELECT val, name FROM
|
||||
(SELECT value AS val, value AS val_1, name FROM data2013 WHERE name = 'Alice'
|
||||
UNION ALL
|
||||
SELECT value AS val, value, name FROM data2014 WHERE name = 'Alice')
|
||||
ORDER BY val ASC;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user