# xsql

sqltext:
CREATE TABLE t2(x,y);
INSERT INTO t2 VALUES(1,2);
INSERT INTO t2 SELECT x+2, y+2  FROM t2;
INSERT INTO t2 SELECT x+16,y+16 FROM t2;
INSERT INTO t2 SELECT x | group_concat(1,?)| +32,y+32 FROM t2;
INSERT INTO t2 SELECT x+64, y+64 FROM t2;
SELECT count(*),sum(x), sum(y) FROM t2;


sqltext:
CREATE TABLE t0(a, b);
SELECT a FROM (SELECT 0000.e2001-01-0122222222222222222222222222222222222222222222001-01E-350 AS a FROM t0) WHERE a= [a]=A;


sqltext:
CREATE TABLE t0(a, b);
SELECT a FROM (SELECT 00222222222222222222222222222222001-01E-350 AS a FROM t0) WHERE a= [a]=A;


sqltext:
CREATE TABLE t0(a, b);
SELECT a FROM (SELECT 0000.e222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222001-01E-3522222222222222222222001-01E-350 AS a FROM t0) WHERE a= [a]=A;


sqltext:
CREATE VIRTUAL TABLE t0st USING fts4 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1  sqlite_compileoption_get(1)N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN OR"ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a
,"b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "Sa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FOO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIR "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "������������������������ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a"TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"LO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"#1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"bd(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIVTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASaRIGHTb"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","ARO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIVTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b" a.b"a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa@LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRT^AL TABN "ASa"LLO"b"(1,t "a""a t "1 "a"N "1,1,1)b"1,1 "a"VIRTUA? TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(",1,1 "a"N "1,1,1)b"1,1 "a"VIRM^AL TABN "ASa"LLO"b"(1,t "a""a t "1 "a"N "�1,1)b"1,"FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̼����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������"a"� "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "aN " "a","b"1,1 "aN "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "y"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,ime(",����������������������������d������������������������������� "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a>LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"%,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,V "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRT"a"LLO"b"(1,time(","b"1,1 "a"1,V "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,11,1 "a"VIRTU","b"1,1 "a"1,V "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,11,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time("," trim(1,1),t "a""a"t "a""a"t "a"1"b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL)ime(","b"1,1 "a"N "a"LLO"b"(AL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time("," trim(1,1),t "a""a"t "a""a"t "a"1"b"1,1 "a"N "1,1,1)b"1,1 "a"UAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,11,1 "a"VIRTU","b"1,1 "a"1,V "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,11,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time("," trim(1,1),t "a""a"t "a""a"t "a"1"b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL)ime(","b"1,1 "a"N "a"LLO"b"(AL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time("," trim(1,1),t "a""a"t "a""a"t "a"1"b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leopt+++++++++++++++++++++++++++++++++++++++++++,"b"1,1 ++++++++++++++ion_get(1)'-00');
SELECT * FROM t0st WhERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TA"a"VIRTUALTAa"LLO"b"(1,time(","b1,1 "a"1, "a"N "1,����b"1,1 "a"VIRTUAL TABN "ADa"LLO"b"(1,t "hBN "ASa"LLO"b"(1,~ "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "Aha"LLO"b"(1,t "a""a"t "G","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "A�a"LLO"�"(1,t "a""a"t "a���������������������������������������������������������������������������������������������������������������","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"EEEEEEEEEEEEEEEEEEEEEEEEEcN "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(�,"b"1,1 "a"1,t "a""a"t "a","o"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "Aha"ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N"a"LLO"M"(1,time(","b"1,1 "a"N "a"LLO *"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,��1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "`","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a"a"�����������1 "a#N 1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABNe0tSa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""aO"b"(1,time(","b"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(",a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1"a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 5a""a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "aN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa""N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)�me(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa""FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "H""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 oidVIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1"a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t""a"t "aN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 5a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime("%"FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)�me(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a",E000000"a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "a"LLO"b"(1,t 1,1,")"';b"(1,t 1,1,")"';


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t0a ON t1(a);
CREATE INDEX t0b ON t1(b);
INSERT INTO t1 VALUES(1,NULL);EXPLAIN
INSERT INTO t1 SELECT a+1, b FROM t1;
INSERT INTO t1 SELECT a+2, b FROM t1;
INSERT INTO t1 SELECT a+4, b FROM t1;
INSERT INTO t1 SELECT a+8, b FROM t1;
INSERT INTO t1 SELECT a+16,b FROM t1;
INSERT INTO t1 SELECT a+32,b FROM t1;
INSERT INTO t1 SELECT a+64, group_concat(1,?)b FROM t1;
ANALYZE;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(0001-01-010, '2001-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01'ORD;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(2001501-010, '2001-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01'ORD;


sqltext:
SELECT fts3_tokenizer�������������������������������������������������������������������������������������������� (1)�����������������������������������������������������okenizer(';


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII&IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII.IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0,'CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIfIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII INTO x0 SELECT * FROM b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T j�lianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII;IIIIIIIIIIIIIIIIIIIo0*IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII<IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIITO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SEIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������IIIIIIIIIIIIIIIIIIIIIIIIIII����������������������������������������������������������������������������������������������������������������������������������d������������������������������������������������������������������������������������������������������������������������������������������� IIIIIIIIIIIIIIIIIIIIIIIIIIIII-IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII:IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIO t0 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII_IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIGIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'dIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII?IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T ju�ianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIUIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII@IIIIIIIIIIIIIIIIII�����������������������������������������������������������������������������������������������������������������������������������j���������������������������������������������IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIf');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min( ltrim(1<?))  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 083


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min(  typeof(?))  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 283


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min(  typeof(1))  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 783


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min(  typeof(1))  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 263


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t00K000000�AFTER UPDATE ON TempT000e BEGIN
INSERT INTO TEMPT000e(Tt00n0)
SELECT [a]. [a]St00n0 FROM TempT00.e LIMIT 1+
END;
INSERT INTO TempT000e
SELECT [a]. [a]St00n0 FROM TempT00.e LIMIT 1;
END;
INSERT INTO T) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2;
CELECT Te0tSt00n0 FROM Re0T000e ORDER BY 1;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);EXPLAIN
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x/2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;REPLACE INTO t1 SELECT  "mblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INa",randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


sqltext:
PRAGMA encoding=UTF16be;
SELECT hex(trim( 'Ϛ000����ۿ�����������������Ͽ�Ͽ�0���ۿ�����������������Ͽ�Ͽ�0'));


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min( ltrim(1<7))  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 083


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,b,c,d,e,f,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','600000 160000 40000 10000 2000 60� 100 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE e=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE c=3;
SELECT i FROM t4 WHERE e=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE e=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INT0000);
INSERT INTO t1 VALUES(?);
INSERT INTO t1 VALUES(2);
INSERT INTO t1 VALUES(1);
INSERT INTO t1 VALUES(2);
INSERT INTO t1 VALUES(3);
INSERT INTO t1 VALUES(1);
CREATE TABLE t2(x);
INSERT INTO t2
SELECT DISTINCT
CASE a WHEN A THEN randomblob(12001E01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END
FROM t1;
SELECT quote(x) FROM t2 ORDER BY 1;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES(1,randomblob(2500));
INSERT INTO t1 VALUES(22001-01-01,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
DELETE FROM t1 WHERE a=1;VACUUM


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 URRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(a);VACUUM
ANALYZE;
SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomby);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�Alob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END�
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "a") FROM t1 ORDER BY x;


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1 (docid, c) VALUES (1, 'T00 0 te00');
INSERT INTO t1(docid,c) VALUES (2, ' "a","b" 0 test');
INSERT INTO t1(docid, c) VALUES (3, 'T0is i0 0 test');
DELETE FROM t1 WHERE 1=1; --000;
INSERT INTO t1(docid, c) VALUES (3, 'T0is i0 0 test');
DELETE FROM t1 WHERE 1=1; --0000
INSERINTO t1(docid, c) VALUES (1, '0 t000');


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'�00' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577777777772001-01-017,6, strftime(?,1,1,1) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
ANALYZE;
SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60;


sqltext:
WITH i(x) AS ( VALUES(12001-01-01) UNION ALL SELECT 1=1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 204


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT 1=1 FROM i ORDER BY 1)
SELECT sqlite_source_id() x FROM i LIMIT 204


sqltext:
CREATE TABLE sqlit  ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL);
INSERT INTO "0000" ("00", "n00b00") VALUES('b', 1);
IN";


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB�������������������¹�����������¹����ع���������������������������������������������");
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB�������������������¹�����������¹����ع���������������������������������������������");
INSERINSER('ERT 


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('�00 bbb c00', 'bbb 000');
SELECT * FROM x where x MATCH 'bbb NEARAR/6 00 NEAR 6 /6 00 NEARl6 000';


sqltext:
CREATE TABLE t102 (i0 TEXT�UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 
JOIN t102 ON t2.i0 IN t102 NATURAL
JOIN t102 AEFT JOIN t102  t1 ON t1.i0 IN t102 
JOIN t102 AS t2;


sqltext:
CREATE TABLE x(y1, y  A, a,b);
CREATE VIEW y AS
SELECT x1.a AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.y=x2.a;
SELECT $total(1)p FROM y AS y1, y  A, y  AS1, y y1, y S1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


sqltext:
CREATE TABLE x(y1, y  A, a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.y= (1);
SELECT $total(1)p FROM y AS y1, y  A, y  AS1, y y1, y S1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a blobGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(b);
ANALYZE;;
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80 a,b


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00 poi, a0 a,00, notindexed=�00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notinde, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, n0, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=pd00, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, 0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUgUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUp0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, noti0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=pH0, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,%a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,0, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000,  a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi,Ka0 a,00, notindexed=p00, notindexed=00,notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi,Ka0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=000 notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000000�1i dexed=a,00, na,bpoi, a0VIEW0, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=exed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000000�1i dexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexep7,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na�b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, noti0, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na�b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00','00000',90);
INSERT INTO t1 VALUES(4,'0','0',2);
INSERT INTO t1 VALUES(5,'00','0',2000);
SELECT x FROM t1 WHERE c=instr( char( a/b,-01-044444444444444444444,44444444444444444444444444444444444444444444),b)OR a='0' ORDER BY +x;


sqltext:
SELECT  -10>>00>>0000000060.00>>0000000060.010000>>00000000>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>600060.010000>>00%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>0000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>000060.00>> 0000-10>>00*0000060.00>>0000000060.010000>>0000060.00>>0000000060.010000>>00000000>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>600060.010000>>00%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>0000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00;


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,a,e,e));
SELECT * FROM t0 WHERE a=E AND b=? AND a=? AND e=? AND b=? AND a=?  AND d<? AND e ISNULL d<?


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�yeing jAyyeing ng aAyyeing ng aAyyeing aAyyeing ng aAyyeing ng aAyyeing ng aAyyeing aANALYZEinaaaAyyeing ng aAyyeing ng aAyyeing ng aAyyeing aANALYZEieing ng aAyyeing aANALYZEina{aAyyeing ng aAyyeing ng aAyyeing ng aAyyeing aANALYZEinaaANALYZEiuaANAL�ZEiANALYZEiuaANAL�ZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�yeingg ng aA�yeing ng aAyy�ing ng aKyyeing aANALYZEi`aaaAyyeing ng aA_yeing ng aAyyein a@yyeing ng aA�yeing ng aAyy�ing ng aAyyeing aANALYZEi`aaaAyyeing;
INSERT INTO t ng aA_yeing ng aAyyeing ng aAyyeing aANALYZEinaaANALYZEiuaANAL�ZEiANALYZEiuaANAL�ZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||0021) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||1021) x FROM i LIMIT 303


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1/ random()||1021) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||.021) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||1E21) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||1E21) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||1E91) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||1E2 || 1) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||1E21) x FROM i LIMIT 1002


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 LIMIT+likely(1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 LIMIT likely(1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  `a`/( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy11, y  ASy1, y S1, y y, y y1, y S, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy11, y  ASy1, y S1, y y, y y1, y S, y S1, y y, y y1, y S1, y  AS a1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy11, y  ASy1, y S1, y y, y y1, y S, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S  y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S5, y  AAS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S, y  ASy1, (1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy11, y  ASy1, y S1, y y, y y1, y S, y S1, y y, y y1, y S1, y  AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy11, y  ASy1, y S1, y y, y y1, y S, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  6Sy1, y S1, y y, y y1, y S1, y  AAS y1)p FROM x AS y1, y  A, y% CS1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, y yy S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y, y  ASy1, y S1, y y, y y1, y S, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  ASy5, y S1, y y, y  y1, y S1, y  ASy11, y  ASy1, y S1, y y, y y1, y S, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1��y S�y1, y  AS y1, y S1, y  ASy5, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))&"a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  C, y y1, y S1, y  ASy1, y S1, y y, y S1, y S�y1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1)) "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  C, y y1, y S1, y  ASy1, y S1, y y, y S1, y S�y1, y y1, y S1, y  ASy1, y S1, y  y1, y  A, y  C, y y1, y S1, y  S1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX ' replace(1,1,1)f00000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00 zeroblov0000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00 zeroblov(1)00000000000''000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00 zeroblov(1)00000000000''00000' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALY:E(1)00000000000''000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00 zeroblov(1)00000000000''00000' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALY:E;
SELECT idx, date(1,idx)t FROM sqlite_stat1 ORDER BY 002;


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='########################################################################CRINDEX t00/////////<///////ter SET� TABLE!00(a NOT NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10


sqltext:
VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRINDEX t00/////////<///////ter SET� TABLE!00(a NOT NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(DISTINCT nullif(1,1))WHERE"b" -1;
SELECT $tota|(SELECT $tota|(1)p FROM y AS CS1, y S�y1, y  AS1, y S1, y y, y S1, y , y   AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS1, y S1, y  AS M x 


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))WHERE"b"MATCH -1;
SELECT $tota|(SELECT $tota|(1)p FROM y AS CS1, y S�y1, y  AS1, y S1, y y, y S1, y , y   AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS1, y S1, y  AS M x 


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  strftime(1,1,1,1) q FROM x AS x1, x AS x2 WHERE glob(q,q);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, y S1, y  A, y AS y1, y  AS y1, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  strftime(1,1,1,1) q FROM x AS x1, x AS x2 WHERE glob(1,q);
SELECT $total(1)p FROM y AS y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, y S1, y  A, y AS y1, y  AS y1, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  strftime(1, -1,1) q FROM x AS x1, x AS x2 WHERE glob(1,q);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, y S1, y  A, y AS y1, y  AS y1, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  strftime(1,1, -1) q FROM x AS x1, x AS x2 WHERE glob(1,q);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, y S1, y  A, y AS y1, y  AS y1, y AS y y1;


sqltext:
SELECT-'0000'ASC UNION SELECT avg(1) ORDER BY 1,ASC,1 ASC,   ASC, 1,ASC,LECT-'0000'ASC UNION SELECT avg(1) ORDER BY 1,ASC,1 ASC,   ASC, 1,ASC,1 ASC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASS, 1  ASC, ASC, 1 CO1 ASC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASS, 1  ASC, ASC, 1 COLLATE  A1 COLLATE  ASC,1 AC, ASS, 1 COLLATE  ASC,1 ASC, 1 COLL


sqltext:
SELECT-'0000'ASC UNION SELECT avg(1) ORDER BY 1,ASC,1 ASC,   A1 ASC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASS, 1  ASC, ASC, 1 COLLATE  A1 COLLATE  ASC,1 ASC, ASS, 1 COLLATE  SC UNION SELECT avg(1) ORDER BY 1,ASC,1 ASC,   A1 ASC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASS, 1  ASC, ASC, 1 COLLATE  A1 COLLATE  ASC,1 ASC, ASS, 1 COLLATE  ASC,1 ASC, 1,ASC,1 ASC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASS, 1  ASC, ASC, 1 COLLATE  A1 COLLATE  ASC,1 ASCASC,1 ASC, 1,ASC,1 ASC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASS, 1  ASC, ASC, 1 COLLATE  A1 COLLATE  ASC,1 ASC, ASS, 1 COLLATE  ASC,1 ASC, 1 COLL


sqltext:
SELECT-'0000'ASC UNION SELECT avSCT-'0000'ASC UNION SELECT avSC,   ASC, 1,ASC,D ASC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASS, 1  ASC, ASC, 1 COLLATE  A1 COLLATE  ASC,1 ASC, ASS, 1 COLLATE  ASC,1 ASC, 1 COC,   ASC, 1,ASC,D ASC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASSC,   ASC,1 ASC, AS1LATE  ASC,1 ASC, ASS, 1  ASC, ASC, 1 COLLATE  A1 CS, 1  ASC, ASC, 1 COLLATE  A1 COLLATE  ASC,1 ASC, ASS, 1 COLLATE  ASC,1 ASC, 1 COLL


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT avg(1) b,a, '000' FROM t1
GROUP BY 2,oid, 2,  a,b,"b",a,a, time(1,1,1), 2 , 2,  a, 2 , 2,  a,a,a, time(1,1,1), 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a,a, b,"b",a,a, '000' , '000' , '00000' , 2, 3,a, '000' ,a, '000' , 2,  b,"b",a,a, b,"b",a,a,a, b,"b",a,a, '000' , '000' , '00000' , 2, 3,a, '000' ,a, '000' , 2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b,c);
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0% *%s', -1-c) FROM t1 ORDER BY rowid;


sqltext:
CREATE TABLE t1(a,b,c);
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0% *%s', .1,c) FROM t1 ORDER BY rowid;


sqltext:
CREATE TABLE t1(a,b,c);
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0%.*%s', -1,c) FROM t1 ORDER BY rowid;


sqltext:
CREATE TABLE t1(a,b,c);
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0% *%s', random() -1,c) FROM t1 ORDER BY rowid;


sqltext:
CREATE TABLE t1(a,b,c);
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0% *%s', -oid) FROM t1 ORDER BY rowid;


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ng and ���ll;
INSERT nd ���ll;
INSERT INTO t1(rolllllllllllllllll�ll;l���ll;
INSERT INTO?t1(rolllllning and ���ll;
INSERT INTO t1(rolllllllllllllllll�ll;l���ll;
INSERT INAO?t1(rolllllll���ll;
INSERT INTO t1(rolllllllllllllllll�ll;l���ll;
INSERT INTO?t1INTO t1(rolllllllllllllllll�ll;l���ll;
INSERT INTO?t1(rolllllning and ���ll;
INSERT INTO t1(rolllllllllllllllll�ll;l���ll;
INSERT INAO?t1(rolllllll���ll;
INSERT INTO t1(rolllllllllllllllll�ll;l���ll;
INSERT INTO?t1(rolllllning and ���ll;
INSERT INTO t1(rolllllllllllllllll�ll;l���ll;
INSERT INAO?t1(rolllllllumping');
SELECT ro t1(M


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ���ll;
INSERT INTO t1(rollllllllINTO?t1(rolllllning and ��lllllning and ���ll;
INSERT Illlllllll�ll;l���ll;
INSERT INTO?t1(rollllllllll�ll;l���ll;
INSERT INTO?t1(rolllllning and ��lllllning and ���ll;
INSERT Illlllllll�ll;l���ll;
INSERT INTO?t1(rolllllllumping');
SELECT ro t1(M


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00 bbb #00', 'bbb 00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00 00 bbb NEAR/6 00';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00 bbb c00', 'bbb 00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00 00-bbb NEAR/6 00';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLP t1 U}}}}}}}n(�������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]}O t1(rowid, co]]]]]]]]]�]]]]]]]]]]]]]]]]]]]]]]]]]]]]V]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]Z]]]]]o]]]]]]]]]]]]]]]]]]]][]��]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] last_insert_rowid()�u������������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}�}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]}O t1(rowid, co]]]]]]]]]�]]]]]]]]]]]]]]]]]]]]]]]]]]]]V]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]]]][]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]}}}}}}}}}}}}}}}}}}���u������������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(�������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(�������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1)png');
SELECT r�wid FROM t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLP t1 U}}}h}}}n(�������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1]]]]]]]�]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]}}}}n(1,1]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]g]]]]]]]]]]]]}O t1(rowid, co]]]]]]]]]�]]]]]]]]]]]]]]]]]]]]]]]]]]]]V]]]]]]]]]]�]]]TZ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]Z]]]]]o]]]]]]]]]]]]]]]]]]]][]��]]]]]]]]]]]]]R]]]]]]]]]]]]]]]]�]]]TZ]]]]]]]]]]]]]]]]]]]Y]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]z]]]]]]]]]]]]]]]]]]]]]]w]]]]}}}}}�}}}}}}}}}}}}���u������������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}�}}}}}t}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]z]]]]]]]]]]]]]]]]]]]}O t1(rowid, co]]]]]]]]]�]]]]]]]]]]]]]]]]]]]]]]]]]]]]V]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]d]][]]]]]]]]]]]ACTION]]]]]]]]]]]]]]]]]]]]]Z]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]\]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]wrowi]]]]]]]]]}]]X}}}}}}}}}}}}}}}}}}���u������������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(���}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|}}}}}}}}}}}n(#,1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1)png');
SELECT r�wid FR�M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT '' ;
SeLECT  total(A)"a",total(A)"a", `a` FROM y A, y  ASyq, y  ,  y q, y  , y  ASy1, y  , y  ASy1, y  , y  ASy1,y  ASy1, y  , y  ASy1, y  , y  ASy1, y  AS1, x


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT 'a''b' ;
SeLECT  total(A),"a",total(A)"a", `a` FRO,total(A)"a", `a` FROM y A, y  ASyq, y  ,X y q, y  , y  ASy1, y  , y  ASy1, y  RASy1,y   , y  ASy1, y  �S1, x�


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT DISTINCT'a''b' ;
SeLECT  total(A),"a",total(A)"a", `a` FRO,total(A)"a", `a` FROM y A, y  ASyq, y  ,  y q, y  , y  ASy1, y  , y  ASy1, y  RASy1,y   , y  ASy1, y  �S1, x�


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT 'a''b' ;
SeLECT  total(A),"a",total(A)"a", `a` FRO,total(A)"a", `a` FROM  y  ASy1, y  , y  ASy1, y  RASy1,y   , y  ASy1, y  �S1, x�


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0u�����60u���ADD��6(VIEWCURRENT_TIMIMARY Y);
INSERT INTO t0t VAL


sqltext:
CREATE TABLE t0(a, b);
SELECT DISTINCT "a","""a","ba","b", *,"b""a""a","""a","ba","b", *,"b""P","ba","b", *FROM (SELECT "ba","a","ba","b",oid,"b""a","ba""b",oid,"b""a","a","a","a","ba","b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a","""a","ba","b", *,"b""a""a","""a","ba","b", *,"b""P","ba","b", *FROM (SELECT "ba","b", *,"b""aba","a","ba","b",oid,"b""a","ba""b",oid,"b""a","a","a","a","ba","b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE v==0;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a","""a","ba","b", *,"b""a""a","""a","ba","b", *,"i""P","ba","b", *FROM (SELECT "ba","a""ba","a","ba","b",oid,"b","ba","b",oid,"b""a","ba""b",oid,"b""a","a","a","a","ba","b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT 'a''b'c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a| random()|b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b|| round(A*7)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc;
IO abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT 'a''b'c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a| random()|b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b|| round(A,8)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc;
IO abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLP t1 USING fts3}}}} and jum mi\ze porter);
INSERT I������������������������������������������������������վ���������������Ҿ������@���������������������������������������������������������������������������������TO}}}}�}}}}}}}}}}}}}}}}}}}}�����������������������������������������������}}}}}}}�}}}}}����������������������}}}}}}}}}}}}}�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ҿ�����������������������������������������������Ҿ������@���������������������������������������������������������������������������������������������쾾��������TO}}}}�}}}}}}}}}}}}}}}}}}}}�����������������������������������������������}}}}}}}�}}}}}����������������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}g');
SELECT r�w USING fts3}rter);
INSERT IN�׾��������������������������������������������id FROM t1 WHEREINDEX 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLP t1 USING fts3}}}} and jum mi\ze porter);
INSERT IN������������������������������������������������������վ���������������Ҿ������@������������������������������������������������������������������������������NVITO}}}}�}}}}}}}}}}}}}}}}}}}}�����������������������������������������������}}}}}}}�}}}}}����������������������}}}}}}}}}}}}}��������ҹ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ҿ�����������������������������������������������Ҿ������@���������������������������������������������������������������������������������������������쾾��������TO}}}}�}}}}}}}}}}}}}}}}}}}}����������������������������������������}}}}�}}}}}������������������������}}}}}}}�}}}}}����������������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}v}}}}}}n(1,1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}g');
SELECT r�w USING fts3}rt�
INSERT IN�׾��������������������������������������������id FROM t1 WHEREINDEX 'runp';


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min(  typeof(1))  +1 FROM i ORDER߽��1)
SELECT x FROM i LIMIT 083


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min(  typeof(?))  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 083


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "�") FROM t1 ORDER BY x;


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX ' replace(1,1,1)f00000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00 z 
oblov(1)00000000000''000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00 zeroblov(1)00000000000''00000' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALYZE;
SELECT idx, date(1,idx)t FROM sqlite_stat1 ORDER BY 002;


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT '' ;EXPLAIN
SeLECT  total(A)"a",total(A)"a", `a` FROM y A, y  ASyq, y  ,  y q, y  , y  ASy1, y  , y  ASy1, y  , y  ASy1,y  ASy1, y  , y  ASy1, y  , y  ASy1, y  AS1, x


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min(  typeof(1))  +1 FROM i ORDER߽��1)
SELECT x FROM i LIMIT 483


sqltext:
CREATE TABLE t1(x, y DEFAULT(+OFplace(1,1,1)));
INSERT INTO t1(x)VALUES(1);
SELECT x, length(y)%Y FROM t1;


sqltext:
PRAGMA �ing=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00','00',1);
INSERT INTO t1 VALUES(2,'00','�������e0',5);
INSERT INTO t1 VALUES(3,'000','0��00',90);
INSERT INTO t1 VALUES(4,'0','0',2);
INSERT INTO t1 VALUES(5,'00','0',2000);
SELECT x FROM t1 WHERE c=RTRIM('a000e0',b)OR a='0' OR trim(1,B)


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES('υ');
INSERT INTO t0 VALUES('φ');
INSERT INTO t0 VALUES('c0');
SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m;
SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m COLLATE binary;
SELECT '0', substr(m,2)  FROM t0 ORDER BY lower(m);


sqltext:
SELECT sqlite_compileoption_used('SQLI�E_THEADSAFE');
SELECT sqlite_compileoption_used('SQLI�E_THREADSAFE');


sqltext:
ANALYZE;
DROP TABLE IF EXISTS sqlite_stat1;
DROP TABLE IF EXISTS s2;
DROP TABLE IF EXISTS l0;
DROP TABLE IF EXISTS ANALYZE;
DROP TABLE IF EXISTS sqlite_stat1;
DROP TABLE IF EXISTS s2;
DROP TABLE IF EXISTS l0;
DROP TABLE IF EXISTS s4;
SELECs4;
SELECT name FROM sqlite_master WHERE name GLOB ' [a]';


sqltext:
ANALYZE;
DROP TABLE IF EXISTS sqlite_stat1;
ANALYZE;
DROP TABLE IF EXISTS sqlite_stat1;
DROP TABLE IF EXISTS s2;
DROP TABLE IF EXISTS l0;
DROe_master WHERE name GLOB ' [a]';


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,b,c,d,e,f,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','600000 160000 40000 1000 2000 60� 100 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE e=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE c=3;
SELECT i FROM t4 WHERE f=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE g=7;
SELECT i FROM t4 WHERE E=8;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT total(1) i LIMIT-5)
SELECT ( VALUES(1) UNION ALL SELECT total(1) i LIMIT-5)
 x FROM i;


sqltext:
CREATE TABLE x(i0 blobger primary key, a TEXT NULL);
INSERT INTO x (a) VALUES ('00');
CREATE TABLE tempx(i0 integer primary key, a TEXT NULL);
INSERT INTO tempx (a) VALUES ('0');
CREATE VIEW t0� AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx ON tx.i0=x.i0;
CREATE VIEW t010 AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx on tx.i0=x.i0;
CREATE VIEW t02 AS SELECT * FROM t01 UNION SELECT * FROM t010;
S;


sqltext:
PRAGMA avacuum= tal;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES(1,randomblob(2500));
INSERT INTO t1 VALUES(220015012001-01-01-01,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob( zeroblob(1))FROM t1;
DELETE FROM t1 


sqltext:
CREATE TABLE t0(x, y, UNIQUE(x, x));
INSERT INTO t0 VALUES('0ne','000');
SELECT * FROM t0 WHERE x='0ne';
PRAGMA integbity;
SELECT * FROM t0 WHERE x='0ne';_check;


sqltext:
CREATE TABLE t1(x, y DEFAULT(datetime(ALL'0 ')));
INSERT INTO t1(x)VALUES(1);
INSERT INTO t1(x)VALUES(1);VACUUM


sqltext:
CREATE TABLE t1(x, y DEFAULT(datetime(DISTINCT'0 ')));
INSERT INTO t1(x)VALUES(1);
INSERT INTO t1(x)VALUES(1);VACUUM


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1 (docid, c) VALUES (1, 'T00 0 te00');
INSERT INTO t1(docid,c) VALUES (2, 'T00t w00 0 test');
INSERT INTO t1(docid, c) VALUES (3, 'T0is i0 0 test');
DELETE FROM t1 WHERE C=1; --00UES (3, 'T0is i0 0 tezt');
DELETE FROM t1 WHERE C=1; --0000
INSERT INTO t1(docid, c) VALUES (1, '00');


sqltext:
WITH i(x) AS (WITH i(x) AS ( VALUES( 1=11) UNION SELECT  zeroblob(1) FROM i)
SELECT xM i)
SELECT x FROM i LIMIT 2 ;


sqltext:
WITH i(x) AS ( VALUES(12001-01-01) UNION ALL SELECT 1=1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT  86


sqltext:
CREATE TABLE t0b(x);
INSERT INTO t0b(rowid, x) VALUES( 1=11,10),(2,1 >2001-01-01=1);
UPDATE t0b SET rowid=rowid;
UPDATE t0b SET rowid=rowid+1 WHERE x=10;
UPDATE t0b SET rowid=rowid;
UPDATE t0b SET rowid=rowid+1


sqltext:
CREATE TABLE t10(x INTEGER PRIMARY KEY, y INT, z CHAR(100));
CREATE INDEX t000 ON t10(y);
EXPLAIN QUERY PLAN
SELECT a.x, b.x
FROM t10 AS a JOIN t10 AS b ON a.y<b.x
WHERE (b.y=$ab0 OR b.y<$aby);
EXPLAIN QUERY PLAN
SELECT a.x, b.x
FROM t10 AS a JOIN t10 AS b ON a.y<b.x
WHERE (b.y=$ab0 OR b.y<$ab0);
0);


sqltext:
CREATE TABLE t01(x, y);
CREATE TABLE t02(x, y);
CREATE VIEW v0 as
SELECT x, y FROM t02
UNION ALL
SELECT x,NOT y FROM t02;
CREATE INDEX t000 ON t01(x);
CREATE INDEX t00x ON t02(x);
EXPLAIN QUERY PLAN
SELECT DISTINCT* FROM v0 WCO GROUP BY y;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, 'ERT INTO SING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUEC(100000000000000���ocid, x) VALUES(0, 0b');
SELECT rowid 8C;


sqltext:
CREATE TABLE t1( [a]a, b, c);
INSERT INTO t1 VALUES('a', 1, 1);
INSERT INTO t1 VALUES('0', 6, 6);
INSERT INTO t1 VALUES('c', 5, 5);
INSERT INTO t1 VALUES('0', 4, 4);
INSERT INTO t1 VALUES('0', 5, 5);
INSERT INTO t1 VALUES('b', 6, 6);
INSERT INTO t1 VALUES('b', 4, 4);
INSERT INTO t1 VALUES('c', 7, 7);
INSERT INTO t1 VALUES('0', 2, 2);
INSERT INTO t1 VALUES('0', 3, 3);
INSERT INTO t1 VALUES('a', 3, 3);
INSERT INTO t1 VALUES('b', 5, 5);
INSERT INTO t1 VALUES('c', 4, 4);
INSERT INTO t1 VALUES('c', 3, 3);
INSERT INTO t1 VALUES('a', 2, 2);
SELECT * FROM t1 GROUP BY@a, a,oid


sqltext:
CREATE TABLE t1( [a]a, b, c);
INSERT INTO t1 VALUES('a', 1, 1);
INSERT INTO t1 VALUES('0', 6, 6);
INSERT INTO t1 VALUES('c', 5, 5);
INSERT INTO t1 VALUES('0', 4, 4);
INSERT INTO t1 VALUES('0', 5, 5);
INSERT INTO t1 VALUES('b', 6, 6);
INSERT INTO t1 VALUES('b', 4, 4);
INSERT INTO t1 VALUES('c', 7, 7);
INSERT INTO t1 VALUES('0', 2, 2); VALUES('b', 5, 5);
INSERT INTO t1 VALUES('c', 4, 4);
INSERT INTO t1 VALUES('c', 3, 3);
INSERT INTO t1 VALUES('a', 2, 2);
SELECT * FROM t1 GROUP BY a, a,oid


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES(' sqlite_�urce_id()0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(c,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,e,e));
SELECT DISTINCT* FROM t0 WHERE c=? AND b=? AND c=? AND d=? AND e=?;


sqltext:
CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL);
INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1);
INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2);
INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2);
SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" ORDER BY    "a","b""a","b""a","b",  "a","b" LIMIT 1) OR "";


sqltext:
BEGIN TRANSACTION;
CREATE TABLE a(i0 INT0000);
INSERT INTO a VALUES(1);
INSERT INTO a VALUES(2);
INSERT INTO a VALUES(3);
CREATE TABLE b(i0 INT0000);
INSERT INTO b VALUES(NULL);
INSERT INTO b VALUES(3);
INSERT INTO b VALUES(4);
INSERT INTO b VALUES(5);
COMMIT;
SELECT* FROM a WHERE i0 NOT IN (SELECT DISTINCT zeroblob(1)"a"FROM a,b a,b,"b");


sqltext:
CREATE TABLE t102 (i0 BEXT UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AS LEFT JOIN t102 ONtt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 AS tAN JOIN t102 ON 0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 AS nAN JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102  t
JOIN t102 A0));


sqltext:
SELECT *
FROM (t0), ( ( t05, (t0, ( a,t0, (t05, (t0, ( t05, (t0, (Fa,bt0), �tE), (t0)), ( ( t05, (tt0)), ( ( t05, (t0, ( a,bt0), �tE),t0), (t0, (t05, (t0, ( t05, (t0�tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a,bt0), �tE), (t0)a,bt0), �bt0), �tE), ( a,bt0)a,bt0)E)a,bt0), �bt, ( a,bt0), �tE), (t0)a,bt0), �bt0), �tE), ( a,bt0)a,bt0)E)a,bt0), �bt0), �tE), ( a,bt0)a,bt0)E), (t0)
WH),


sqltext:
SELECT *
FROM (t0), ( ( t05, (t0, ( a,bt0), �tE),t0), (t0, (t08, (t0, ( t05, (t0, ( a,bt0), ( t05, (t0, ( a,bt0), �tE),t0) �t0), �tE),t0), (t0, (t08, (t0 t05, (t0, ( a,bt0), �tE),t0), ( t05, (t0, ( a,bt0), ( t05, (t0, ( a,bt0), �tE),t0) �tE), (t0)a,bt0), �bt0), tE), (t0)a,bt0), �bt0), �tE), (t0)a,bt0)E), (t0)
WH),


sqltext:
SELECT *
FROM (t0), ( ( t05, (t0, ( a,bt0) t05, (t0, ( a,bt0), ( t05, (t0, ( a,bt0), �tE),t0)  a,bt0), ( t05, (t0, ( a,bt0), �tE),t0) �tE), (t0)a,b, �tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a�tE), (t0)a,b, �tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a,bt0), ( t05, (t0, ( a,bt0), �tE), �tE),t0)  a,bt0), ( t05, (t0, ( a,bt0), �tE),t0) �tE), (t0)a,b, �tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a�tE), (t0)a,b, �),t0) �tE), (t0)a,bt0�, �bt0), �tE), (t0)a,bt0)E), (t0)
WH),


sqltext:
SELECT *
FROM (t0), ( ( t05, (t0, ( a,bt0), �tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a,((((((((((((((((((((((((((((((((((((((((((((((((((0)a,bt0)E), (t0)
WH),


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts4(c);
INSERT INTO t1(docid,c)VALUES(1,'i0 0 test');
INSERT INTO t1 (docid, c) VALUES (2,-'T000 w0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test');
DELETE FROM t1 WHERE abs(C)IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d;
DROP TABLE t1o0d;


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts4(c);
INSERT INTO t1(docid,c)VALUES(1,'i0 0 test');
INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test');
DELETE FROM t1 WHERE abs(C -1)IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d;
DROP TABLE t1o0d;


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts4(c);
INSERT INTO t1(docid,c)VALUES(1,'i0 0 test');
INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test');
DELETE FROM t1 WHERE abs(1)IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts4(c);
INSERT INTO t1(docid,c) SELECT docid, count(1) c FROM t1o0d;
DROP TABLE t1o0d;


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts4(c);
INSERT INTO t1(docid,c)VALUES(1,'i0 0 test');
INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test');
DELETE FROM t1 WHERE abs(1)IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts4(c);
INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d;
DROP TABLE t1o0d;VACUUM


sqltext:
#REAABLE t1(a, b);
PRAGMA auacuuYKO00;
PRAGMA synchronous=N00000;
PRAGMA page_size=100;
PRAGMA page_size=1000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA journal_000;
PRAGMA page_size=1000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA journal_000;
PRAGMA page_size=1000;
ode=TRUN;);


sqltext:
#REATE printf(1,1) b);
PRAGMA auacuuY=O00;
PRAGMA synchronous=NO00;
PRAGMA synchronous=N000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA jourNaY=O00;
PRAGMA synchronous=NO00;
PRAGMA synchronous=N000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA jourNal_mode=TRUNC;
PRAGMA jourl_mode=TRUNC;
PRAGMA journal_mode=TRUN;);


sqltext:
#REATE printf(1,1) b) synchrono�s=NO00;
PRAGMA synchronous=N000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA journal_mode=TRUNC;
PRAGMA journal_mode=TRUN;;
PRAGMA auacuuY=O00;
PRAGMA synchrono�s=NO00;
PRAGMA synchronous=N000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA journal_mode=TRUNC;
PRAGMA journal_mode=TRUN;);


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(100000.00000000000, '02001-01-010');
INSERT INTO t0(docid, x) VALUES(0, '0b');
SELECT rowid FROM t0 WHERE x MATCH 'REATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(100000.00*' ORDER BY docidDE


sqltext:
CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b, c, b, b, c,$d,$e,$f,E;


sqltext:
CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b, c, b, b, c, d,$e,$f,?;


sqltext:
CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b, c, b, b, c, d,$e,$f, "a","b"E;


sqltext:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2(a, b);
CREATE VIEW a002 AS SELECT round(1,1)AS m FROM t2 ORDER BY-a;
EXPLAIN QUERY PLAN
SELECT t1.z, avg(1)
FROM t1 JOIN a002 ON t1.y=a002.m
WHERE t1.x IN a002 -1


sqltext:
CREaTE TABLE t0(e00T);
SELECT DISTINCT "a", "a","b","ba",  "a","b","ba", "a","b","ba","b","aa","b","a", "a","b","ba","b","a","b","ba""a","b","ba","b","aa","b","a", "a","b","ba","b","a","b","ba"b


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, b, c);
INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(---��----�(---��----�-------4-------wS-------4-------wS';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize( "a","b" "a", "a","b", '', '0 VIRTUAL T�}ple," "a", "a","b", ', '', 'xVIRTUAAB��������}��������������LE t3 ���USING fts3token "a","b"( "a","b0 VIRTUAL TAB��������}��������������LE t3 ���USING fts3token "a","b"( "a","b" "a", "a","b", ', '', 'xVIRTUAL$TAB��������}ple," "a", "a","b", ', '', 'xVIRTUAL$TAB��������}ple, A', '0000');


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��000,bbb REGEXP'bb0');
SELECT * FROM x where y MATCH 'bbIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIbL TA^^�^^BLE x USIN TA^^�^^BLE x U[ING fts4IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIbL TA^^�^^BLE x USIN9TA^^�^^BLE x U[ING fts4(y,';


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a int, b int, c int);
CREATE INDEX i1 ON t1(a,b);
INSERT INTO t1 VALUES(1,1,9);
INSERT INTO t1 VALUES(2,4,8);
INSERT INTO t1 VALUES(3,9,7);
INSERT INTO t1 VALUES(6,6,4);
UPDATE t1 SET b=a WHERE a OR+(SELECT a,?, a,b,2,4,8 a,b)


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a int, b int, c int);
CREATE INDEX i1 ON t1(a,b);
INSERT INTO t1 VALUES(1,1,9);
INSERT INTO t1 VALUES(2,4,8);
INSERT INTO t1 VALUES(3,9,7);
INSERT INTO t1 VALUES(6,6,4);
UPDATE t1 SET b=a WHERE /* */(SELECT a,b, a,b,2,4,8 a,b)


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE NULL=x2.a;
SELECT $total(1)p FROM y AS y1, y  A, y  AS1, y y1, y S1, y  AS y1, y A, y  AS y1, y ASy1, y S1, y  AS y1, y AS y1, y   y y1;


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t000000000�AFTER INSERT ON TempT000e BEGIN
INSERT INTO TEMPT000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>3 OR  Te0tID>1 OR Te0tId<2;
Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


sqltext:
PRAGMA main.cache_size= 10;
PRAGMA temp.cache_size = �0;
CREATE TABLE temp.tt(a, b);EXPLAIN
INSERT INTO tt VALUES(randomblob(500), randomblob(600));
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(540), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO �t SELECT ob(500),lob(600) FROM �t;


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,b,c,d,g,g,g,g);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','600000 160000 40000 10000 20�0 600 100 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE a=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE g=3;
SELECT i FROM t4 WHERE d=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE g=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_comp 0 b c a,b d');
SELECT(' 0b d');
SELECT	snippet(ft0, '0', '0', '', -1, 8) FROm ft0 WHERE	snippet(ft0, '0ileoption_used(1)f 0 b c a,b d');
SELECT(' 0b d');
SELECT	snippet(ft0, '0', '0', '', -1, 8) FROm ft0 WHERE	snippet(ft0, '0', '0', '', -1, 8) FROM ft';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileo0b d');
SELECT	snippet(ft0, '0', '0', '', -1, 8) FROM ft0 WHERE	snippet(ft0, '0', '0', 'ption_used(1)f 0 b c a,b d');
SELECT(' 0b d');
SELECT	snippet(ft0-1, 8) FROM ft0 WHERE	snippet(ft0, '0', '0', '', -1, 8) FROM ft';


sqltext:
PRAGMA synchronous = NORMAL;
PRAGMA page_size = 1024;
PRAGMA journal_mode = WAL;
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
PRAGMA wal_checkpoint;EXPLAIN
INSERT INTO t1 VALUES(randomblob(800));
BEGIN;
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*   2 */
INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERT INTO t1 SELECT  last_insert_rowid() t1;   /*  16 */
SAVEPOINT one;
INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 128 */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 256 */
ROLLBACK TO one;
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*  32 */
INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT-randomblob(800) FROM t1;   /* */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 256 */
COMMIT;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a CHECK(1),"b" b);
INSERT INTO n00be0s(oid) VALUES(NULL);
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
UPDATE n00be0s set a= oid, b = '0000';
COMMIT;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a  char(1)UNIQUE,"b" b);
INSERT INTO n00be0s(oid) VALUES(NULL);
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
UPDATE n00be0s set a= oid, b = '0000';
COMMIT;


sqltext:
ATTACH''AS noname;
ATTACH':memory:' AS inmem;
BEGIN;
CREATE TABLE noname.n00000(x);CREATE TABLE noname.n0000(y);
CREATE TABLE TEMP.m000(z);ANALYZE;
SELECT name FROM n�name.sqlite_master;
SELECT name FROM inmem.sqlite_master ;;


sqltext:
CREATE TABLE t1(x char(1)UNIQUE);
CREATE TABLE t2(y);
INSERT INTO t1 VALUES(111);
INSERT INTO t1 VALUES(222);
INSERT INTO t2 VALUES(300);
INSERT INTO t2 VALUES(444);
SELECT * FROM t1, t2
WHERE (x=111 AND y!=444) OR x=222
ORDER BY x, y;


sqltext:
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(9);
INSERT INTO t0 VALUES(2);
INSERT INTO t0 VALUES(3);
INSERT INTO t0(rowid,x) SELECT nullif(x*2+1.,14), x+100 FROM t0;
S


sqltext:
PRAGMA encodiAg=6;
CREATE TABLE t1(xUMN c REAL blob D);
INSERT INTO t1 VALUES(1);
ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '9�';
ALTER TABLE t1 ADD COLUMN c REAL blobULT '9e99';
ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '0';
UPDATE t1 SET x=x+1;


sqltext:
PRAGMA auto_vacuum = incremental;
PRAGMA journal_mode = DELETE;
CREATE TABLE t1(a PRIMARY KEY, b);
INSERT INTO t1 VALUES(randomblob(1000), randomblob(100));
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(:000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(100 ), randomblob(1000) FROM t1;
DELETE FROM t1 WHERE rowid%2;


sqltext:
CREATE TABLE t1(a char(1), b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL;
INSERT INTO t1 VALUES(-1, -1, -1, NULL);
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2* random()a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2<a,2*b,2*c,d FROM t1;


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', 'a''00',1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','00��0������������',90);
INSERT INTO t1 VALUES(4,'0','0',2);
INSERT INTO t1 VALUES(5,'00','0',2000);
SELECT trim(1,1) x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B)


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( random() -11)FROM i ORDER BY 1)
SELECT x FROM i LIMIT 1775


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c,a,b);
INSERT INTO t1(docid,c)VALUES(1,'i0 0 test');
INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test');
DELETE FROM t1 WHERE docid IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d;
DROP TABLE t1o0d;


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c a,b);
INSERT INTO t1(docid,c)VALUES(1,'i0 0 test');
INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test');
DELETE FROM t1 WHERE docid IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts3(c a,b);
INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d;
DROP TABLE t1o0d;


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT suBstr(1,1, -1.) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 10;


sqltext:
SELECT sqlite_rename_trigger('CRE@T0 ER-0���RIGGRIGGER 0���TRI��RIGER 0���TRIGGCR 0GGER 0���RIGER 0���TRIGGER 0���RIGGER 0���x00(WHEN',NULL);


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102  t1 ON t1.i0 GLOB  sqlite_compileoption_used(1)= t0.i0 OR (t0.i0=t1.i0));


sqltext:
SELECT NULL "a","b" UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY MA�CH(1)ys x;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY MAT�H(1)ys x;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY MATC�(1)ys x;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY OFMATCH(1)ys x;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY MATCH(1%Y)ys x;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(X *-11)FROM i GROUP BY 1)
SELECT x FROM i LIMIT 337


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY OFINDEX(1)ys x;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY REPLANX(1)ys x;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY RTOEINDEX(1)ys x;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY REINDEX(1%Y)ys x;


sqltext:
CREATE TABLE t1(a, b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE /* */NOT  000;
INSERT INTO t1 VALUES(-1, -1, -1, NULL);
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2* count(1)a,2*b,2*c,d FROM t1;ANALYZE


sqltext:
CREATE TABLE t1(a, b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE /* */NOT  'a';
INSERT INTO t1 VALUES(-1, -1, -1, NULL);
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2* count(1)a,2*b,2*c,d FROM t1;ANALYZE


sqltext:
CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,c,c,d,b,c,a,b,c,d,b,c,e,c,a,b,c,d,b,c,d,c,e));
SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?;


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEeER PRIMARY KEY);
CREATE TABLE t0(y DE REALLENCES"����b"UNIQUE REFERENCES t1(x) ON DELETE SET DEFAULT);
CREATE TABLE t3(y REFERENCES t0 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13);
I


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT quote(1)p, char(1) q FROM x AS x1, x AS x2 WHERE NOT (P)=x2.a;
CREATE VIEW z AS
SELECT ALL*, y2.p FROM y AS y1, y AS y2 WHERE y1.q=y2.q;
SELECT ALL* from z;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0������������');
INSERT INTO t0 VALUES('0');
INSEWT;
I


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT  total(1) FROM t102 AS t0 
JOIN t102 AS 
LEFT JOIN t102  t1 ON t2.i0 IN t102 
JOIN t102 AS t2 ON(t2.i0= avg(1)OR (t0.i0<>500 AND t2.i0=t1.i0));


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBBt̍tatwoBB{̍t̍oBBt̍t̍00');
NSER 


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT unicode(1) a, b [a],A'000' FROM t1
UNION
SELECT#b,a, '000' FROM t1
ORDER BY 2, 3,a, '000' , 2, 3,a, '000' ,a, '000' , 2,  "a","b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b [a],A'000' FROM t1
UNION
SELECT#b, unicode(1)a, '000' FROM t1
ORDER BY 2, 3,a, '000' , 2, 3,a, '000' ,a, '000' , 2,  "a","b"


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e));
SELECT * FROM t0 WHERE a= /* */b==? AND d=E AND b=? AND C AND c=D AND d=E AND b=? AND c=? AND d=E AND e OR?;


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree(i a hIDDEN,hhhhhXhhhhhhi aEATE EN,hhhhhXhhhhhhhh y1,hh y1, y2);


sqltext:
CREATE TABLE t0( a,ba,b,c,d intP UNIQUE,bI P UNIQUe, PRIMARY KEY(a,b,c,d,c)) WITHOUT ROWID+REINDEX rtrim) IN


sqltext:
CREATE TABLE t0( a,ba,b,c,d,intP UNIQUE,bI P UNIQUe, PRIMARY KEY(a,b,c,d,c)) WITHOUT ROWID;REINDEX rtrim) IN


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption_used(1)f 0 b c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH   ' -1pileoption_useREINDEX  OR)a''b''a''b''c';�


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT   time(1,1,1), a,b FROM y AS y1, y   A, y AS y1, y  A1, x  A, y AS y1, y  AS y1, y , y  A y1;


sqltext:
BEGIN;
CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50)UNIQUE not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID));
CREATE TABLE A00000000000000000(L0 UNIQUE, Q00 int not null, N000000 text(50)UNIQUE not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID));
CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000);
CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null);
CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID));
CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID));
CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null);
CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primAry key (TQUNID));
CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID));
CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID));
CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID));
CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null);
CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID));
CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null);
CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID));
CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID));
CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID));
CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID));
CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null);
CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null);
CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, O0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null);
CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID));REINDEX TABLE P0(50) null,) not null, OB0ECTID text(50) not nulll, constraint P0 primary key (ISSUEID, OB0ECTID));
CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null);
CREATE TABLE P000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null);
0


sqltext:
CREATE TABLE t3(a,I,TEGER PRIMARI,TEY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLA\E DESC,oid C;


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VAlUES(1,'00','�0',1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','00000',90);
INSERT INTO t1 VALUES(4,'@','0',2);
INSERT INTO t1 VALUES(5,'00','0',2000);
SELECT x FROM t1 WHERE c=instr( zeroblob(A),b)OR a=instr( zeroblob(A),b)OR'0' ORDER BY +x;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT load_extension(1,1)q FROM x AS x1, x AS x2 WHERE-x1.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y7 y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y), avg(1)y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS  y S


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1)) "a", min(1<1)"b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1)) "a", min(1,1)"b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, yy1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))  /* */in(1,1)"b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1)) "a", min(101)"b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A0 y  CS1, y S�y1y  AS y1, y S1, y  ASy1, y S1, y y,wy y1, y S1, y  AS y1, y


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c,;
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALtokench '0 I 0 M', 'N 0 K 0 C','0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C');
INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N');
INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, round(1,1)-01,1) x FROM i LIMIT 1002


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001501-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(460) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT CURRENT_DATE FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT CURRENT_TIME FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+42001-01-01,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x | group_concat(1,1)| +322001-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +3220012001-01-01-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT group_concat(1,1) x, length(y) FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;VACUUM


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1;
INSERT INTO t1 SELECT x || +322001200101,randomblob(40 -10)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);EXPLAIN
CREATE INDEX t4all ON t4(b,b,b,d,e,b,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','000010 160000 40000 10000 2000 600 100 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE a=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE b=3;
SELECT i FROM t4 WHERE d=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE g=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(b,b,b,d,e,b,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','000010 002000 40000 10000 2000 600 100 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE a=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE b=3;
SELECT i FROM t4 WHERE d=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE g=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
CREATE TABLE t102 (i0 T�XT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 
JOIN t102 AS4
LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON( @1i0=+t0.i0 AND( last_insert_rowid()=t1.i0));


sqltext:
CREATE TEMP TABLE t0001(a���������,b,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[KS(-] **';


sqltext:
CREATE TEMP TABLE t0001(a,b,c);
SELECT * FROM sqlite_temp_master sqlite WHERE sql GLOB '*(a,b[^S(-] **';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('0 0 bbb c00', '00b 000');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00*';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '%=yness  %Yyness anand %Yyness and jujumping');
SELECT rTCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '%Yyness and %Yyness and juss and %Yyness jumping');
SELECT rowid FROM t1 WHERE ct1 USING fCH #r[n jump';


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e));
SELECT * FROM t0 WHERE a=C AND c=? AND d=e AND b=? AND c= /* */b=C AND c=? AND d=e AND b=? AND c=? AND d=E AND~~~~~d=E AND e OR ~~~~~~~~~~~~~~~d=E AND e ORO


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('2001-01>>>>!!!!!!!!!!!!!!!!!>>>>>>>>>>>>>>>>>>>>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!>>>>>>>!!!!!!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-01f00', '000');


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('2001-01>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>..."..>>>>-01f00', '000');


sqltext:
CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,a,b,c,c,b,c,c,e,a,b,c,d,e,e));
SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND c<? AND a=?;


sqltext:
CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,a,b,c,c,b,c,c,c,a,b,c,c,e,e));
SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND c<? AND a=?;


sqltext:
CREATE VIRTUAL TABLE
�1 USING fts3(cotcottent, tokeni�etent, tokeni�e portsr);
INSdRT INT- t1(rowid, contejt4 juyZyeing eing and juyyyeing  quote(1)nd juyymping');
Em


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'KEYryyeing and juyyyeing eing and juyyyeing pRr)eing eing and juyyyeing ;
INSERT INTO t1(rowid, contand Ouyyand juyymping');
SEm


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b|| round(A,3)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b|| round(A,9)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b| randomblob(1)| round(A,4)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; c FROT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b|| round(A,4)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a| randomblob(1)|b||c -1, b||c||a, c||a||b FROM abc; c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b|| round(A,4)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b| randomblob(1)|c -1, b||c||a, c||a||b FROM abc; c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
CREATE TABLE t000(c0��a�ba,b�,I, a sqlite_compileREALon_get(1)UNIQUE,INT0000);
SELECT c000.* FROM t000 AS	c�0�NATURAL JOIN t000 AS0 JOIN t000 AS00 NATURAL JOIN t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c
;
INSERT,INTO x1(docid,a,b,c) VALUES 0, 'H T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L:0', '0 Z 0 J Q', '0');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H  S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, 'trseparators=0 K A V', 'Q W 0 T J');
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr�rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr>rrr`rrrrrrrrrrrrrrrrremove_diacritics=rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrSrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr-rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr0b00rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr�rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I ����, 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');*INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0�', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES@10, '0 I 0 M', 'N 0 K 0 C'M 'A H T Q n');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1!docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J QTIONIDSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W�E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0
N 0 0', 'B 0 I H Y');
INSERT Iocid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C');
INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N');
INSERT INTO x1(docid,a,b,c) VALUES(19, 'T�0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c
;
INSERT INTO x1(docid,a,b,c) VALUES 0, 'H T',  V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,c,b,c) VALUES(1, 4K N L:0', '0 Z 0 J Q', '0');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H  S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, 'trseparators=0 K A V', 'Q W 0 T J');
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr�rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr>rrr`rrrrrrrrrrrrrrrrremove_diacritics=rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrSrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr-rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr0b00rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr�rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I ����, 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');*INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0�', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES@10, '0 I 0 M', 'N 0 K 0 C'M 'A H T Q n');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1!docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J QTIONIDSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 CJ');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C ������������������������� T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0
N 0 0', 'B 0 I H Y');
INSERT Iocid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C');
INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'a 0 0 Y 0', 'G 0 M R N');
INSERT INTO x1(docid,a,b,c) VALUES(19, 'T�0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS3(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0�', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q n');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', '777777777777777777777777777T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(docid,a,b,c) VALUES(17, 'Y N', 'V 0');


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0
LEFT JOIN t102  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t1.i0< t2.i0 OR 50 AND t0.i0=t1.i0 AND t0.i0=t2.i0) AND t2.i0<t1.oid);


sqltext:
CREATE TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  0XADDADD0NOTNULL;
PRAGMA automatic_index=OFF;
SELECT * FROM t0a LEFT JOIN t0b ONT JOIN t0b ON (x<99) OR (x=9) OR (x=99) ORDER BY x;VA3UUM


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(-777777777777777777777) FROM i GROUP BY@1)
SELECT x FROM i LIMIT 10;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1��)', 'foo');
INSERT INTO ft VALUES('xtension(131)', 'foo');
INSERT INTO ft VALUES(' load_extension(131)', 'foo');
INSERT INTO ft VALUES('xtension(1�1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft;
SELECT offsets(ft) FROM ft;f


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS0y1, y  AS1, y AS0y1, y   y1, x A, y  AS y1, y AS y y1;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 2001-1-01��01-01-01');
INSERT INTO t0 VALUES('20012001-01-01-01-01bb cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01-01';
END:�


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR
x2.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  AS1, y y1, y A, y y1,y y1, y A, y  AS  y AS y 


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR
x2.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,y y1, y A, y JOIN y AS y 


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS q, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1,  x  AS y1, y AS A, x  AS yy y1;


sqltext:
CREATE TABLE t00b AS SELECT "a","b"COLLATE''LIKE''LIKE'  "a","b"COLLE�'LIKE'',"b"COLLATE''LIKE''L;
S0',"b"COLLATE''LIKE''L;
 00b;


sqltext:
CREATE TABLE t00b AS SELECT "a","b"COLLATE''LIKE''LIKE'  "a","b"COLLE''LIKE'',"b"COLLATE''LIKE''L;
S0'<"b"COLLATE''LIKE''L;
 00b;


sqltext:
CREATE TABLE t00b AS SELECT "a","b"COLLATE''LIKE''LIKE'  "a","b"COLLE'COLLATE'LIKE'',"b"COLLATE''LIKE''L;
S0',"b"COLLATE''LIKE''L;
 00b;


sqltext:
DETACH 10 IN (SELECT rowid FROM sqlite_r) IN (SELECT romaster) IN (SELECT row|d FROM sqlite_master);


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00',0e02,1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','�0000',90);
INSERT INTO t1 VALUES(4,'0','0',2);
INSERT INTO t1 VALUES(5,'00','0',2000);
SELECT x FROM t1 WHERE c=instr( char( a,?,-01-01),b)OR a='0' ORDER BY +x;


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY);
INSERT INTO t0t0006 VALUES(' s�lite_compileoption_used(1) -1');
INSERT INTO t0t0006 VALUES('AB�������������X');
SELECT DISTINCT sqlite_compileoption_get(A)&a FROM t0t0006;


sqltext:
CREATE TABLE AUTOITCREMENTt0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * ? AND e=?;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(Tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('dneatwoBtϽ����߽����
�����������޽����NOTN������޽����TNULL00');
AL


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT  /* */(A),"�", a,b FROM y  y1, y y1, y   A, y Ay1, y   A, y AS y1, y  A1, x  AS y1, y At y 


sqltext:
PRAGMA mmap_size = 0;
PRAGMA page_size = 1024;
PRAGMA cache_size =ALL00;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
CREATE INDEX i3 ON t3(x);
INSERT INTO t3 VALUES(randomblob(130));
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(000) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, -9555555555555555.00 ||0-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, -1555555555555555.00 ||0-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, -1555555555555555.00 ||0-01) x FROM i LIMIT 200


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' -1-time(1,1,1) @1 @1 1=1';f


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0t�ϐ�������0����������������������������������������������������������������������U�S('ab0');VACUUM


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c rtrim(1,1)NTO')cid, c VALUES (2, 'T000 w0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, i0 0 test');
DELETE FROM t1 WHERE docid < hex(1);
DROP TABLE IF EXISTS)td;


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e));
SELECT * FROM t0 WHERE d=?BETWEEN?BETWEEN?AND@b=?BETWEEN /* */oid AND d=? AND e=A;


sqltext:
CREATE TABLE t5(a, b);
SeLECT  group_concat(1,1)"b",count(*)WHERE(SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","ba")WHERE(SELECT"b""a",0) )NOTNULL;


sqltext:
;
SeLECT  group_concat(1,1)"b",count(*)WHERE(SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a">"ba")WHERE(SELECT"b""a","ba","b",count(*) a, "a","b"t0) )NOTNULL;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.a AS q, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, x A, x  AS y1, y AS A, x  AS yy y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS q, x2.b AS q FROM x AS x1, x , x AS x2
WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, x AS x1, x , x  A, x  AS y1, y AS A, x  A y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.A AS q, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y   A, y ASlA, x  AS yy y1;


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEGER PRIMARY KEY);
CREATE TABLE t0(y DE�REFERENCES""UNIQUE REFERENCES t1(x) ON UPDATE SET DEFAULT);
CREATE TABLE t3(y REFERDE REFERENCES""UNIQUE  NULL);REPLACE INTO t1 VALUES(13);VACUUM
I


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(DISTINCT nullif(1,1)) "a","b"WHERE"";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y, y S1, y  AS y1)p FROM x AS y1E y  


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(DISTINCT nullif(1,1)) "a","b"WHERE"";
SELECT  total(DISTINCT nulli1)p FROM y AS y, y S1, y@ y1)p FROM x AS y1E y  


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b MATCH x2.b AS q FROM x AS x1, x AS x2 WHERE q=q+time(1,1,1)OR-x1.a=x1.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, x y1, y AS y y1;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=Ľ������������������OR��00'woBtϽ���O��Ľ���);
IaB");
INSERT INTO t0 V%L


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=Ľ�������������������OR��TO t0 VALUES('oneatwoBtϽ���O��Ľ���� ����������B");
INS00');
INSERT INTO t0 VAL


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2)UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a, "a","b" , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a, '000' , '000 , 2,  a,b,"b"


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,2001-01-013,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c LIKE '���0*';
CREATE INDEX t0b ON t1(b);
REINDEX;
SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=ritics=0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('\0��');


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(100000.00000000000, '002001-0B-02001-01-011');
INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT count(
)p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=q+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,y y1, y A, y  AS  y A


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT count(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE q= last_insert_rowid()=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,y y1, y A, y  y A


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT count(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=q+time(1,1,1)OR
x1.a -1=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,y y1, y A, y  AS  y A


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))WHERE"b"AND -1;
SELECT $toVa|(SELECT $tota|(1)p FROM y AS y, y S1, y , y   AS y1)p FROM x AS y1, y  A1, y S1, y  AS M x 


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT avg(2001-01-011) b,a, '000' FROM t1
GROUP BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,"b",a,a,a, b<"b",a,a, '000' , '000', 2b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT avg(2001-01-011) b,a, '000' FROM t1
GROUP BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,"b",a,a,a, b;"bb"


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p,-lower(1)q FROM x AS x1, x AS x2 WHERE NULL=x2.a;
SELECT  total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y, y y1, y S1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y , y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p,-lower(1)q FROM x AS x1, x AS x2 WHERE  1=1=x2.a;
SELECT  total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y, y y1, y S1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y , y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( 1=11)p,-lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y, y y1, y S1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y , y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, sum(1)-lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y, y y1, y S1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y , y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, group_concat(1,1)-lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y, y y1, y S1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y , y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0�', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q n');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0�W E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T 0', 'W Y N', id,a,b,c) ES(1


sqltext:
SELECT NULL,  "a","b""a","b""a","a" "�","a","a","b" UNION SELECT"b" UNI UNION SELECT"b" UNION SELECT "b"LL UNION
SELECT 1 UNIONLL UNION
SELECT 1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNION SELECT 2'x'
ORDER BY "a","a","b";


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid,c)VALUES(1,'i0 0 test');
INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test');
DELETE FROM t1 WHERE docid > hex(12001e01-01);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d;
DROP TABLE t1o0d;


sqltext:
PRAGMA mmap_size =" 00be0s1)";
PRAGMA page_size = 1024;
PRAGMQ c@3 SELEM t3;INSERd INTO tM SELECT randomblob(2��) FROp t3;REINDEX


sqltext:
PRAGMA mmap_size ="   -1t(1)";
PRAGMA page_size = 1024;PRAGMA mmap_size ="   -1t(1)";

PRAGMA cache_2ize =AL0��INSERT INTO t3 SEECT randfeeeeeeeeeeeeeweeGeeeemblob(100) FROM t3^^^^^^^;
INSERT INTO t3 SELECT raN~Odt3 SELECT rando) M t3;t3;
INSERTO tH SELECT ranNomblob(112�01-01-0100) FROM t1;
INSERTLECT randomblob(12�01-01-0100) FROM t1;
Idomblob(
00)�'ROM t3;INNSERT INTO t3 SELECT  last_inser`_rowid( t3�SE�NT t3 SELECT randomblob(
00)�'ROM t3;INSERT INTO@SELECT randomblob(200) FROM t3;REInDEX


sqltext:
CREATE TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  0XADDNOTNULL /* */OR
01;
PRAGMA automatic_index=OFF;
SELECT * FROM t0a LEFT JOIN t0b Et0b ON (x<99)AND   0XADDNOTNULL(1)99LOB


sqltext:
PRAGMA mmap_size ="222222222222222222222222+"a"Rze = 1024;
P^=AL=0;T>SCAPE1NSERT INTTE TA>LE t2(x);
CREATE TABLE t3andomblobNSERT INTO t3SELECT!ran��lob(100)BOM t3;
22222ELECT raNTO t* SELECT0ndkmblob(1M0) FROM t3;
VNSERT 0) FROM t3;
INSERTINTO t3 SELECT randomblob(11ft0FROM t3;
INSERT INTO t3 SELECT randomblob(12�01-01e_size =AL001TABLE t1(x)&
Ct3 SELECT  last_inser`_rowid() t3SERT INT t3 SELECT randomb s1lite_compileoption_get(1)O t3 SELERT ra.^ISb��200) FROM t3;REIN


sqltext:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2( a,ba, b);
CREATE VIEW a002 AS SELECT instr(B,A)AS m FROM t2 GROUP BY a,b,ba,ba,b,ba,ba;
EXPLAIN QUERY PLAN
SELECT t1.z, a002.m
FROM t1 JOIN a002 ON t1.y=a002.m
WHERE t1.x IN a002 -1


sqltext:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2( a,ba, b);
CREATE VIEW a002 AS SELECT instr(B,1)AS m FROM t2 GROUP BY a,b,ba,ba,b,ba,ba;
EXPLAIN QUERY PLAN
SELECT t1.z, a002.m
FROM t1 JOIN a002 ON t1.y=a002.m
WHERE t1.x IN a002 OR-1


sqltext:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2( a,ba, b);
CREATE VIEW a002 AS SELECT instr(B,1)AS m FROM t2 GROUP BY a,b,ba,ba,b,ba,ba;
EXPLAIN QUERY PLAN
SELECT t1.z, a002.m
FROM t1 JOIN a002 ON t1.y=a002.m
WHERE t1.x IN a002 GLOB-1


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'messing andCROSSing andCROSSing andCROSSig andCROSSing');
SEROM


sqltext:
CREATE TABLE t102 (i0 TEXT�UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 NATURAL
JOIN t102 AEFT JOIN t102  t1 ON t0.i0 IN  (1)LEFT 
JOIN t102 AS t2 ON(t2.i0+++++++++++++++++++++++++++00 AND t0.i0=+++++++00 AND t0.i0=t0.i0));


sqltext:
CREATE TABLE t0(a, b);
SELECT DISTINCT "a","b",oid b,"b",oid,"�""a","ba","b", *FROM (SELECT DISTINCT"ba","b",oid blo,"b""a","ba","b"boid,"b""a","ba","b", *, *FROM t0) E a=


sqltext:
CREATE TABLE t0(a, b);
SELECT DISTINCT "a","b",oid h,"b",oid,"b""a","ba","b", *FROM (SELECT DISTINCT"ba","b",oid bl,"b"d,"b""a","ba","b", *FROM t0) E a=


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $to|a|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, y S1, y,y, y y1, y S1, y  AS y1)p FROM y  x AS y1, y  A, y  CS1, y S�y1, y  AS y1, y S1, y  ASy1, y S1, y y, y d1, y S1, y  AS y1, y


sqltext:
CREATE TABLE t1( [a]a,b,c);
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0%s0% *s',?,b,c) FROM t1 GROUP BY 00001;


sqltext:
CREATE TABLE t102 (i0 T�XT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 LEFT
JOIN t102 AS4
LEFT JOIN t102  'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t2.i0=+t0.i0 )ND(t0


sqltext:
CREATE TABLE t102 (i0 T�XT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 LEFT
JOIN t102 AS4
LEFT JOIN t102  t102 
JOIN t102 AS t2 ON(t2.i0=+t0.i0 )ND(t0


sqltext:
CREATE TABLE t102 (i0 T�XT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 LEFT
JOIN t102 AS4
LEFT JOIN t102  LEFT JOIN t102  t1 t1 ON tN t11.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t2.i0=+t0.i0 )ND(t0


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT  upper(1) FROM�i ORDER BY 1)
SELECT ALL 1=1/-x FROM i LIMI ORDER BY 1)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00','00000',90);
INSERT INTO t1 VALUES(4,'0','0',2);
INSERT INTO t1 VALUES(5,'00','0',2000);
SELECT x FROM t1 WHERE c=instr( char( a+1E201,01),b)OR a='0' ORDER BY +x;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('00 bbb c00', 'A 0 bbb a,bBLE x USING ftsy,0);bbb 00');
SELECT * FROM x where x MATCH '^bb*NEAR/6 0:0';


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "Q","b"FROM t1
UNION
SELECT b,a"b"FROM t1
UNION
SELECT b,a "a","b"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a;ab"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "�","b"FROM t1
UNION
SELECT b,a "a","�"FROM t1
UNION
SELECT b,a,0'000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a;ab"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1 UNION
SELECT b,a "a","b"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2 b"


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(10000000600000, '02001-01-0T0%)�
INSERT 00.0000(docid,0x)0VALUES(0, 0b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDE


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT avg(1) b,a, '' FROM t1
GROUP BY 2, 2 , 2,  a,b,"b"<a,a, '000' , 2,2, 2 ,$2,  a, 2 , nullif(1,1),a,a, b,"b",a,a,a, b,"b",a,a, '000' , '000' , '000' , '000' , 2, 3,a, '000' ,a, '000' , 2,  a,b,"b"


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUEANDT NULL);
INSERT INTO T102 VALUES ('0');
SELECT 2 FROM t102 AFT JOIN t102 JOIN t102 FT JOIN t102  ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 ASANDE JOIN t102  tANDE JOIN t102 FT JOIN t102 gNEFT JOIN t102  t
J
LE)


sqltext:
CREATE TABLE t1(a,b,c);EXPLAIN
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0%S0%c',?/b,c) FROM t1 ORDER BY rowid;


sqltext:
CREATE TABLE t1(a,b,c);EXPLAIN
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0%s0%#',?/b,c) FROM t1 ORDER BY rowid;


sqltext:
#TTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;ANALYZE /* */;VACUUM;
ATTACH':my:' AS imeom��name;ANALYZE;TEMP';END;


sqltext:
CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(e,e,e,e,e));
SELECT DISTINCT* FROM t0 ;
SELECT DISTINCT* FROM t0 WHEd<? A


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "�","b"FROM t1
UNION
SELECT b,a "a","S"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  ab"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b,a "a","S"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2, 2,  ab"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(2,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b,a "a","S"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  ab"


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT 'a''b' ;
SeLECT  total(A)"a",total(A)"a", a,b FROM y A, y  ASyq, y  , x  ASy1, y  , y  ASy1, y  , y  :Sy1, y  AS1, x  A, y AAS y;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('b*NEAR/6 0:0* F:OM x 00 bbb c00', 'x 00 bbA a,G ftNEAR/6 0:0* F:OM x 0bbc00USING ftsy,0);bbb 00');
SELECT * FROM x where x MATCH '^bb*NEAR/6 0:0* FROM x w';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('b*NEAR/0 0:0* FRO� x 00 bbb c00', 'A a,bBLE x USING ftsy,0);bbb700');
SELECT * FROM x where x MATCH '^bb*NEA*NEAR/0 0:0* FROM x 00 R/6 0:0* FROM x w';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('b*NEAR/6 0:0* F:OM x 00 bbb A a,G ftNEAR/6 0:0* F:OM x 00 c00', 'A a,G ftNEAR���:0* F:OM x 0EXPLAINc00USING ftsy,0);bbb 00');
SELECT * FROM x where x MATCH '^bb*NEAR/6 0:0
 FROM x w';


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,3,'000' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5,3,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(b);
ANALYZE;
SELECT a FROM t1 WHERE b=3 AND a BETWEEN [a]AND 'a'


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(62001-01-0900));
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
BEGIN;
DELETE FROM t0 WHERE rowid%4;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(92001-01-2000));
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
BEGIN;
DELETE FROM t0 WHERE rowid%4;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(1., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(1., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(1., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(1., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '1 USING fts(coZtent, tokenize p�rtM total_changes()t1EEN VALUE VIRTUAL TABLE ruent ��TE VIMATing Gnnning ant jgnt MATing Gnt juBETWEEN VALUE VIRTUAL TABLE t1 USING fts(coZtent, tokenize p�rtMr);
INSERT INTO t1EEN VALUE VIRTUAL TABLE t(rowidd content) VAERE coRtent MATing Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' 1=1d_exte��ion(1��"', 'foo');
INSERT INTO ft VALUES(' @1nsion(131)', ' @1');
INSERT INTO ft VALUES(' 1=1d_extensi_extension(13 strftime(1,1,1,1!1)', 'foo');
INSERT INTO ft VALUES('xtension(1��)', 'foo');
INSERT INTO ft VALUES('foon(13 strftime(1,1,1,1!1)', 'foo');
INSERT INTO ft VALUES('xtension(1��)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH-' @1*@1*1*1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' 1=1d_exte��ion(1��"', 'foo');
INSERT INTO ft VALUES(' @1nsion(131)', ' @1');
INSERT INTO ft VALUES(' 1=1d_extensi_extension(13 strftime(1,1,1,1!1)', 'foo');
INSERT INTO ft VALUES('xtens 1=11��)', 'foo');
INSERT INTO ft VALUES('foon(13 strftime(1,1,1,1!1)', 'foo');
INSERT INTO ft VALUES('xtension(1��)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' @1*@1*1*1';f


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1<a, '00�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a< '00�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '0 �' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '00�' , 2,2, 2 , 2,  a<1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,?);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '00�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '-0�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '0:�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '00�' ,?2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '00�' , 2E2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, ?1"a","b"FROM t1
UNION
SELECT b, strftime(1,a, '00�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1, char(1) , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1, random(), 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1, date(1,1,1),2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,CURRENT_TIMESTAMP , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, abs(1), 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, changes(),2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '00�'  || 2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '+2 days00�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '00CASE�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '00ABORT�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '002001-01-01�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(oid, '00�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '002' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a,	'00�' , 2,2, 2 , 2,  a,1,1 , 2,  a,b,"b",a,a,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SEFRCM t0 E  LECT a, b, c ,,,,,,,,,,,,,,,,,,,,,,,,,,E,<,,,,,,,,,,,,,,, ,l,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,FRCM t0 WH t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G f:"::::::es3(a:::::: date(1,1,1):::::::::::::RT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SEFRCM t0 E  LECT a, b, c ,,,,,,,,,,,,,,,,,,,,,,,,,,E,,,,,,,,,,,,,,,,, ,l,,,,,,,,,,,,,,,FRCM t0 E  LECT a, b, c ,,,,,,,,,,,,,,,,FRCM t0 WHERE  t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHErE c MATCH 'G f:"::::::es3(a% b, c):
IN3E::::::::: date(1,1,1):::::::::::::RT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a,,,,,,,,,,,CM t0 WHERE  t0re, SEFRCM t0 E  LECT a, b, c ,,,,,,,,,,,,,,,,,,,,,,,,,,E,,,,,,,,,,,,,,,,, ,l,,,,,,4,,,,,,,,,,%,J,ts4,,,,,,,,,,,,,,,,,,,,,,H,,,,,,,,FRCM t0 WHERE  t0rDe,four&, '000 0o00', 'onb two');
SEBECT a, b, cFROM 'G f:"::::::es3(a% b,
c):
IN3E::A:::::: date(1,1,1):::::::::::::RT INTO t0tw ';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SEFRCM t0 E  LECT a, b, c ,,,,,,,,,,,,,,,,,,,,,,,,,,E,,,+,,,,,,,,,,,,, ,l,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,FRCM t0 WHERE  t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G f:::::::es3(a% b, c):
IN3E::::::::: date(1,1,1):::::::::::::RT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SEFRCM t0 E  LECT a, b, c ,,,,,,,,,,,,,,,,,,,,,,,,,,E,,,,,,,,,,,,,,,,, ,l,,,,,,,,,,,,, lower(1),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,FRCM t0 WHERE  t0ree four&, '000 0o00', '');
SELECT a, b, c FROM t0 WHERE c MATCH 'G f:::8::::es3(a% b, c):
IN3E::::::::: date(1,1,1):::::::::::::RT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SEFRCM t0 E0 LECT a, b, c , ,,,,,,,,,,,,,,,,,,,,,,,E,,,,,,REFERENCES, ,l,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*,,,,,,,,,,,,,,,1,,,,,,,,FRCM t0 WH t0ree four&, '000 0o00', 'on� two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G f:�::::::eABLE t0 USING fts3(a, SEFRCM t0 E  LECT a, b, c ,,,,,,,,,,E,,,,,,,,,,,,,,,,,s3(a% b, c):
IN3ING fts3(a, SEFRCM t0 E  LECT a, b, c ,,,,,,,,,,,,3,,,,,,,,,,,,,E,,,,,E::::::::: date(1,1,1)::z::::::::::RT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi,  || , notindexed=, a000, notindexed=);
INi);
INSE);
INSERT INTO t2 VALUET('0', '0 0 0');


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT NULL "a","b" UNION
SELECT 1 UNION SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT NULL "a","b" UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2'x'
ORDER BY  1 NNULION
s


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT NULL "a","b" UNION
SELECT 1 UNION SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT NULL "a","b" UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2'x'
ORDER BY  + NNULION
s


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT NULL "a","b" UNION
SELECT 1 UNION SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT NULL "a","b" UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2'x'
ORDER BY a.bNNULION
s


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT NULL "a","b" UNION
SELECT 1 UNION SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT NULL "a","b" UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2'x'
ORDER BY likelihood(1,1)  2 NNULION
s


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3');
INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Sow00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������å������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������û����������������������������������������������������������������������������������������������������������h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������å������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������û��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO });


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix�'1,2,0-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ñ���������������������������������������������������������������������������������������������������������û������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3');
INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00������������������������������������������C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������û����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO });


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,6,0-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ñ���������������������������������������������������������������������������������������������������������û������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3');
INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00������������������������������������������C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������û����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO });


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,0-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ñ���������������������������������������������������������������������������������������������������������û������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3');
INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00������������������������������������������C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������û����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO });


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,0-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ñ���������������������������������������������������������������������������������������������������������û������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3');
INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00������������������������������������������C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������û����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO });


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,0-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ñ���������������������������������������������������������������������������������������������������������û������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3');
INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00������������������������������������������C00 0h0 wn0 0i0000000 t00000 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00');
INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somm like(1,1)0 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������û����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO });


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""""OR""""""OR""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""":"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""a"t "a","""""""""""""""""""""""""""""""""""""""""a"t "a","b"1,1 "a"N "ASa"LLO"b"(1,N "a2LLO"b"(1,t 1,1,")"';


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT 'a''b' ;
SeLECT  Total(A), Total(A),"a",total(A)"a",total(A)"a", `a` FROM y A, y  ASyq, y  ,  y q, y  , y  ASy1, y  , y  ASy1, y  , y  ASy1,y  ASy1, y  , y  ASy1, y  , y  ASy1, y  ASV, x


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0u�����60u���ABORTAS��6(VIEWCURRENT_TIMIMARY Y);
INSERT INTO t0t VAL


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0u�����60u���AS��6�����60v���AS��6(MARY Y);
INSERT INTO t0t VAL


sqltext:
CREATE TABLE t000( 'a''b'c0  UNIQUE,��I, a,c0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000,t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c00  NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000( 'a''b'c0  UNIQU��O�I, a,c0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000,t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c00  NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000( 'a''b'c0  UNIQUE,�,I, a,c0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000,t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c00  NATURAL JOIN t000 AURAL JOIN t000 TUR00 NATURAL JOIN t000 AS c000;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||10E3) x FROM i LIMIT 1+02


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||10E3) x FROM i LIMIT 11/2


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()||1 *3) x FROM i LIMIT 1102


sqltext:
SELECT avg( ?10)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE  avg( ?11)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE $::0 LIKE $::00::0 LIKE $::0 LIKE $::00::0 LIKE ?3; 


sqltext:
SELECT avg( ?11)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE  avg( ?11)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE $::0 LIKE $::00::0 LIKE $::0 LIKE $::00::0 LIKE ?2; 


sqltext:
SELECT avg( ?11)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE  avg( ?11)LIKE avg(1)00 LIKE $::0 LIKE $::00::0 LIKE $::0 LIKE $::00::0 LIKE 


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT `a`ulianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('GURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd III `a`IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('GURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed�p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=i, a0 �,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, n, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts3( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=i, a0 �,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, n, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=,0, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=i, a0 �,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, n, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=i, a0 �,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,b, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, n, notindexed=a,00, na,bpoi, a0 a,00 sqlite_compileoption_used(1)00, notindexed=p0,00, nopoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "�AS") FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x< length( "�AS") FROM t1 ORDER BY x;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a","b""b","b", *,"b""a","ba", group_concat(1,1) "b","b""""a","�a","b",oid,"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",Count(*)a,"a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t1(x char(1)UNIQUE);
CREATE TABLE t2(y);
INSERT INTO t2 VALUES(111);
INSERT INTO t1 VALUES(222);
INSERT INTO t2 VALUES(300);
INSERT INTO t2 VALUES(444);
SELECT * FROM t1, t2
WHERE (x=111 AND y!=444) OR x=222
ORDER BY x, y;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT count(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a OR-1;
SELECT  total(1)p FROM y AS y1, y  AS1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(e,b,e,d,e,d,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,?,20000);
INSERT INTO t5 VALUES(1,2,3,4,?,10000);
INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,a,d,e,d,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,?,20000);
INSERT INTO t5 VALUES(1,2,3,4,?,10000);
INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b| randomblob(1)| round(A,4)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; c FROT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b| randomblob(1)|  changes()c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; c FROT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b| randomblob(1)|NOT round(A,4)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; c FROT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b| randomblob(1)| round(oid)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; c FROT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00',0e02,1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','�0000',90);
INSERT INTO t1 VALUES(4,'0','0',2);
INSERT INTO t1 VALUES(5,'00','0',2000);
SELECT x FROM t1 WHERE c=instr(-char( a,b,-01-01),b)OR a='0' OR 'a''b'+x;


sqltext:
PRAGMA mmap_size = 0;
PRAGMA page_size = 1024;
PRAGMA cache_size =ALL00;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
CREATE INDEX i3 ON t3(x);
INSERT INTO t3 VALUES(randomblob(130));
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(000) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(
60) FROM t3;
INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e));
SELECT * FROM t0 WHERE d=?BETWEEN?BETWEEN?AND b=?BETWEEN /* */oid AND d=? AND e=A;


sqltext:
CREATE TABLE t0 (a INTEGER PRIMARY KEY);
CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000);
CREATE TABLE t2x (b INTEGER PRIMARY KEY);
SELECT t0. *FROM ((t0 JOCa) AS x JOIN t2x `.a.ba` ON x.b=t2x.b) as00;


sqltext:
WITH i(x) AS ( VALUES(1) INTERSECT SELECT  upper(1) FROM�i ORDER BY 1)
SELECT ALL 1=1/-x FROM i LIMI ORDER BY 1)


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('b*NEAR/6 0:0* F:OM x 00 bbb c00', 'x 00 bbA a,G ftNEAR/6 0:0* F:OM x 0bbc00USING ft�y,0);bbb 00');
SELECT * FROM x where x MATCH '16b*NEAR/6 0:0* FROMR/6 0:0* FROM x w x w';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('b*NEAR/6 0:0* F:OM x 00 bbb A a,G feNEAR/6 0:0* F:OM x 00 c00', 'A a,G ftNEAR���:0* F:OM x 0EXPLAINc00USING ftsy,0);bbb 00');
SELECT * FROM x where x MATCH '^bb*NEAR/6 0:0
 FROM ^bb*NEAR/6 0:0
 FRx w';


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(5., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(7., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z � Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(1., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,c,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(1., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT 'a'LIMIT -1 ;
SeLECT  Total(A),"a",total(A)"a", `a` FROM y A, y  ASyq, y  ,  y q, y  , y  ASy1, y  , y  ASy1, y  , y  ASy1,y  ASy1, y  , y  ASy1, y  , y  ASy1, y  AS1, x


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0u�����60u���AS��6�����60v���ABORTAS��6(MARY Y);
INSERT INTO t0t VAL


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0u�����60u���AS��6�����60v���ACTIONAS��6(MARY Y);
INSERT INTO t0t VAL


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0u�����60u���AS��6�����60v���EXCLUSIVEAS��6(MARY Y);
INSERT INTO t0t VAL


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1< random()||10E3) x FROM i LIMIT 1+02


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(?, random()||10E3) x FROM i LIMIT 1+02


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGEATTACHARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x<<length( "�") FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGEATTACHARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x< randomblob(1)FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGEATTACHARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x< length( "�") FROM t1 GROUP BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "�AS") FROM t1 ORDER BY x;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", avg(1)"b", *,"b""a","ba", group_concat(1,1) "b","b""""a","�a","b",oid,"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",Count(*)a,"a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t1(x char(1)UNIQUE);
CREATE TABLE t2(y);
INSERT INTO t2 VALUES(112);
INSERT INTO t2 VALUES(3001);
INSERT INTO t1 VALUES(222);
INSERT INTO t2 VALUES(300);
INSERT INTO t2 VALUES(444);
SELECT * FROM t1, t2
WHERE (x=111 AND y!=444) OR x=222
ORDER BY x, y;


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,a,d,e,d,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,?,20000);
INSERT INTO t5 VALUES(1,2,3,4,?,10000);
INSERT INTO t5 VALUES(2,?,4,5,?,20000);REINDEX


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBt��������������ͽ�������ͽ�����RENAME�00');
INSERT INTO t0 VALUES('one0000A0');
&R


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoB�����������ͽ%Y������������Rt��������������ͻ%Y������������RENA@E�00');
INGERT INT�����Rt������������0A0');
&R


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 2001-01-01��%1-01-01');
INSERT INTO t0 VALUES('20��1-01bb cc');
INSERT INTO t0 VALUES('��1');
SELECT docid FROM t0 WHERE t0 MATCH '0* 1=1-��1';
END;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 2001-01-01��%1-01-01');
INSERT INTO t0 VALUES('20��1-01bb cc');
INSERT INTO t0 VALUES('��1');
SELECT docid FROM t0 WHERE t0 MATCH ' strftime(1,1,1,1)0*2001-��1';
END;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 2001-01-01��%1-01-01');
INSERT INTO t0 VALUES('20��1-01bb cc');
INSERT INTO t0 VALUES('��1');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001 1=1-��1';
END;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a &b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a,$c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b *c/-1, b||c||a, c||a||b FROM abc;
IO abcb, a, c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0u�����60u���AS��6�����60v���EXCLUSIVEAS��6(MARY Y);
INSERT INTO t0t VAL


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", sum(1)"b", *,"b""a","ba", group_concat(1,1) "b","b""""a","�a","b",oid,"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",Count(*)a, avg(1),"ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "��S") FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.x=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "�S") FROM t1 ORDER BY 002


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", avg(1)"b", count(1),"ba", group_concat(1,1) "b","b""""a","�a","b",oid,"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a, avg(1),"ba", avg(1),"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", avg(1)"b", count(1),"ba", group_concat(1,1) "b","b",count(*)a, avg(1),"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a, avg(1),"ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", sum(1)"b", count(1),"ba", group_concat(1,1) "b", count(1)"�a","b",oid,"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a, avg(1),"ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "�S") FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "��S") FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "�S") FROM t1 ORDER BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x%10;
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.y=74 BEGIN
DELETE FROM t1;
INSERT INTO t1 VALUES(05, randomblob(400));
INSERT INTO t1 VALUES(06, randomblob(400));
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length( "�S") FROM t1 ORDER BY x;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", avg(1)"b", count(
),"ba", group_concat(1,1) "b", group_concat(1,1)oid,"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a, avg(1),"ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", sum(1)"b", count(1),"ba", group_concat(1,1) "b","b""""a","�a", Avg(1),"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a, avg(1),"ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", sum(1)"b", count(1),"ba", group_concat(1,1) "b","b""""a","�a", avg(1), avg(1)"a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a, avg(1),"ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", sum(1)"b", count(1),"ba", group_concat(1,1) "b","b""""a","�a", Avg(1), avg(1)"a", count(1)oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a, avg(1),"ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a", sum(1)"b", count(1),"ba", group_concat(1,1) "b","b""""a","�a", Avg(1), aVg(1)"a","ba","b",oid,"b""a","b",count(*)a, avg(1),"ba","ba""b",oid,"b""a","ba","b",count(*)a, avg(1),"ba","b",oid,"b""a","ba""","b",count(*)a FROM t0) WH;


sqltext:
CREATE TABLE t0(x, a, b);
CREATE INDEX t0a ON t0(x, a COLLATE nocase, a, b);
CREATE INDEX t0a ON t0(x, a COLLATE nocase);
CREATE INDE t0b ON k0(x, );
CREATE INDE t0b ON k0(x, b)�


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
PRAGMA page_size=0000;
PRAGMA cache_size=00;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(100));
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
DELETE FROM t0 WHERE rowid/2-0;
VACUUM;


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALYZE;
SELECT abs(?) idx, stat FROM sqlite_stat1 ORDER BY idx;


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALYZE;
SELECT abs( -11) idx, stat FROM sqlite_stat1 ORDER BY idx;


sqltext:
PRAGMA default_cache_size=-100;
PRAGMA cache_siz0;
PRAGMA cache_sizd;
PRAGMA default_cache_size=-100;
PRAGMA coKoud;
PRAGMA default_cache_size=-100;
PRAGMA coKous;


sqltext:
PRAGMA default_cache_size=-100;
PRAGMA cache_size;
PRAGMA default_cache__size=-100;
PRAGMA cach;
PRAGMA cache_size;
PRAGMA default_cache_0n0ze=-100;
PRAGMA cache_size;
size=-100;
PRAGMA coKouse_size;
size=-100;
PRAGMA coKous;


sqltext:
PRAGMA default_cache_size=-100;
PRAGMA cache_size;
PRAGMA default_cache_size=-100;
PRAGMA cache_size;
PRAGMA default_cache_size=-100;
PRAGMA coKous;PRAGMA default_cache_size=-100;
PRAGMA Kous;


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t0006(llllllllllllllllllllllllllllllllllllllplllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllla COLLATE nocase PRIMARY KEY);
INSERT INTO t0t0006 VALUES('ab0');
INSERT INTO t0t0006 VALUES('ABX');
SELECT DISTINCT 'a' a FROM t0t0006;


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,b,c,d,e,e));
SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND b=? AND c=? AND d=?COLLATE A


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT /* */ x<1 FROM i ORDER BY 1)
SELECT CURRENT_DATE/* */ x FROM i LIMIT 30;


sqltext:
SELECT 10 EXCEPT SELECT 10 EXCEPT SELECT 20 OR1p EXCEPT sELECT 2020 OR10 EXCEPT sELECT 20 ORDJR BY 1 DER  COLL


sqltext:
CREATE TABLE t0(a, b);
CREATE TABLE log(x);
INSERT INTO t0 VALUES(0,0);
INSERT INTO t0 VALUES(0,0);
INSERT INTO t0 VALUES(0,0);
CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN
INSERT INTO log VALUES(old.b || '0000'GLOB zeroblob( randomblob(1)) );
END;
CREATE TABLE t2(a);
INSERT INTO t2 VALUES(0), (2), (0);
UPDATE t0 SET b= changes();


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
PRAGMA page_size=0000;
PRAGMA cache_size=00;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT typeof(?) x FROM t0;
DELETE FROM t0 WHERE rowid>200;
VACUUM;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
PRAGMA page_size=0000;
PRAGMA cache_size=00;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT typeof(1)GLOB x FROM t0;
DELETE FROM t0 WHERE rowid>200;
VACUUM;


sqltext:
CREATE TABLE t0(x, y, UNIQUE(x, x));
INSERT INTO t0 VALUES('0ne','000');
SELECT * FROM t0 WHERE x='0ne';
PRAGMA integrity_check;


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALYZE;
SELECT time( 1=11) idx, stat FROM sqlite_stat1 ORDER BY idx;


sqltext:
CREATE table t0(a,b);
INSERT INTO t0 VALUES('0000','00');
INSERT INTO t0 VALUES('00000','xy0');
CREATE TABLE t2(x,y);
INSERT INTO t2 SELECT strftime(2001-01-011,1,1,1) a, CASE b WHEN 'xy0' THEN null ELSE b END FROM t0;;
INSERT INTO t2 SELECT strftime(2001-01-011,1,1,1) a, CASE b WHEN 'xy0' THEN null ELSE b END FROM t0;
SELECT x, y FROM t2 
SELECT x, y FROM t2 ORDER BY x;


sqltext:
PRAGMA synchronous=ON;EXPLAIN
PRAGMA cacous=ON;EXPLAIN
PRAGMA cache_nous=ON;EXPLAIN
PRAGMA cacous=ON;EXPLAIN
PRAGMA cache_se;EXPLAiN
PRAGMA syON;EXPLAIN
PRAGMA se;EXPLAiN
PRAGMA syON;EXPLAIN
PRAGMA cas;


sqltext:
PRAGMA auto_vacuum = incremental;
PRAGMA journal_mode = DELETE;
CREATE TABLE t1(a PRIMARY KEY, b);
INSERT INTO t1 VALUES(randomblob(102001-01-0100), randomblob(100));
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(0000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(0000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob( [a]), sqlite_compileoption_get(A)E FROM t1 WHERE rowid%2;


sqltext:
PRAGMA synchronous = NORMAL;
PRAGMA page_size = 1024;
PRAGMA journal_mode = WAL;
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
PRAGMA wal_checkpoint;
INSERT INTO t1 VALUES(randomblob(800));
BEGIN;
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*   2 */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*   4 */
INSERT INTO t1 SELECT randomblob(802001%108010) FROM t1;   /*   8 */
INSERT INTO t1 SELECT randomblob(000) FROM t1;   /*  16 */
SAVEPOINT one;
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*  32 *FROM t1;   /*  64/
(800) FROM t1;   /*  64 "/
INSERT INTO t1 SE\ECT randomblob(800) FROM t1;   /* 128 */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 256 */
ROLLBACK TO one;
INSERT I7TO t1;


sqltext:
CREATE TABLE t4(a,b,c int,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(c,b,c,d,e,f,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40010');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE a=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE c=3;
SELECT i FROM t4 WHERE h=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE h=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEGER PRIMARY KEY);
CREATE TABLE �0(� DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT);
CREATE TABLE t3(y REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES( ?103);
INSERT INTO t0 VALUES(13);


sqltext:
#EGIN EXCLUSIVE;
CREATE TEMP TABLE temp_t000e(t);
INSERT INTO temp_t000e VALUES('00000');
PRAGMA temp_store = 1;
CREATE TEMP TABLE temp_t000e(t);
INSERT= 1;


sqltext:
CREATE TABLE t1(a, b);
PRAGMA auY=O00;
PRAGMA synchronous=N00;
PRAGMA synchronous=N00 00;
PRAGMA  00;
PRAGMA pagMA journal_mode=TRUNC;
^:AGdA journal_mode=TRUNCAT 2);


sqltext:
CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,c,e,b,c,d,d,c,e));
SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND c=?;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '',okenize(simple);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TABLE ize();
CREATE VIRt3 USING fts3tokeniOR '0000');


sqltext:
ATTACH''AS nonamonameme;
ATTACH':memory:' AS e;
ATTACH':memory:' AS ����������������������������������������������iinm;
ATTACH':memory:' AS inmee;
ATTACH':m' AS ����������������������������������������������iinm;1)


sqltext:
CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b,$c, b, b, c, d, e, f,E;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a �nt, b int, c );
INSERT INTO t1 VALUES(2,4,8);
INSERT  INTO t1 VALUEs(1,1,9);
INSERT INTO t1 VALUES(2,4,8);
INSERT INTO t1 VALUES(3,9,7);
INSERT INTO t1 VALUES(6,6,4);
UPDATE t1 SET b=a WHERE a in (10,12,20);
INSERT INTO t1 SELECT*FROM t1
WHERE a IN (SELECT a FROM t1 WHERE a>1.);ANALYZE
DROP IN


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '000000000000000 DA0' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALYZE;
SELECT idx, date(1,idx) stat FROM sqlite_stat1O


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(compress�z0p, uncompress=mpre0p, uncompress=u0z0p, uncompress=mpre0p, uncompress=u0000u0000);


sqltext:
CREATE TABLE t1(x, y  DEFAULT(datetime('   @1 @1avg(1)es')));
INSERT INTO t1(x)VALUES((datetime('   @1 @1avg(1)es')));
INSERT INTO t1(x)VALUES(1);
INSERT INTO t1NSERT INTO t1(x)VALUES(1);
INSERT INTO t1(x)VALUES(1);


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT-(x-1)*10 FROM i)
SELECT x FROM i LIM UNION SELECT-(x-1)*10 FROM i)
SELECT IT 23


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid, c) VALUES (1,CURRENT_TIMESTAMP);
INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s�0 test');
INSERT INTO t1(docid, c) VALUES (3, 'This is 0 STS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO RENdocid, c) VALUES (1,CURRENT_TIMESTAMP);
INSERT INTO t1 (test');
DELETE FROM t1 WHERE docid IN(1,3);
SELECT OPTIMIZE(t1) FROM t1 LIMIT 1;


sqltext:
SELECT #oalesce(1,1)UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY (1)DESC;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(0, b, c);
INSERT INTO t0 VALUES('0',-'B',-'C');
UPDATE t0 SET docid = 5;

UPDATE t0 SET docid = 5 LECT docid,SELECT docid, B FROM t0;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1�1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo OR 1=1';


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a,b,a, b, '000' a,b FROM t1
UNION
SELECT *,a, a,b,'000' FROM t1
ORDER BY 3 3,S


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 daysa","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
PRAGMA mmap_size = 0;
PRAGMA page_size = 1024;
PRAGMA cache_size =ALL00;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
CREATE INDEX i3 ON t3(x);
INSERT INTO t3 VALUES(randomblob(100));
INSERT INTO t3 SELECT randomblob(000) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t3 SELECT sqlite_version()FROM t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


sqltext:
PRAGMA mmap_size = 0;
PRAGMA page_size = 1024;
PRAGMA cache_size =ALL00;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
CREATE INDEX i3 ON t3(x);
INSERT INTO t3 VALUES(randomblob(100));
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t3 SELECT sqlite_version()FROM t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


sqltext:
PRAGMA mmap_size = 0;
PRAGMA page_size = 1024;
PRAGMA cache_size =ALL00;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
CREATE INDEX i3 ON t3(x);
INSERT INTO t3 VALUES(randomblob(100));
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) -1 FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t3 SELECT sqlite_version()FROM t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 NATURAL
JOIN t102 AEFT JOIN t102  t1 ON t1.i0 IS@ULL) );


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, x S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y   AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y yy, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;EXPLAIN
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y   AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y yy, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y   AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  AQ1, y y1, y S1, y y, y yy, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y yy, y y1, y S1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y   AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y  y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y SS�y1, y  A, y  Ad1, y y1, y S1, y y, y yy, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A,  y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y yy, y y1,y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1ddress, y  Ad1, y y1, y S1, y   AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y yy, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y   AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y yy, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S11, y S�y1, y  A, y  Ad1, y y1, y S1, y   AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y   AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y yy, y y1, y S1, y  ASy1, y S1, y yS1, y y1, y S1, y  ASy1, y S1, y y, y y1, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bI a,be, PRIMARY KEY(a,p,c,d,a,b,c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b, b);REINDEX


sqltext:
CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bI a,be, PRIMARY KEY(a,p,c,d,a,b,c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b, b);
VACUUM


sqltext:
CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bI a,be, PRIMAe, PRIMARY KEY(a,p,c,d,a,b,c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b, b);RY KEY(a,p,c,d,a,b,c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b, b);
008000


sqltext:
CREATE TEMP TABLE t0�������������������������������������������������������������������������������001(a��ĺ00ӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??����??0';


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b|| round(A,1)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc;  SELECT a||b|| round(A,1)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; c FROM ac (ROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('0���n L ,bb c00', 'bbb 0
0');
SELECT * FROM x where y MATCH 'bbb OR - st OR - strft� OR L rft� OR L strft*� OR 0';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('0���bb c0���bb c00', '�bb 0
0');
SELECT * FROM x where y MATCH 'bbb OR - st OR - strft� OR L rft� QR L strft*� OR 0';
;
SELECT * FROM x where y MATCH 'bbb OR - st OR - strft� OR L rft� OR L strft*� OR 0';


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 �b20012001-01-01-01-01');
INSERT INTO t0 VALUES('20012001-01-01-01-01bb cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01-01';
END;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 �b2001-01-01');
INSERT INTO t0 VALUES('20012001-01-012001-01-01');
INSERT INTO t0 VALUES('2002001-01-01-01-01bb cc');
INSERT INTO t0 VALUES('cc 01-01-01bb cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE T0 MATCH '0*2001-01-01';
END;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 �b2001-01-01');
INSERT INTO t0 VALUES('2001 �b2001-01-01');
INSERT INTO t0 VALUES('20012001-01-01-01-01bb cc');
INSERT INTO t0 VALUES('2001-01-01-01-01bb cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01-01';
END;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(yALUES��00S��000,/,);
SELECT * FROM x wheRe y MATCH 'bbb NEAR/6 0DDDDIRTUAL TABTE VIRTUAL TABLE b NEAR/6 0DDDDIRTUAL TABTE VIRTUAL TABLE x USING ftsLE x USIN:�:�:�:������ftb4(yx USING ftsLE x USIN:�:�:�:������ftb4(y,';


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, sqlite_version()+ hex(1) q FROM x AS x1, x AS x2 WHERE+time(q,q,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y, y;


sqltext:
CREATE TABLE t000(c0  a,ba,b,�,I, a blobte_compileoption_get(1)UNIQUE,INT a,b0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(c0  a�ba,b,�,I, a blobte_compileoption_ge a,bUNIQUE,INT a,b0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0��;
IN INTO ft VAL@E��(1��)', ' @1');
NTO ft VALUES(' @1Ysion(131)', ' @1');
INSERT INTO ft  ALUES(' load_ INTO ft VAL@E��sion(1��)', ' @1');
INSERT INTO ft VALUES(' @1nsn(131)', '5000);
INSERT INTO ft CS('


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */( nullif(1,1))LIMI,   "a","b""a","b""a","b";
SELECT $tota|(SELECT $tota|(1)p FROM y AS y1, y, y  AS y1)p FROM x AS y1, y  � AS y


sqltext:
PRAGMA encoding=UTF16;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(1);
ALTER TABLE t1 ADD COLUMN b INd0000 DEFAULT '900';
ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'�0s9';
ALTER TABLE t1 ADD COLUMN d TEXT DEFAULTULT '00000';
UPDATE t1 SET x= '0';
UPDATE t1 SET x=c+1;
SELECT* FROM t1;


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b a, b "a","b"FROM t1
UNION
SELECT b, strftime(1, group_concat(1,1), 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2,  a,b,"b"


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VIMATin� Gnnning ant jgnt MATing Gnt juBETWEEN VALontent MATinruent EATE VIMATingUEERE content MATinruent EATE VIMATing Gnnning ant jgntjgnt MATinN VALUEBETWEEN VALontent MITinruent,EATE VIMATingUEERE content MATinruent EATE VIMATi MATinN VALUEBETWEEN VALontent MATinruent EATE VIMATingUEERE content MATinruent EATE VIMATinN VALUEERE content MATent MATin� Gng Gnt juBETWEEN VALUEER* content MATing Gnt jumpg Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VIMATing Gnnning ant jgnt MATing GntE VIMATing Gnnning ant juBETWEEN VALontent MATinruent EATE VIMATingUEERE co�tejt�MATinruent EATE VIMATing Gnnning ant jgnt MATinN VALUEEN VIMATing Gnnning ant jgnt MATinN VALUEERE content MATent MATing Gng Gnt juBETWEATinN VALUERE contETWEEN VALUEERE content MATinruent7EATE VIMATing Gnnning ant jgnt MALUEERE content MATinruent7EATE VIMATing Gnnning ant jgnt MATinN VALUEERE content MATent MATing Gng Gnt juBETWEATinN VALUEERE con�ent MATent MATing Gng Gnt juBETWEEN VALUEERE content MATing Gnt jumpg Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(2, 'ruent EATE VIMATing Gnnning ant jgnt MATing Gnt juBETWEEN VALontent�LATinruent EATE VIMATingUEERE cont�nt MAT�nruent EATE VIMATing Gnnning ant#jgnt MATinN VALUEERE contETWEEN VAdUEERE content MATinruent7EATE VIMATing Gnnning ant jgnt MATinN VALUEERE �nt MAT�nruent EAcontent MATent MATing Gng Gnt juBETWEEN VALUEERE content MATing :nt jumpg Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VIMATing Gnnning ant jgnt MATing Gnt juBETWEEN VALontent MATinruent EATE VIMATingUEERE content MATinruent EATE VIMATing Gnnnnt EATE VIMATing Gnnning ant jgnt MATing Gnt juBETWEEN VALontent MATinruent EATE VIMATingUEERE content MATinruent EATE VIMATing ing ant jgnt MATinN VALUEERE contETWEEN VALUEE MATent MATing Gng Gnt juBETWEEN VALUEERE content RE content MATinruent7EATE VIMATing Gnnning ant jgnt MATinN VALUEERE content MATent MATing Gng Gnt juBETWEEN VALUEERE content MATing Gnt jumpg Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VIMATing Gnnning ant jgnt MATing Gnt juBETWEEN VALontent MATinruent EATE VIMATingUEERE content MATinruent EATE VIMATing Gnnning ant jgnt MATinN VALUEERE contETWEEN VALUEERE content MATinruent7EATE VIMATing Gnnning ant jgnt MATinN VALUEERE content MATenLUEERE content MATent VIMATing Gnnning ant jgnt MATinN VALUEERE contETWEEN VALUEERE content MATinruent7EATE VIt VIMATing Gnnning ant jgnt MATinN VALUEERE contETWEEN VALUEERE content MATinruent7EATE VIMATing Gnnning ant jgnt MMATing Gng Gnt juBETWEEN VALUEERE content MATing Gnt jumpg Gnt jumping');
CCH 


sqltext:
PRAGMA main.cache_size= 10;
PRAGMA temp.cache_size =210;
CREATE TABLE temp.tt(a, b);
INSERT INTO tt VALUES(randomblob(100), randomblob(600));
PRAGMA TEMP.cache_size= 10;
PRAGMA temp.cache_size =210;
CREATE TABLE temp.tt(a, b, randomblob(600));
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(52001-01-9100), randomblob(600) FROINSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), rajdomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(52001-01-9100), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(580), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbb�00');
SELECT * FROM x where x MATCH 'bbb  /* */ 00 OR bbb NEAR/6 C00';


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT 'a''b' ;
SeLECT  total(A)"a",total(A)"CRE''b' ;
SeLECT  tot1, x  A,",total(A)"a", a,b FROM y A, y  ASyq, y  , y ASy1, y  AS1, x  A, y ASy1, y  , y  ASy1$ y  , y  ASy1, y  AS1, x  A, y AAS,y;


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTt "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(TUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N��a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a""b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,9)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N���� "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1G1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","bb"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqp�leoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "aLLO"b"(","b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "11,90ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N " "a","b"1,1 "a"N "1,1,1)ime(","FRO,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t"a","b"1,1 ")ime(","FRO,1 "a"N "a"a"N "1,1,1)b"1,1 "a"VIRTUAL TAa"LLO"b"(1,time(","b"1,1 "a"1,t "a""a"t "a","b"1,1 "a"N "1,1,1)b"1,1 "a"VIRTUAL TABN "ASa"LLO"b"(1,t "a""a"t "a","b"1,1 "a"N "1,1,1)ime(","b"1,1 "a"N "a"LLO"b"(1,time(","b"1,1 "a"N "a"LLO"b"(1,t 1,1,")"';


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ�����Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ��������oBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ�����������oBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ�����������NOTNULL����00');
 VAL


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneat�Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ��������oBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ���
�tϽ���O��İ������O��İ��woBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ��������oBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ�����������NOTNULL����00');
 VAL


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ��������oBtϽ���O��Ľ���O��Ľ�����tϽ���O��İ������O��İ��������oBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O���ʽ��tϽ���Ͻ���o��Ľ�����tϽ���O��İ������O��İ�����������NOTNULL����00');
 VAL


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ���O��Ľ�����tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ��������oBeatwoBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ���tϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ�����������NOTNULL����00');
 VAL


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ���O��ώʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ��������oBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�O��Ľ�����tϽ���O��İ������O��İ��������oBtϽ���O��Ľ�ʽ��tϽ���Ͻ���O��Ľ�����tϽ���O��İ������O��İ��������������tϽ���O��İ������O��İ�����������NOTNULL����00');
 VAL


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(2001501-010, '2001-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(2001=01-010, '2001-01-�10b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01' ORDER BY docid DESC;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT last_insert_rowid()q FROM x AS x1, x AS x2 LIMIT likely(1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, yS1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT last_insert_rowid()q FROM x AS x1, x AS x2 LIMIT  /* */(1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT last_insert_rowid()q FROM x AS x1, x AS x2 LIMIT likely(1);
SELECT $total(1)p FROM x AS y1, y ON A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT last_insert_rowid()q FROM x AS x1, x AS x2 LIMIT likely(1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y WHERE A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT last_insert_rowid()q FROM x AS x1, x AS x2 LIMIT likely(1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  Ax2 LIMIT likely(1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS y1


sqltext:
PRAGMA foreign_keys= ON;
CREATE TABLE p(i PRIMARY KEY);
CREATE TABLE c( []j REFERENCES p ON UPDATE CASCADE);

UPDATE p SET i= '000';INSERT INTO p VALUES('0e00o');
INSERT INTO c VALUES('0e00o');
UPDATE p SET i= '000';
SELECT * FROM c;


sqltext:
SELECT 10e+4+00e+4+0e+440.00440e+440.0044440e+40n00b000;e+440.0044440e+40n0440e+40n00b000;e+440.0044440e+40n00b000;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTO","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "U","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+: daysa","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 daysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 daysa","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT upper(1)q FROM x AS x1, x , x Ax1, x , x A, x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y AS y1, y yAS y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS q FROM x AS x1, x , x Ax1, x , x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT(1)p FROM y AS y1, y AS y1, y AS A, x A, x  A , x  A y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS q FROM x AS x1, x , x Ax1, x , x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y AS y1, y AS y1, y AS y1, y ;


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,$group_concat(1,1), 2,  a,oid,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELECT a, b "a","b"FROM t1
UNION
SELECT b, strftime( 2,  a,oid,1, group_concat(1,1), 2,  a,oid,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2,  1, group_concat(1,1), 2,  a,oid,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2,  a,b,"b"


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbB�00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00 OR bbb NEAR/6 00 OR bbb NEAR/6 Cbb NEAR/6 C00';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@ NPAR/6 00 OR bbb NEAR/6 Cbb NEAR/6 C00@bb�c00', 'bbN�00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00 OR bbb NEAR/6 00 OR bbb NEAR/6 Cbb NEAR/6 C00';


sqltext:
#�GIN EXCLCSIVE;
CREATE TEMP TABLE temp_t000e(t);
INSERT INTO temp_t000e VALUES('00000');
PRAGMA temp_store = 2;
CREATE TEMP TABLE tempUAS('00000');
PRAGMA temp_store = 2;
CREATE TEMP TABLE temp_t000e(t);
INSERT_t000e(t);
INSERT= 1;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 daysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 daysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 daysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "00b; daysa","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 ; daysa","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR bbb NEAR/6 00 OR bbb NEAR/6 �00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 �0 OR bbb NEAR/6 00 OR bbb NEAR/6 Cbb NEAR/6 200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR bbb NEAR/6 00 sqlite_version()00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00 OR bbb NEAR/6 00 OR bbb NEAR/6 Cbb NEAR/6 200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR bbb NEAR/6 00 OR bbb NEAR/6 �00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00  -1bbb NEAR/6 00 OR bbb NEAR/6 Cbb NEAR/6 200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR bbb NE quote(1)R bbb NEAR/6 �00');
SELECT * FROM x where x MATCH '|bb NEAR/6 00 OR bbb NEAR/6 00 OR bbb NEAR/6 Cbb NEAR/6 200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR wbb oEcR/6 00 GR bbb NEAR/6 �00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00 OR bbb NEAR/6 00 OR bPb NEAR/6 Cposition NEAR/6 00 OR bbb NEAR/6 00 OR bbb NEAR/6 bb NEAR/6 200';


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  dysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  aysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,"b" ,12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,"X" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 ; daysa", changes()-01-01) x FROM ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT s


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2  count(1) aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,"b" ,12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,"b" ,12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1) i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,"b" ,12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, sqlite_source_id() ,12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,"b" ,12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(b) AS ( VALUES(1) UNION ALL SELECT count(1) i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,"b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "   aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -12  aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " abs(1)2  aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "E2  aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "E+2 days2  aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "E2  aysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "E28 aysS","b" -12001-01-01) x FROM i LIMIT 101


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -1 aysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -1 aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " - count(1)1 aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -002ysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -1 aysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   >=aysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   >=aysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1) i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "  >=-1aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "  || -1aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "  blob-1aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "  count(1)-1aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -ACTION1aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " - count(1)1aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -002sS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " ","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -12  aysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -12  aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -12  aysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " - count(1)1 aysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " - count(1)1 aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " - count(1)1 aysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777 aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1) i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" -12001-01-01)0;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1)FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "  >=-1aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "   /* */>=-1aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "  >=-1aysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -ABORT1aysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -ABORT1aysS","b" -12001-01-01) x FROM i LIMIT 2001


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1) i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" ,12001,01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1) i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" ,12001,01-01)0;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1)FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" ,12001,01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(2001-01-011) UNION ALL SELECT  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 1002


sqltext:
PRAGMA �ing=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00','00',1);
INSERT INTO t1 VALUES(2,'00','�������e0',5);
INSERT INTO t1 VALUES(3,'000','0��00',90);
INSERT INTO t1 VALUES(4,'0','0',2);
INSERT INTO t1 VALUES(5,'00','0�����������������������������������������������������������������',2000);
SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B)


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INT0000);
INSERT INTO t1 VALUES(3);
INSERT INTO t1 VALUES(2);
INSERT INTO t1 VALUES(1);
INSERT INTO t1 VALUES(2);
INSERT INTO t1 VALUES(3);
INSERT INTO t1 VALUES(1);
CREATE TABLE t2(x);
INSERT INTO t2
SELECT DISTINCT
CASE a WHEN 1 THEN x'00'WHEN 2 THEN zeroblob(5)ELSE 'a'COLLATE'b'END
FROM t1;


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES( -10, 'H 0 0 TG FTS4(a,b, c);
IN', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(docid,a,b,c) VALU5S(17, 'Q  VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N');
INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x, y, PRIMARY KEY(x, y));
CREATE TABLE t2( a,ba, b, FOREIGN KEY(b, b) REFERENCES t1 ON DELETE CASCADE);REPLACE INTO t1 VALUES(2001-01-011,2);
INSERT INTO t2 VALUES(1, 2);


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x, y, PRIMARY KEY(x, y));
CREATE TABLE t2( a,ba, b, FOREIGN KEY(a, bAS) REFERENCES t1 ON DELETE CASCADE);REPLACE INTO t1 VALUES(2001-01-011,2);
INSERT INTO t2 VALUES(1, 2);


sqltext:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2(a, b);
CREATE VIEW a002 AS SELECT a, "a","z"AS m FROM t2 GROUP BY m;
EXPLAIN QUERY PLAN
SELECT t1.z, a002.m
FROM t1 JOIN a002 ON t1.y=a002.m
WHERE t1.x IN a002,3)


sqltext:
CREATE TABLE t1(a,b,c);
INSERT INTO t1(a,b,c)
VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','�'),('t1','t1b','�0000');
ANALYZE sqlite_master;
SELECT*,'0'FRO s;


sqltext:
CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,b,d,e,c,d,b,e,c,d,b,d,b,c,d,e,c,d,e,e));
SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?;VACUUM


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid, c) VALUES (1,-'This is 0 test');
INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test');
INSERT INTO t1(docid, c) VALUES (7, 'This is 0 test');
DELETE FROM t1 WHERE docid IN(1,3);
SELECT OPTIMIZE(t1) FROM t1 LIMIT 1;


sqltext:
CREATE TABLE t000(a I�TEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x,INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT 2 FROM  t000, t001,t000, t001, t000, t001, t002 W, t000, t001, t002  W


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t0a ON t1(a);
CREATE INDEX t0b ON t1(b);
INSERT INTO t1 VALUES(1,NULL);
INSERT INTO t1 SELECT a+1, b FROM t1;
INSERT INTO t1 SELECT a+2, b FROM t1;
INSERT INTO t1 SELECT a+4, b FROM t1;
INSERT INTO t1 SELECT a+8, b FROM t1;
INSERT INTO t1 SELECT a+16,b FROM t1;
INSERT INTO t1 SELECT a+32,b FROM t1;
INSERT INTO t1 SELECT DISTINCT-164, zeroblob(1)b FROM t1;
ANALYZE;


sqltext:
CREATE TABLE t03(n00e);
INSERT INTO t03 VALUES (NULL);
INSERT INTO t03 VALUES('00c');
SELECT count( abs( .11)),
NULLIF(n00e,'00c')A00
FROM t03
GROUP BY lower(n00e);


sqltext:
CREATE TABLE t0 (a INTEGER PRIMARY KEY);
CREATE TABLE t2 (a char400 PRIMARY KEY, b INT00Q0);
CREATE TABLE t2x (b INTEGER PRIMARY KEY);
SELECT t0.a FROM ((t0 JOIN t2 ON-t0.a=t2.a) AS x JOIN t2x ON-x.b>t2x.b) as00;


sqltext:
CREATE TABLE t1(a, b, c);
CREATE TABLE t0(x PRIMARY KEY, y, z);
CREATE TRIGGER r0 AFTER INSERT ON t1 BEGIN
SELECT * FROM t0 WHERE 0 BETWEEN 00 AND 00;
END;
WITH d(x)AS(SELECT * UNION ALL SELECT x+1 AS n FROM d WHERE n<=2001-01-01100)
INSERT INTO t0 SELECT ob(1) x,x*0, x*3 FROM d;


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY);
INSERT INTO t0t0006 VALUES(' sqlite_compileoption_used(1) -1');
INSERT INTO t0t0006 VALUES('ABX');
SELECT DISTINCT sqlite_compileoption_get( zeroblob(1))a FROM t0t0006;


sqltext:
CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real);
CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0);
INSERT INTO De00Ta0le VALUES(9,8,7);
INSERT INTO De00Ta0le VALUES(1,2,3);
CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le GROUP BY "_ACTIONb";
SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0 ORDER BY 1;


sqltext:
ATTACH''AS noname;
ATTACH':memory:' AS ��name;
ATTACH':memory:' AS ��ne;
ATTACH':memory:' AS inmemmem;VACUUM;
CREATE TABLE noname�n00000(x);VACUUM;
CREATE TABLE n(y)�


sqltext:
PRAGMA auto_vacuum = incremental;
PRAGMA journal_mode = DELETE;
CREATE TABLE t1(a�PRIMARY KEY, b);
INSERT INTO t1 VALUES(randomblob(1000), randomblob(100));
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(102001-01-0100), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
DELETE FROM t1 WHERE rowid%B;


sqltext:
PRAGMA auto_vacuum = incremental;
PRAGMA journal_mode = DELETE;
CREATE TABLE t1(a PRIMARY KEY, b);
INSERT INTO t1 VALUES(randomblob(1000), randomblob(100));
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(502001-01-0100), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
DELETE FROM t1 WHERE rowid%B;


sqltext:
PRAGMA auto_vacuum = incremental;
PRAGMA journal_mode = DELETE;
CREATE TABLE t1(a PRIMARY KEY, b);
INSERT INTO t1 VALUES(randomblob(1000), randomblob(100));
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(102001-01-0100), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
DELETE FROM t1 WHERE rowid%B;VACUUM


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d e');
INSERT INTO ft0 VALUES('f 0 b c d');
SELECT snippet(ft0, '0', '0', $�, -1, 5) FROM ft0 WHERE ft0 MATCH 0e0;


sqltext:
CREATE TABLE t102 (i0 TEXT7UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 
JOIN t102 AS 
LEFT JOIN t102  t1 ON t2.i0 IN  (1) 
JOIN t102 AS t2 pN(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0));


sqltext:
CREATE TABLE t0( a,ba,b,c,d,e, P a,bRIe, PRIMARY KEY(e,p,b,d,a,b,c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b, b);REINDEX


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(2,'000');
INSERT INTO t1 VALUES(1,'0');
INSERT INTO t1 VALUES(3,'000000');
SELECT *, ( SELECT group_concat(1,1)LIKE EXISTS (SELECT tncat(1,1)LIKE EXISTS (SELECT otalH1)) )
FROM ( SELECT avg(1) t1 ) AS x;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(100000000, '002001-0�������B-02701-0B-01');
INSERT INTO t0(docid, x) VALUES(0, '0b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000%Y bbb c00', 'bbb 000T * FRO^ x where x MAUCH *bbb N');
SELECT * FROM x where x MATCH 'bbb NEAR/0 000';


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(901));
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(500) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM�t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM�t1;VACUUM  /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(200);


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0
LEFT JOIN t102  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t1.i0< t0.i0 OR 500 AND t0.i0>t1.i0) AND t0.i0<t1.i0));


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0
LEFT JOIN t102  t1 ON t1.i0 GLOB date(1,1,1)
JOIN t102 AS tFT JOIN t102  ON( unlikely(10=t1.i0));


sqltext:
SELECT *
FROM (t0), ( ( t05, (t0, ( a,bt0), �tE),t0), (t0, Et05, (t0, ( t05, (ttM), �tEt05, (t0, (  (t0, ( a,bt0), �tE)���������,t0)), tE)���������,�0)), (t0)a,t0), �tE)0,


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b [a],A'000' FROM t1
UNION
SELECT b, printf(ALL)a, '000' FROM t1
ORDER BY 2, 3,a, '000' , 2, 3,a, '000' ,a, '000' , 2,  "a","b"


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(2001401-010000.000, '02001-01-010');
INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,oDESC);
INSERT INTO t0(docid, x) VALUES(2001-01-010000.000, '02001-01-010');
INSERT INTO t0(docid, x) VALUES(0, '02001-06-01b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a int, b int, c int);
CREATE INDEX i1 ON t1(a,b);
INSERT INTO t1 VALUES(1,1,9);
INSERT INTO t1 VALUES(2,4,8);
INSERT INTO t1 VALUES(3,9,7);
INSERT INTO t1 VALUES(6,6,4);
UPDATE t1 SET b=a WHERE a OR+(SELECT a,b, rtrim(1,1)a,b)


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'r%YYyye(content, tokenS(');
SELECT rowid FROM t1 WHERE content ump';


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB��� t0�ٹ������������ٹ������ٹ˹������˹������������������ٹ������ٹ˹����������������˹�������ٹ���ٹ˹����������������˹˹�������������������� "a"���kenize=un�");
RT 


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1)AND 1=11 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 10 -6;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM  y S�y1, y  A, y  AS1, y Z1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, x AS y1, y  A, y  AS1, y S�y1, y  A,  y, y y1, y S1, y  ASy1, y S1, y  AS1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE trim(1,1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASx1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy11, y  A, y  AS1, y , y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRINDEET� TABLE!00X0t00/////////////////////////ter SET� TABLE!00(T NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRINDTRIGGERBLE!00X t00////////////////// TABLE!00X t00/////////0(T NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES('FOR', 'foo');
INSERT INTO ft VALUES('f/o', 'foo');
SELECT offsets(@t) FROM ft WHER, ft MATCH 'f*o';


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDISTIN hi"DISTINCT Ce( [a]i0 hiDDISTIN hi"DIST x2, y1, y2);


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t000000000�AFTER INSERT ON TempT000e BEGIN
INSERT INTO TEMPT000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>1 OR  Te0tID>1 OR Te0tId>2;"Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID char(1) PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t000000000�AFTER INSERT ON TempT000e BEGIN
INSERT INTO TEMPT000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>1 OR  Te0tID>1 OR Te0tId>2;
Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


sqltext:
CREATE TABLE t0(a,b,c i,d,e, PRIMARY KEY(a,b,b,e,a,c,b,b,c,d,e,e));
SELECT * FROM t0 WHERE a=? AND b=?AND c=? AND b=?  AND c=? AND b=? AND c<? AND e=?;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+2001-01-011,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+57777-777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(cAND 60;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b q FROM x AS x1, x ;
SELECT   "a","b","a", a,total(A),"a", a,b FROM y AS y1, y  AS1, x;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b q FROM x AS x1, x ;
SELECT   "a","b","a", a,total(A),"a", a,b FROM y A, y  AS1, x y1, yAS y1, y ;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b q FROM x AS x1, x ;
SELECT   "a","b","a", a,total(A),"a", *,b FROM y A, y  AS1, x y1, y ;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('0�0 b"b a,b',  'b`b*NEAR/6 000''b"b 0a0');
SELECT * FROM x where y MATCH 'b`b "b","b"000';


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS �, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, x y11, x AS x2 W 1;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(or2desc);
INSERT INTO t0 VALUES('01 2001-1-01��01-01-01');
INSERT INTO t0 VALUES('2001-01-01bb cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2*01-01-01';
END:�


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 )001-01-01��01-01-01');
INSERT INTO t0 VALUES('2001-01-01~b cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01�01';0e01;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  AS1, y y1, y A, y y1,y y1, y A, y  AS   y1, y A, y  AS  y Ay A


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  AS1, y y1, y A, y y1,y y1, y A, y  y1, y A, y y1,y y1, y A, y  ASAS  y A


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  AS1, y y1, y A, y y1, y A, y y1,y  y1,y y1, y A, y  A y A


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 201-1-01��01-01-01');
INSERT INTO t0 VALUES('201-01-01`b cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001-��1';
END;


sqltext:
CREATE TABLE t102 (i0 �EXT UN�QUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0
LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'
JOIN t102 AS t2 ON+t1.i0= t0.i0));


sqltext:
PRAGMA synchronous = NORMAL;
PRAGMA page_qize = 1024;
PRAGMA journal_mode = WAL;
PRAGMA cALLe_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
PRAGMA wal_checkpoint;EXPLAIN
INSERT INTO t1 VALUES(randomblob(800));
BEGIN;
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*   2 */
INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*  16 */
SAVEPOINT �ne;
INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; PRAGMA  journal_mode = WAL;
Pwal_checkpoi0)M�t1;   /* 128 */
INSERi INTO t1 SELECT randomblob(800) FROM t1;   /* 256 */
ROLLBACK TO one;
INSERT SELECT randomblob(800) FROM t1;   /*  32 */
INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERT INTO 1 SELECT randomblob(800) FROM t1;   /* 256 */
COMMIT;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min( ltrim(1,1))  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 254


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT group_concat(1,1) +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 253


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min(DISTINCT ltrim(1,1))  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 253


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min( ltrim(1,1))  +1 FROM i ORDER BY 1)
SELECT max(1,1) x FROM i LIMIT 253


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min( ltrim(1,1))  +1 FROM i ORDER BY 1)
SELECT replace(1,1,1) x FROM i LIMIT 253


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 201-01-01��01-01-01');
INSERT INTO t0 VALUES('2001-01-01bb cc');
INSERT INTO t0 SELECT('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01*0*';
END;


sqltext:
PRAGMA synchronous = NORMA;
PRAGMA page_size = 1024;
PRAGMA journal_mode = WAL;
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
PRAGMA wal_checkpoint;EXPLAIN
INSERT INTO t1 VALUES(randomblob(800));EXPLAIN
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*   2 */
INSERT INTO t1 SELECT randomblob(800) FRt1; INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*  16 */
SAVEPOINT one;
INSERT INTO t1 SELECT randomblob(800) Ft1; INSERT INTO t1 SELECT randomblob(800) FRUM t1;  */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 128 */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 256 */
ROLLBACK TO one;
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*  3INTO t1 SELECT randomblob(800) FROM t1d  /*  64 */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERTbINTO t1 SELECT randomblob(800) FROM t1;   /* 256 */
COMMIT;


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEGER PRIMARY KEY DEFERRABLE REFERENCES T1(x)UNIQUE DEFERRABLE REFERENCES t1LT REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13);
I


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 
JOIN t102 AS 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON t1.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AST JOIN t102 
 
LE
JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR t1.i0= t2.i0 OR t2.i0=t1.oid);


sqltext:
#EGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('02001-0-011 �b');
INSERT INTO t0 VALUES('2001-01-01bb cc');
INSERT INTO t0 SELECT('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*0-01-01-01';
END;


sqltext:
#EGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('02001-0-011 �b');
INSERT INTO t0 VALUES('2001-01-01bb cc');
INSERT INTO t0 SELECT('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*0*0*-01-01';
END;


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "5","b"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , "a","b", 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000'�


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "5","b"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , "a","b", 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2 3,a, '000' ,a, '000' , 2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "5","b"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , "a","b", 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a '000' ,a, '000' , 2,  a,b,"b"


sqltext:
CREATE TABLE t000(cD,b00cD,b000, 'a''b'a,b,�,I, a,b�,���� load_extension(1,1));
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000;;


sqltext:
CREATE TABLE t000(cE,b000, 'a''b'INT0,ba,b,�,I, a,b�,���� load_extension(1,1));
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c0000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;;


sqltext:
SELECT  1000000%000%00800.060000%0080000006006000010001000000%008000E0060060000000%008000060800.060000000%00800.060000;


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t0a ON t1(b);
CREATE INDEX t0b ON t1(b);
INSERT INTO t1 VALUES(1,NULL);
INSERT INTO t1 SELECT a+1, trim(1,1) b FROM t1;
INSERT INTO t1 SELECT a+2, b FROM t1;
INSERT INTO t1 SELECT a+4, b FROM t1;
INSERT INTO t1 SELECT a+8, b FROM t1;
INSERT INTO t1 SELECT a+16,b FROM t1;
INSERT INTO t1 SELECT a+32, upper(1)b FROM t1;
INSERT INTO t1 SELECT a+64,b FROM t1;
ANALYZE;


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,c,c,d,e,c,d,e,f));
INSERT INTO t5 VALUES(1,1,?,1,1,10000);
INSERT INTO t5 VALUES(2,2,?,2,2,20000);
INSERT INTO t5 VALUES(1,2,?,4,5,1f))


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,A,UES��00S��@00,0,bbb REGEXP'bbb 000');
SELECT * FROM x where X MATCH 'bbb N`AR/6 A::::G6 A:::6 A::::G6:G';


sqltext:
CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid;
INSERT INTO t1 VALUES(1,2,3),(2,3,4);
SELECT c FROM t1 WHERE char (12001-01,1111111111111111111111111101,9) OR changes()


sqltext:
WITH i AS ( VALUES( a.b1) UNION ALL SELECT x+1 FRO,1 FRO, a.b,O, * ,I, a.b,O. * ,I,i ORDER BY 1)
SELECT x FROM i ,I,I? 10;


sqltext:
CREATE TABLE t1(x, y DEFAULT(datetime('  				  -1b� @1av')));
INSERT INTO t1(x)VALUES(1);
INSERT INTO t1(x)VALUES(1);


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */( nullif(1,1))LIMI,  "a","b""a","b";
SELECT $tota|(SELECT $tota|(1)p FROM y AS y1, y, y  AS y1)p F^OM x AS y1, y  � AS y


sqltext:
CREATE TABLE x(a,�);
CREATE VIEW y AS
SELECT DISTINCT/* */( nullif(1,1))LIMI,  "a","b""a","b";
SELECT $tota|(SELECT $tota|(1)p FROM y AS y1, y, y  AS y1)p FROM y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))WHERE"b";
SELECT $to|a|(SELECT $tota|(1)p FROM x AS y, y  CS1, y S�y1, y  AS1, y S1S�y1, y  AS1,  y S1, y  AS y1)p FROM x AS y1, y  S1,( y S1, y  AS y1)  AS1, yS1,( y S1, y  AS y1)pM x


sqltext:
CREATE TABLE F6�L AS SELECT 4 ASFOR, 5 CUURRETNTFOR, 5 CUODAT2, 5 CURE�IL��NTFOR, 5 CUODAT2, 5 CURE�IRRTNTFOR, 5 CUODAT2, 5 CURE�IL���TE
SEX


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0�', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q n');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', id,a,b,c) ES(1


sqltext:
CREATE TABLE t0(a);
INSERT INTO t0 VALUES('a');
SELECT-a|NOT CAST(a AS clob)< CAST(a AS cl clob000) FROM t0;
 FROM 


sqltext:
CREATE TABLE t0(a);
INSERT INTO t0 VALUES('a');
SELEcT a|NOT CAST(a AS cbob000)<+CAST(a AS clob�00) FROM t0;
 FROM 


sqltext:
CREATE TABLE t0(a);
INSERT INTO t0 VALUES('a');
SELECT a|NOT CAST(a AS loTEXT)<+CAST(a AS clob0cloTEXT)<+CAST(a AS clob000) FROM t0;
 FROM 


sqltext:
PRAGMA mmap_size ="  ->=a"RApage_size = 1024;
PRAGMA cache_size =AL00;TABLE t1(x)&
CREATE TA>LE t2(x);
CREATE TABLE t3andomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(11ft0FROM t3;
INSERT INTO t3 SELECT randomblob(12�01-01-0100) FROM t1;
INSERT INTO t3 SELECT  last_inser`_rowid() t3SERT INT t3 SELECT randomblob(
00) FROM t3;INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��nanamZ;ANALYZE'TEMP';VACUUM'TEMP';VACUUM;;VACUUM;
ATTACH':name
ATTACH':name;ANALYZE'T��P';E


sqltext:
PRAGMA cache_sspispill;
PRAGMA temp.cche_spilll;
PRAGMA temp.cche_spill;
PRAGMA temp.cachespill;
PRAGMA temp.cache_spill;VACUUM


sqltext:
CREATE TABLE t0(a,b,c,de, PRIMARY KEY(a,b,c,a,b,c,b,a,b,c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b, b,c,d,b,c)) WITHOUT ROWID;,e);
000


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,2001501- "a","b"|substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5,0,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(b);
REINDEX;
SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60;


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x *-1)*10 FROM i)
SELECT sqlite_compileoption_get(1) x FROM i LIMIT 205


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' time(1,1,1 strftime [a],1,1)used(1)f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH  ' (1 time(1,1,1))a''b''c a,b d';


sqltext:
CREATE TABLE t1(a char(1),b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b,a "a","b"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2, '000' , 2, 3,a,1'000' ,a, '000' , 2,  a,b,"b"


sqltext:
CREATE TABLE t1(a char(1)UNIQUE,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b,a "a","b"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2, '000' , 2, 3,a, '000' ,a, '000' , 2,  a,b,"b"


sqltext:
CREATE TABLE t0b(x);
INSERT INTO t0b(rowid, x) VALUES( 1%11,10),(2, length(1)-10),(0, likely(1)-01-1);
�;


sqltext:
CREATE TABLE t0( a,ba,b,c,d,Oub0ect,e,W,ER a,bE d, PRIMARY KEY(c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b,c,a)WHERE d<a)


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('b*NEAR/6 0:0* F:OM x 00 bbb A a,G ftNEAR/6 0:0* F:OM x 00 c00', 'A a,GA a,G ftNEAR/6 0:0* F:O ftNEAR/6 0:0* F:OM x 00 bbb c00USING ftsy,0);bbb 00');
SELECT * FROM x where x MATCH '^bb*NEAR/6 0:0
 FROM x w';


sqltext:
CREATE TABLE t34(x,y);
INSERT INTO t34 VALUES(900,4), (907,3), (100,5), (107,5);
SELECT a.x,avg(y)FROM t34 AS a
GROUP BY a.x
HAVING NOT EXISTS( SELECT b.x, avg( @1)
FROM t34  b
GROUP BY x
HAVING avg(a.y) > avg( @1y));


sqltext:
CREATE TABLE t1(x INTEGES PRIMARY KEY, y, z);
CREATE TABLE t2(a, z);
CREATE VIEW a002 AS SELECT a, "a","Z"AS m FROM t2 ORDER BY a;
EXPLAIN QUERY PLAN
SELECT t1.z, a002.m
FROM t1 JOIN a002 ON t1.y=a002.m
WHERE t1.x IN (1)2,3)


sqltext:
CREATE TABLE t1(x INTEGES PRIMARY KEY, y, z);
CREATE TABLE t2(a, b);
CREATE VIEW a002 AS SELECT a, "a","Z"AS m FROM t2 ORDER BY a;
EXPLAIN QUERY PLAN
SELECT t1.z, a002.m
FROM t1 JOIN a002 ON t1.y=a002.m
WHERE t1.x IN (1%Y,3)


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */(SELECT nullif(1,1))LIMIT "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM y AS y1, y, y  A, y, y �1)p FROM y  � AS y


sqltext:
SELECT 0>>$00B$00>>00060.02>>0000.02>>00000>$00>>00060.02>>0000.02>:0>>$00>>00060.02>>000>>000>00060.02>>0>>$00>>00060.02>>000>>000>00060.02>>0000.02>>000000000>>$00>>00060.02>>000>>0000000060.00>>$00>>00060.02>>000>>000>00060.02>>0000.02>>002>>0000.02>>00000>>$00>>00060.02>>000>>0000000060.00>>$00>>00060.02>>000>>000>00060.02>>0000.02>>000000000>>$00>>00060.02>>000>>0000000060.00;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p,~~~~~~~~~~~~~~~~~~ x2.b AS q FROM x AS x1, x AS x2 WHERE q= replace(1,1,1)GLOB-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y  A, y AS y y1;


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT avg(1) b,a, sqlite_compileoption_get(1) , 2,  a,b,"b"<a,a, '000' , 2,2, 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a,a, b,"b",a,a, '000' , '000' , '000' - '000' , 2, 3,a, '000' ,a, '000' , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a,a, b,"b",a,a, '000' , '000' , '000' - '000' , 2, 3,a, '000' ,a, '000' , 1,  a,b,"b"


sqltext:
CREATE TABLE t0(x TEX5 UNIQUE, y TEXT UNIQUE, z);
INSERT INTO t0 VALUES('000','000','0');
SELECT DISTINCT* FROM t0 WHERE (z='00L' IS y AND x=' julianday(1,1,1)000' OR y='000') AND(x='000' OR y='000')N


sqltext:
CREATE TABLE t0(x TEX5 UNIQUE, y TEXT UNIQUE, z);
INSERT INTO t0 VALUES('000','000','0');
SELECT DISTINCT* FROM t0 WHERE (z='00L' IS y AND x='000'ISNULL MATCH'000' OR y='000') AND(x='000' OR y='000')N


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(200120012001-01-01010, '2001-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������ѳ��������������������������������������������������ǳ����������������������������������������������������������������������������������������������������ɳ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII+IIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIjIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIf');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO xR SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SEL-CT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIII=IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������II������������������������������������������������������㳳�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ǳ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������INNER��������������������������m0000IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIISIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT fNTO x0 SELECT�* FROM x0;
INSERT INTO x0 VA[UES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FRO�x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII<IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������:memory:��������������������������������������������������������������������������������������������������������������������� unlikely(1)������������������������������������������������������������������������������������������������������������������������ĳ����������������������4all��������������������������������������������������������������������������������������������г�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIAIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������d IIIIIIIIIII�����������������������������������������������������#�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
ELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(i,b,c,d,e,e,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','600000 160000 40000 10000 2000 60� 100 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE e=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE c=3;
SELECT i FROM t4 WHERE e=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE g=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,b,c,d,e,e,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','600000 160000 40000 10000 2000 60� 100 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE e=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE e=3;
SELECT i FROM t4 WHERE e=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE g=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
CREATE TABLE t1(a char(1), b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL;
INSERT INTO t1 VALUES(-1, -1, -1, NULL);
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT zeroblob(1)a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2<a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=tB");
INSERT INTO t0 VALUES('oneatwoBBt̍tatwoBB{̍t̍oBBt̍t̍00');
NSER 


sqltext:
CREATE TABLE t0( a,ba,b,c,d,intP UNIQUE,bI P UNIQUe, PRIMARY KEY( a,ba,b,c,d,c)) WITHOUT ROWID;REINDEX rtrim) IN


sqltext:
CREATE TABLE t0( a,ba,b,c,d,intP UNIQUE,bIdP UNIQUe, P UNIQUe, PRIMARY KEY(a,b,c,d,c)) WITHOUT ROWID;REINDEX rtrim) IN


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'KEYryyeing and jqyyyeoioneing/and juyyyerteing and Ouyyand juyymping');
SEm


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'KEYryyeing and juyyyeoioneing/and juyyyerteing and Ouyyand jyyymping');
SEm


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 2001-1-01��01-01-01');
INSERT INTO t0 VALUES('20012001-01-01-01-01bb cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01�01';
END:�


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 2001-1-01��01-0,-01');
INSERT INTO t0 VALUES('200120{{{{01-01-01-01-01bb cc');
INSERT INTO t0 VALUES('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01-01';
END:�


sqltext:
PRAGMA mmap_size = 0;
PRAGMA page_size = 1024;
PRAGMA cache_size =ALL00;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
CREATE INDEX i3 ON t3(x);
INSERT INTO t3 VALUES(randomblob(100));
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(000) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t2 SELECT randomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


sqltext:
PRAGMA mmap_size = 0;
PRAGMA page_size = 1024;
PRAGMA cache_size =ALL00;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
CREATE INDEX i3 ON t3(x);
INSERT INTO t3 VALUES(randomblob(100));
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(000) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT-randomblob(200) FROM t3;REINDEX


sqltext:
PRAGMA mmap_size = 0;
PRAGMA page_size = 1024;
PRAGMA cache_size =ALL00;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
CREATE INDEX i3 ON t3(x);
INSERT INTO t3 VALUES(randomblob(100));
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(000) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM�t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t1 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT sqlite_version()FROM t3;REINDEX


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-ti-e(1,1,1) @1 OR 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) �1 OR 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' load_extension(1,1)-time(1,1,1) @1 OR 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR date(1,1,1) 1=1';f


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=Ľ�����������������OR��00'woBtϽ���O��Ľ���);
IaB");
INSERT INTO t0 V%L


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=Ľ������������������OR��00'woBtϽ���O��Ľ��� "a"aB");
INSERT INTO t0 V%L


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=Ľ������������������OR��00'woBtϽ���O��Ľ���); "a"");
IN


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4( a,ba,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(1, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');REPLACE INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0�', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q n');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T 0', 'W B 0 Y N', id,a,b,c) ES(1


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(2,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b,a "a", avg(1)"S"FROM t1
UNION
SELECT b,a, '000' FROM t1
ORDER BY 2, 2 , 2,  ab"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '0 ;0�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2, 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '0 D0�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '0 ;0�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2;  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1, sqlite_source_id() , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, random(), 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a,CURRENT_TIME,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '0 ;0�' , 2,2, 2 GLOB  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '0 >= ;0�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b "a","b"FROM t1
UNION
SELECT b, strftime(1,a, '0002�' , 2,2, 2 , 2,  a,1,1,1)a, '000' FROM t1
ORDER BY 2, 2 , 2,  a,b,"b",a,a, '000' , 2,2, 2 , 2,  a, 2 , 2,  a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 2,a,2,  a,b,"b"


sqltext:
CREATE TABLE t000( 'a''b' a,bc0  UNIQUE,��I, a,c0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000,t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c00  NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
SELECT avg(DISTINCT ?11)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE  avg( ?11)LIKE avg(1)00 LIKE E $::00::0 LIKE $::0 LIKE $::00::0 LIKE 


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a OR-1;
SELECT  total(1)p FROM y A, y  AS1, y  AS y1, y AS   AE1, y  Ay1, y y1, y AS   AE1, y  Ay1, y  AS y1, y AS y y1;


sqltext:
CREATE TEMP TABLE ANALYZEt0001(a,b,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[^9(-���*';


sqltext:
CREATE TABLE t0 (a INTEGER PRIMARY KEY);
CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000);
CREATE TABLE t2x (b,INTEGER PRIMARY KEY);
SELECT t0. *FROM ((t0 JOCa) AS x JOIN t2x `.a.ba` ON x.b=t2x.b) as00;


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L W', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(5., 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1< random()||10E3) x FROM i LIMIT 5+02


sqltext:
CREATE TABLE t000(c0  a,ba,b,�,I, a blobte_compileoption_get(1)UNIQUE,INT a,b0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(c0  a,ba,b,�,I, a blobte_compileoption_get(1)UNIQUE,INT a,b0000);
SELECT c000.* FROM t000 AS t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS q FROM x AS x1, x , x Ax1, x , x AS x2 WHERE q=1+time(1)OR
x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y AS y1, y AS A, x A, x  A �1;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTO","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTO","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTC","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTO","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+: daysa","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+00baysa","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+: daysa","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@004bb�c00', 'bbNR NEAR/6 00  -1bbb NEAR/ bbb NEAR/6 00 O OR bbb NEAR/6 00 OR bbb NEAR/6 �00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00  -1bbb NEAR/6 00 OR bbb NEAR/6 Cbb NEAR/6 200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c001bbb NEAR/6 00 OR bbb NEAR/6 Cb', 'bbN OR bbb NEAR/6 00 OR bbb  EAR/6 �00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00  -1bbb NEAR/6 00 OR bbb NEAR/6 C';


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  dysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  dasS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 ;  dysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  dysS","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   ysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   ysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2    sS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2  blob  ysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   blob ysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2    >=ysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "102  ysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM
i ORDER BY 1)
SELECT strftime(1<1, "-0  ; aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   ;aysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   ;aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   ;aysS","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME,"b" ,12001-01-01) x FROM i LIMIT 3 ;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, sqlite_source_id() ,12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1))
SELECT strftime(1,1, CURRENT_TIME,"b" -12001-0, CURRENT_TIME,"b" -12001-01,01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "   aysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "   aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "    ysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " 00bysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "   aysS","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " A12  aysS","b" -12001-01-01) x FROM i LIMIT 80;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -ABS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, " -002sS","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY);
INSERT INTO t0t0006 VALUES(' sqlite_compileoption_used(1) -1');
INSERT INTO t0t0006 VALUES('ABX');
SELECT DISTINCT sqlite_compileoption_get( zeroblob(1))a;


sqltext:
PRAGMA auto_vacuum = incremental;
PRAGMA journal_mode = DELETE;
CREATE TABLE t1(a�PRIMARY KEY, b);
INSERT INTO t1 VALUES(randomblob(1000), randomblob(100));
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(402001-01-0100), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;
DELETE FROM t1 WHERE rowid%B;


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0�LEFT JOIN t102  t1 ON t1.i0 GLOB date(1,1,1)
JOIN t102 AS tFT JOIN t102  ON( unlikely(10=t1.i0));


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00 bbb c00', 'bbb 00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00 NEAR/6 C00 NEAR/6 00';�


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption_used(1)f 0 b c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,-2) FROM ft0 WHERE ft0 MATCH   ' -1p -2001-01-01ed(1)f OR (1)a''b''a''b''c';


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,b,c,d,g,g,g,g);
INSERT INTO t4 VALUES(1,2,3,4,5,6,2,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;ANALYZE FROM s


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT ~+1 FROM i ORDER BY 1)
SELECT x FROM i LIMI, ( VALUES(1) UNION ALL SELECT x+1 FROM i ORDER BY 1)
SELECT x 0;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT ~+1 FROM i ORDER BY 1)
SELECT x FROM i LIMI, ( VALUES(1))UNION ALL SELECT ~+1 FROM i ORDER BY 1)
SELECT x 0;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT ~+1 FROM i ORDER BY 1)
SELECT avg(1) x FROM i LIMI, ( VALUES(1) UNION ALL SELECT ~+1 FROM i ORDER BY 1)
SELECT x 0;


sqltext:
CREATE TABLE t1(a,b);EXPLAIN
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRINDEET� TABLE!00X0t00/////////////////////////ter SET� TABLE!00(T NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRINDEET� TABLE!00X0t00////////////////DEET� TABLE!00X0t TABLE!00(T NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO �10


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRINDEET� TABLE!00XADT� TABLE!00XADD0///////////ter SET� TABLE!00(T NUL�URRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+2001-01-011,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+57777-777772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(cAND 60;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x ;
SELECT   "a","b","a", a,total(A),"a", *,b FROM y A, y  AS1, x y1, y ;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('0�0 b"b a,b',  '�`b*NEAR/6 000''b"b 0a0');
SELECT * FROM x where y MATCH 'b`b "b","b"000';


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR
x2.a=x2.a;
SELECT  total(1)p FROM x AS y1, y  AS1, y y1, y A, y y1,y y1, y A, y JOIN y A


sqltext:
CREATE TABLE t000( 'a''b'c0 �UNIQUE,c000 a,c0);
CREATE TABLE t002(c0 �UNIQUEc000, 'a''b');
SELECT c0 `a` FROM t002 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(xAS INTEGER PRIMARY KEY DEFERRABLE REFERENCES �����������������������̀�1(x)UNIQUE DEFERRABLE REFERENCES t1(x) ON UPDATE SET DEFAULT REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13);
I


sqltext:
#EGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('02001-0-011 �b');
INSERT INTO t0 VALUES('2001-01-01bb cc');
INSERT INTO t0 SELECT('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '02001-01-01*0-01-01-01';
END;


sqltext:
CREATE TABLE t000(cE,b000, 'a''b'INT0,ba,b,�,I, a,b�,���� loadTextension(1,1));
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c0000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))WHERE"b";
SELECT $to|a|(SELECT $tota|(1)p FROM x AS y, y  CS1, y S��1ntegrity, y �1S�y1, y  AS1,  y S1, y  AS y1)p FROM x  S1,( y S1, y  AS y1) AS y1, y  S1,( y S1, y  AS y1)  AS1, yS1,( y S1, y  AS y1)pM x


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))WHERE"b";
SELECT $to|a|(SELECT $to��|(1)p FROM x AS y, y  CS1, y S�y1, y  AS1, y S1S�y1, y  AAS1, yS1,( y S1, y  AS y1)S1,  y S1, y  AS y1)p FROM x AS y1, y  S1,( y S1, y  AS y1)  AS1, yS1,( y S1, y  AS y1)pM x


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x, "a","b"SC);
INSERT INTO t0(docid, x) VALUES(10000000000000.000, '002001-01ESC);
INSER-01');
INSERT INTO t0(docid, x) VALUES(0, '0b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid, a,b< "a", docid, a,b, "a","b"I;"


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x, "a","b"SC);
INSERT INTO t0(docid, x) VALUES(10000000000000.000, '002001-01ESC);
INSER-01');
INSERT INTO t0(docid, x) VALUES(0, '0b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid, a,b, "a", docid, a,b, "a",#b"I;"


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x *-1)*10 FROM i)
SELECT sqlite_compileoption_get(1)&x FROM i LIMIT 205


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x *-1)*10 FROM i)
SELECT sqlite_compileoption_get(1)/x FROM i LIMIT 205


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x *-1)*10 FROM i)
SELECT sqlite_compileoption_get(?) x FROM i LIMIT 205


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('b*NEAR/6 0:0* F:OM x 00 bbb A a,G ftNEAR/6 0:0* F:OM x 00 c00', 'A a,GA a,G ftNEAR/6 0:0* F:O ftNEAR/6 0:0* F:OM x 00 bbb cL0USING ftsy,0);bbb 00');
SELECT * FROM x where x MATCH '^R/6 0:0
 FROMbb*NEAR/6 0:0
 FROM x w';


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */(SELECT nullif(1,1))MATCH "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y, y  A, y, y �1)p FROM x  � AS y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  date(1,1,1)/(SELECT nullif(1,1))MATCH "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y, y  A, y, y �1)p FROM y  � AS y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */(SELECT nullif(1,1))MATCH "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y, y ON A, y, y �1)p FROM y  � AS y


sqltext:
PRAGMA encoding=UTF16Le;
CREATE TABLE t0u�����60u���ACTIONAS��6(VIEWCURRENT_TIMIMARY �);
INSERT INTO t0t VAL


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT count(1)p,~~~~~~~~~~~~~~~~~~ x2.b AS q FROM x AS x1, x AS x2 WHERE q= replace(1,1,1)-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y 


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT count(1)p,~~~~~~~~~~~~~~~~~~ x2.b AS q FROM x AS x1, x AS x2 WHERE q= replace(1,1,1)-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, yy1, y A, y  A, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT count(
)p,~~~~~~~~~~~~~~~~~~ x2.b AS q FROM x AS x1, x AS x2 WHERE q= replace(1,1,1)-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y  A, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p,~~~~~~~~~~~~~~~~~~ x2.b AS q FROM x AS x1, x AS x2 WHERE q= replace(1,1,1)GLOB-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y  A, y AS y y1;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(200120012001-01-01010, '201-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(200120012001-01-01010, '2001-01-01b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(200120012001-01-01010, '2001-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*0*01-01-01' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd II�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd III�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIII�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIII�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIhIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII:IIIIIIIIIIIIIIIII���������������������������������������������������������������N��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIII�IIIIIII0n0IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0ET * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIII��������IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII[IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII�������������IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)IIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM�0;
ALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIIIIIIIIIIIIIIIIIII�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������!!!!!!!!!!!!!���ϳ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIdIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, O);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd IIt92I��������������IICIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII^IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('III-IIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T9julianday(1,1,1)IME0 bc', 'd IIIIIII�IIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ó�������������������������������������������������������������������������������������������������������������������������������������������������������³������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIEIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0SVALUES('IIIIIIIIIIIIIIIIIIII'f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES('�load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' load_extension(1,1)-time(1,1,1) @1 OR 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' load_extension(1,1)- strftime(1,1,1,1)time(1,1,1) @1 OR 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' max(1,1)ension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR max(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES(' max(1,1)1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR max(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' max(1,1)foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR max(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR maxime(1,1,1) @1 OR(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtens{on(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,on(1,1)1) @1 OR max(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');EXPLAIN
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L W', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 �', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(5., 'S E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(d,a,b,c) VALUES(17, 'S K 0', 'W B 0 Y N',  E');
INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 day VAUNION ALL SELECT x<1sa","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTC","b" -12001-01-01) x FROM i LIMIT 50;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTC","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTC","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTCASEO","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTCASEO","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "UTCASEO","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR bbb NEAR/6 00 OR bbb NEA:/6 �00');
SELECT * FROM x where x MATCH 'bbb NER/6 00 OR bbb*NEAR/6 Cbb NEAR/6AR/6 00  -1bbb NEAR/6 00 OR bbb*NEAR/6 Cbb NEAR/6200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR bbb NEAR/6 00 O� bbb NEAR/6 �00');
SELECT * FROM x where x MATCH 'bbb NEAR/6 00  -*bbb NEAR/6 00 OR bbb*NEAR/6 00';


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  dasS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  dasS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2  dasS","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, "+2 ;  dysS","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   blob ysS","b" -12001-01-01) x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   blob ysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, "+2   blob ysS","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM
i ORDER BY 1)
SELECT strftime(1<1, "-0  ; aysS","b" -12001-01-01) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM
i ORDER BY 1)
SELECT strftime(1<1, "-000b aysS","b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM
i ORDER BY 1)
SELECT strftime(1<1, "-0  ; aysS","b" -12001-01-01) x FROM i LIMIT 1002


sqltext:
WITH i(b) AS ( VALUES(1) UNION ALL SELECT count(1))
SELECT strftime(1,1, CURRENT_TIME,"b" -12001-0, CURRENT_TIME,"b" -12001-01,01) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1) i ORDER BY 1)
SELECT strftime(5,1 -12001-0, CURRENT_TIME, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBt�����O���������������Ž������ACTION���00');
INSERT INTO t0 VAL


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */(SELECT nullif(1,1))MATC, "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y, y  A, y, y �1)p FROM x  � AS y


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(200120012001%01-01010, '2001-01-01b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd II�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;�INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd II�IIADDIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('IIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_T julianday(1,1,1)IME0 bc', 'd II�IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������oci�������������������������������������������������#�II	IIIIIIIIIIIIIIIIIIIIIII FROM x0;
INSERIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INS RT INTO x0 SELECT * FROM x0;
INSERT INTOx0 VALUES('IIIIIIIIIIIIIIIIIIII f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0LECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1 strftime(1,1,1,1) @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '- 1=1(1,1,1) @1 OR max(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1 strftime(1,1,1,1) @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-tim strftime(1,1,1,1)(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1 strftime(1,1,1,1) @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR max 1=1(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extensio-time(1,1,1) @1 OR max(1,1)n(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1 strftime(1,1,1,1) @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-Xime(1,1,1) @1 OR max(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1 strftime(1,1,1,1) @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-L1) @1 OR maxtime(1,1,1) @1 OR max(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(NTO ft VALUES(' load_extension(1,13', 'foo');
INSERT INTO f');
INSERT INTO ft(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xte�sion(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR mHx((1,1,1) @1 OR mHx(1,1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(NTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO f');
ITO ft(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xte�sion(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR mHx(1, load_1) 1=1';f


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR bbb NEAR/6 00 OR bbb NEA:/6 �00');
SELECT * FROM x where x MATCH 'bbb NER/6 00 OR bbb*NEAR/6 Cbb NEAR 1=1/6 00  -1bbb NEAR/6 00 OR bbb*NEAR/6 Cbb NEAR/6200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'jbN OR bbb NEAR/6 00 OR bbb NEA:/6 �00');
SELECT * FROM x where x MATCH 'bbb NER/6 00 OR bbb*NEAR/6 Cbb NE/6 00 OR bbb*NEAR/6 EAR/6 00 OR bbb*NEAR/6 Cbb NEAR/6200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c0p', 'bbN OR bbb NEAR/6 00 OR bbb NEJOIN �00');
SELECT * FROM x where x MATCH 'bbb NERDEFAULTR bbb*NEAR/6 Cbb NEAR/6AR/6 00  -1bbb NEAR/6 0 OR bbb*NEAR/6 Cbb NEAR/6200';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('@00@bb�c00', 'bbN OR bbb NEAR/6 00`OR bbb NEA:/6 �00');
SELECT * FROM x where x MATCH 'bbb NER/6 00 00 OR-bbb*NEAR/6 Cbb NER bbOR bbb*NEAR/6 Cbb aEAR/6AR/6bb�c0 00  bbb NEAR/6 00 OR-bbb*NEAR/-1vvvvvvvvvvvvvvvvvvvvbbb NEAR/6 00 OR-bbb*NEAR/6 Cbb NER bbb*NEAR/6 CAR/6200';


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1) i ORDER BY 1)
SELECT strftime(5,1 -12001-0, CURRENT_TIME, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" -12001-01-01)x;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1)FROM i ORDER BY 1)
SELECT strftime(5,1 -12001-0, CURRENT_TIME, CURRENT_TIME,CURRENT_TIME, CURRENT_TIME,"b" -12001-01-01) x FROM i LIMIT 10;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(NTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO f');
ITO ft(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xte�sion(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR mHx(1, load /* */1';f


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(NTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO f');
ITO ft(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xte�sion(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH '-time(1,1,1) @1 OR mHx(1, load OR */1';f


sqltext:
SELECT sqlite_rename_parent( " a.bT@@@@@@@7@@@@@@@@@",'000','000');
SELECT sqlite_rename_parent( " a.bT@@@@@@@7@@@@@@@@@",'000','000');


sqltext:
CREATE TABLE t10(x INTEGER PRIMARY KEY, y INT	 z CHAR(100));
CREATE INDEX t000 ON t10(y);
EXPLAIN QUERY PLAN
SELECT a.x, b.x
FROM t10 AS a JOIN t10 AS b ON b.y=b.x
WHERE (b.x>$ab0 OR b.x=$ab );


sqltext:
PRAGMA foreign_keys= ON;
CREATE TABLE p(i PRIMARY KEY);
CREATE TABLE c(j REFERENCES p ON DELETE CASCADE);
INSERT INTO p SELECT('0e00o');
INSERT INTO c VALUES('0e00o');
UPDATE p SET i= '000';
S


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,2,6<20000);REINDEX


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INT0000);
INSERT INTO t1 VALUES(3);
INSERT INTO t1 VALUES(2);
INSERT INTO t1 VALUES(1);
INSERT INTO t1 VALUES(2);
INSERT INTO t1 VALUES(3);
INSERT INTO t1 VALUES(1);
CREATE TABLE t2(x);
INSERT INTO t2
SELECT DISTINCT
CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN  round(oid)ELSE '000' END
FROM t1;
SELECT quote(x) FROM t2 ORDER BY 1;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a PRIMARY KEY, b);
INSERT INTO n00be0s(oid) VALUES(NULL);
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
UPDATE n00be0s set a= oid, b =NOT '000009000000000000000000';
COMMIT;


sqltext:
CREATE TABLE t00a(a,b);
INSERT INTO t00a VALUES(0,0);
CREATE TABLE t00b(n);
CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN
SELECT 0 >ROM t00a WHERE 0>n0000 UNION ALL
SELECT 0 FROa WHERE 0>n0000 UNION ALL
SELECT 0 FROM t0 a WHERE 0>new>x ORDER BY 0 LIMIT 0;
END;
INSERT INTO t00b VALUES(6);
M t0 a WHERE 0>new>x ORDER BY 0 LIMIT 0;
END;
INSERT INTO t00b VALUES(6);


sqltext:
PRAGMA avacuum= tal;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES(1,randomblob(2500));
INSERT INTO t1 VALUES(22000000101,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;b(50)FROM t1;
DELE�E FROM t1 


sqltext:
ATTACH''AS n�������������������������������������������������������������������������������������������������������������������������������������������������������������������������namu;
AtTACH':my:' TABL


sqltext:
ATTACH''AS noname;
ATTACH':memory' AS iNALYZE;
SELECT name FROM noname.sqlite_master;
SELECT name FROM inmem.sqlite_maste�;


sqltext:
ATTACH''AS noname;
ATTACH':memory:' AS inmem;VACUUM;
CREATE TABLE noname.n00000(x);
CREATE TABLE inmem.i00(x);
CREATE TABLE inmem.i0000(y);
CREATE TABLE main.y000(z);ANALYZE;
SELECT name FROM noname.sqlite_master000(y);
CREATE TABLE main.y000(z);ANALYZE;
SELECT name FROM noname.sqlite_master;
SELECT name FROM inmem.sqlite_master;


sqltext:
ATTACH nulll AS nu��;
ATTACH nulll AS null;
ATTACH l AS nul�������������AS '';TTACH l AS null;
ATTACH '' AS '';


sqltext:
PRAGMA auto_vacuum= incrtaQ;
PRAGMA page_size =cntal;
PRAGMA paacuum= incrtaQ;
PRAGMA page_size =cremental;
PRAGMA page_size = 1 1001;


sqltext:
PRAGMA auto_vacuum= taQ;
PRAGMA page_size =cremental;
PRAGMA page_size = incrtaQ;
PRAGMA page_size =cremental;
PRAGMA page_size = 1 1000;
CREATE CT NULL,randomblob(5TE FROM t1 WHERE a=1;


sqltext:
PRAGMA synchronous=ON;PRAGMA synchronous=ON;
PRAGMA synchronous=ON;PRAGMA synchronous=ON;
PRAize;
PRAPR7GMA synchrono


sqltext:
PRAGMA synchronous=2;
PRAGMA synchronous=2;
PRAGMA s�nchronouT;
PRAGMA s�nchronouynchronous=2;
PRAGMA synchronous=2;
PRAGMA s�nchronouT;


sqltext:
PRAGMA cache_spill=OFF;
VACUUM F;
VACUUM cll;
PRAGMA main.cache_spill;
PRAGMA temp.cache_pill=OFF;
VACUUM F;
VACUUM cll;
PRAGMA ma temp.cache_spill;


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b,(c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0NULL');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
IUSERT I T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A');
INSERT ITO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALS V U', 'T P F W H', 'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C');
INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N');
INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT glob(1,1) FROM i ORDER BY 1)
SELECT strftime(1,1,1,1) x FROM i LIMIT 1014


