This commit is contained in:
Alexey Milovidov 2018-04-19 06:10:10 +03:00
parent 67c451e9cf
commit ea5dac67d6
3 changed files with 8 additions and 1 deletions

View File

@ -1,2 +1,2 @@
SELECT * FROM ((SELECT * FROM system.numbers LIMIT 1) UNION ALL SELECT * FROM system.numbers LIMIT 2 UNION ALL (SELECT * FROM system.numbers LIMIT 3)) ORDER BY number;
SELECT * FROM (SELECT * FROM system.numbers LIMIT 1 UNION ALL (SELECT * FROM system.numbers LIMIT 2 UNION ALL (SELECT * FROM system.numbers LIMIT 3))) ORDER BY number;
SELECT * FROM (SELECT * FROM system.numbers LIMIT 1 UNION ALL (SELECT * FROM system.numbers LIMIT 2 UNION ALL (SELECT * FROM system.numbers LIMIT 3))) ORDER BY number;

View File

@ -0,0 +1,4 @@
1
2
2
3

View File

@ -0,0 +1,3 @@
(SELECT 1);
(SELECT 2) UNION ALL (SELECT 2);
((SELECT (((3)))));