2017-08-14 15:13:56 +02:00
|
|
|
# This file contains a list of strings that are NOT valid SQL queries.
|
|
|
|
# Each line contains a single SQL query.
|
|
|
|
# Each line starts with a '!' char to indicate that parsing should fail.
|
|
|
|
!
|
|
|
|
!1
|
|
|
|
!gibberish;
|
2018-05-22 15:35:39 +02:00
|
|
|
!CREATE TABLE "table" FROM TBL FILE 'students.tbl';gibberish
|
2017-08-14 15:13:56 +02:00
|
|
|
!CREATE TABLE "table" FROM TBL FILE 'students.tbl';1
|
|
|
|
!INSERT INTO test_table VALUESd (1, 2, 'test');
|
2018-05-22 15:35:39 +02:00
|
|
|
!SELECT * FROM t WHERE a = ? AND b = ?;gibberish;
|
2017-08-23 23:09:02 +02:00
|
|
|
!SHOW COLUMNS;
|
2019-09-16 11:58:05 +02:00
|
|
|
!DESCRIBE;
|
2020-01-08 16:21:02 +01:00
|
|
|
!COPY;
|
|
|
|
!COPY students;
|
|
|
|
!COPY students FROM 'students_file' WITH FORMAT XYZ;
|
|
|
|
!COPY students TO 'students_file' WITH FORMAT XYZ;
|
2018-02-12 11:36:47 +01:00
|
|
|
!select a + 2 as b(spam, eggs) from B;
|
2019-05-24 16:42:28 +02:00
|
|
|
!WITH a AS SELECT 1 SELECT 1;
|
|
|
|
!WITH a AS (SELECT ) SELECT 1;
|
|
|
|
!WITH a AS (WITH b AS (SELECT 1) SELECT 1) SELECT 1; # We do not support nested WITH clauses
|
2020-01-08 16:21:02 +01:00
|
|
|
!WITH a AS (SELECT ) b AS (SELECT ) SELECT 1; # Missing comma between WITH descriptions
|