summaryrefslogtreecommitdiffstats
path: root/tests/sql.sql
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sql.sql')
-rw-r--r--tests/sql.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sql.sql b/tests/sql.sql
index c78282f..4e2d988 100644
--- a/tests/sql.sql
+++ b/tests/sql.sql
@@ -246,6 +246,16 @@ SELECT Test FROM Test WHERE
SELECT * LIMIT 1; SELECT a,b,c,d FROM e LIMIT 1, 2; SELECT 1,2,3 WHERE a in (1,2,3,4,5) and b=5;
+SELECT count - 50
+WHERE a-50 = b
+WHERE 1 and - 50
+WHERE -50 = a
+WHERE a = -50
+WHERE 1 /*test*/ - 50
+WHERE 1 and -50;
+
+SELECT @ and b;
+
SELECT @"weird variable name";
SELECT "no closing quote