Add LIMIT BY format test

This commit is contained in:
Azat Khuzhin 2020-09-08 23:54:46 +03:00
parent 11ba7049c0
commit 68c441e07b
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
SELECT dummy
FROM system.one
LIMIT 1 BY dummy
LIMIT 1
SELECT dummy
FROM system.one
LIMIT 1 BY
0 + dummy,
0 - dummy
LIMIT 1

View File

@ -0,0 +1,2 @@
EXPLAIN SYNTAX SELECT * FROM system.one LIMIT 1 BY * LIMIT 1;
EXPLAIN SYNTAX SELECT * FROM system.one LIMIT 1 BY 0+dummy, 0-dummy LIMIT 1;