Imported test from #2094

This commit is contained in:
Alexey Milovidov 2018-08-05 07:06:49 +03:00
parent 36eae150d6
commit ab96e1d581
2 changed files with 8 additions and 0 deletions

View File

@ -1,2 +1,4 @@
1000
2000
1000 Alice
2000 Alice

View File

@ -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;