# xsql

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


sqltext:
CREATE TABLE t1000(x);
CREATE TRIGGER r000 INSERT ON t1000 BEGIN
INSERT INTO t1000 SELECT y FRO, (SELECT new.x y);
END;
INSERT INTO t1000 SELECT(1);


sqltext:
CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY);
INSERT INTO t0t0000 VALUES('000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000');
INSERT INTO t0t0000 VALUES(000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000004);
SELECT DISTINCT a FROM t0t0000;


sqltext:
CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY);
INSERT INTO t0t0000 VALUES('000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000');
INSERT INTO t0t0000 VALUES(0E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004);
SELECT DISTINCT a FROM t0t0000;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT ~+1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT ( VALUES(1) UNION ALL SELECT ~+1 FROM i ORDER BY 1)
SELECT x FROM i LIMI10;


sqltext:
CREATE TABLE t3(a �NTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND b=3 ORDER BY b, c, d,e DESC, b, c, "a","b"


sqltext:
CREATE TABLE t3(a �NTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c /* */);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, d,e DESC, b, c, "a","b"


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABL
SELECT SQLITE_RENE_TABLE('f-0', '000');


sqltext:
PRAGMA writable_schema= 1;
DELETE FROM sqlite_master WHERE 1;
PRAGMA writable_schema = 0;
SELECT *FROM sqlite_master WHERE 1;
PRAGMA writable_schema = 0;
SELECT * FROM sqlite_mas FROM sqlite_master;


sqltext:
PRAGMA writable_schema= 1;
DELETE FROM sqlite_master WHERE 1;
PRAGMA writable_schema = 0;
SELECT * FROM sqlite_master;PRAGMA writable_schema= 1;
DELETE FROM sqlite_master WHERE 1;
PRAGMA writable_schema = 0;
SELECT * FROM sqlite_m


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


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


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


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


sqltext:
BEGIN;
CREATE TABLE t1(a, b);
CREATE TABLE t2(x, y);
INSERT INTO t2 VALUES(1,2);
SAVEPOINT o;
INSERT INTO t2 VALUES(3,4);EXPLAIN
SAVEPOINT t0o;
DROP TABLE t1;
ROLLBACK TO t0o;


sqltext:
PRAGMA main.cache_size= 10;
PRAGMA temp.cache_size = 10;
CREATE TABLE temp.tt(a, b);
INSERT INTO tt VALUES(randomblob(500), 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(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;
 SELECT randomblob(500)< randomblob(600) FROM tt;


sqltext:
PRAGMA main.cache_size= 10;
PRAGMA temp.cache_size = 10;
CREATE TABLE temp.tt(a, b);
INSERT INTO tt VALUES(randomblob(500), 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(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;
 SELECT randomblob(500),$randomblob(600) FROM tt;


sqltext:
PRAGMA king=UTF16;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(1);
ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900';
ALTER TABLE t1 ADD COLUMN cEFAUL--------- t1 SETABLE t1 ADD COLUMN d TEXT DEFAUL----------------- t1 SET x=x;1;


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


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


sqltext:
SELECT  -10>>0000000060.00>>00000-10>>0000000060.00>>0000000060.010000>>00000000600060.010000>>0000000060.00;


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);
CREATE INDEX t1a ON t1(a);
CREATE INDEX t1b ON t1(c);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','�2000'),('t1','t1b','2�000');
ANALYZE sqlite_master;
SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c;


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 unicode(?) x FROM t0;
DELETE FROM t0 WHERE rowid>200;
VACUUM;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) ||   +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 10 -5;


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1)LIKE  +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 10 -1;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) | group_concat(1,1)|   +1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 10 -1;


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN
INSERT INTO Re00T000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 FROM TempT000e 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=2;ANALYZE;
SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;ANALYZE


sqltext:
CREATE TABLE t0(x);
INSERT INTO t0 VALUES('0');
INSERT INTO t0 VALUES('h');
INSERT INTO t0 VALUES('000000');
SELECT 1, x FROM t0 WHERE x LIKE '%h%';
SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE'߀';


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(1,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  c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc( [a]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(1,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;
IO  c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES('80');
INSERT INTO t0 VALUES('b0');
INSERT INTO t0 VALUES('c0');
SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M,8);


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"< zeroblob(1) "n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 1) OR "";


sqltext:
SELECT 0>>$00>>00060.02>>000000000>>$00>>00060.02>>00>>00060.02>>000000000>>$00>>00060.02>>00060.0100060.010000>


sqltext:
SELECT 0>>$00>$00>>00060.02>>0000.02>>000000000>$00>>00060.02>>0000.02>>000000000>>$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>>000000000>>$00>>00060.02>>000>>0000000060.00;


sqltext:
CREATE TABLE t91(x); INSERT INTO t91 VALUES(1);
CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b);
INSERT INTO t92 VALUES(1,2,3);
SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 2 FROM t91 LEFT JOIN t92 ON y=2 AND b=3;
SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL;
SELECT 4 FROM t91 LEFT JOIN t92 ON(y=2 AND b=3) AND y IS NULL;
CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 5 FROM x9 WHERE y IS NULL;
SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 7 FROM t91 LEFT JOIN t92 ON y=2 AND b=30 WHERE y IS NULL;
SELECT 9 FROM t91 LEFT JOIN t92 ON y=20 AND b=3 WHERE y IS NULL;


sqltext:
CREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid;
CREATE UNIQUE INDEX i0000 ON t0e01(a,a);REPLACE INTO t0e01 VALUES(100,200);
CREATE TABLE t0e02(w, x, y, FOREIGNTEGER PRIMARY KEY, b) WITHOUT rowid;
CREATE UNIQUE INDEX i0000 ON t0e01(a,a);REPLACE INTO t0e01 VALUES(100,200);
SELECT* FROM t0e01, t0e02;


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0t�����������������������������������������������������������������������������������������������������6(CURRENT_TIMESTAMPPRIMARY KEY);
IN�ERT INT


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0t��������6(CURRENT_TIMESTAMPPRIMARY KEY);PRAGMA encoding=UTF;
CREATE TABLE t0t��������6(CURRENT_TIMESTAMPPRIMARY KEY);
IT


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0���������������������������������������������������������������������������t��������6(CURRENT_TIMESTAMPPRIMARY KEY);
IN�ERT INT


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


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(22001-01-01,randomblob(50));
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(50)FROM t1;
DELETE FROM t1 


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 in (10,12,20);
INSERT INTO t1 SELECT*FROM t1
WHERE a IN (SELECT sum(1) t1 WHERE a)10)


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((TCH 'foo';


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''o00, t0o);
INSERT INTO ft����������������������������������������������������������������������������������������CH 'foo';


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


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', ' randomblob(1)a''b''00',1);
INSERT INTO t1 VALUES(2,'00','e0TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT',5);
INSERT INTO t1 VALUES(3,'000','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('a000e0',b)OR a='0' OR trim(B,B)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', ' bandomblob(1)a''b''00',1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','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('a000e0',b)OR a='0' OR trim(B,B)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00UTF16le;
CREATE TABLE t1(x,a,', ' randomblob6666666666666666666666666666(1)a''b''00',1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','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('a000e0',b)OR a='0' OR trim(B,B)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', ' rand����������������omblob(1)a''b''00',1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','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('a000e0',b)OR a='0' OR trim(B,B)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', ' randomblob(1)a''b''00',1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','00���������������������������������������������������������������������������������������������������������������������������000',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(B,B)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', '������������������������������������������������������������� randomblob(1)a''b''00',1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','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('a000e0',b)OR a='0' OR trim(B,B)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', ' randomblobIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIMIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII(1)a''b''00',1);
INSERT INTO t1 VALUES(2,'00','e0',5);
INSERT INTO t1 VALUES(3,'000','0000D',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(B,B)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', ' random���������������������������������������������������������������������������������blobRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR00',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(B,B)


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t1(x,a,b,c);
INSERT INTO t1 VALUES(1,'00', ' randomblob(1)a''b''00',1);
INSERT INTO t1 VALUES(2,'0P','e0',5);
INSERT INTO t1 VALUES(3,'000','0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))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('a000e0',b)OR a='0' OR trim(B,B)


sqltext:
CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid;
CREATE INDEX t0000 ON t000(a);
INSERT INTO t000 VALUES('s','s0'),( 2001-01-01,'000'),('0r000','m00');
SELECT a, b, '0' FROM t000 WHERE a= total(1)OR b='mr0' GROUP BY +a;


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


sqltext:
SAVEPOINT s00;
SAVEPOINT s���������������������������������������������������ڼ������������������������������������������������������������������


sqltext:
SAVEPOINT s00;
SAVEPOINT s0;
SAVEPOINT s00;
SAVEPOINT RELE00;
SAVEPOINT s00;
SAVEPOINT s00;
RELEASE s00;ANALYZE


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4(x, y);
INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoption_get(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('emp.aux0 USING fts4aux(main, ft0);
SELECT* FROa a', '0 0');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;


sqltext:
CREATE TABLE t0(a);
INSERT INTO t0 VALUES('a');
SELECT a< CAST(a AS blob blob blo blob blob bloTEyT) FROM t0;TEXT) FROM t0;


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 A THEN randomblob(90041-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END
FROM t1;
SELECT quote(x) FROM t2 ORDER BY 1;


sqltext:
PRAGMA encoding=UTF16;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(1);
ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90�';
ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99';
ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000';EXPLAIN
UPDATE t1 SET x=c+1;EXPLAIN
SELECT* FROM t1;


sqltext:
SELECT sqlite_rename_parent( " a.b>>>???????????????????????????????????????????????????????????????>>>>>>>>>>>>>>>X",'000','000');


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX `a` 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='CREATE777777777777777777777777 UNIQUE INDEX t00 ON 00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql=' "a","b"ABLE 00(a NOT NULL,b)'
WHERE name='t1';
PRAGMA w�itama=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3');
INSERT INTO t2 VALUES('0 02 S00 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 th�������������������������������������������������������������������������������������������������������������������������������00 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 t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000');
INSERT INTO t2 VALUES('to 000000 00000 0000 0a0000 f00 0 0as0 o0');
INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000');
INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000');


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3');
INSERT INTO t2 VALUES('0 02 S00 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 m0N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO t2 VALUES('0000(0s00) o00');
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 t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000');
INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e');
INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0');
INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000');
INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000');


sqltext:
PRAGMA /* */securecure_delete (1);
PRAGMA main.secure_delete_delete (1);
PRAGMA main.secure_delete_del�te (1);
PRAGMA main.selete (1);
PRAGMA main.s��e_delete


sqltext:
PRAGMA /* */secure_delete (1);
PRAGMA /* */secure_delete (1);
PRAGMA main.secure_delete
 main.secure_delete


sqltext:
CREATE TABLE t0(a TEXT, b TEXT);
CREATE VIEW v0 AS SELECT glob(1,1),"a", "a","b";
CREATE TRIGGER t0001 INSTEAD OF DELETE ON v0 BEGIN
SELECT 0;
END;
DELETE FROM v0


sqltext:
PRAGMA auto_vacuum=1;
CREATE TABLE t1(a, b);
CREATE INDEX i ON t1(a);
CREATE TABLE t0(a);
CREATE INDEX i0 ON t0(a);
CREATE TABLE t3(a);
CREATE INDEX i3 ON t3(a);
CREATE INDEX x ON t1(b);EXPLAIN
DROP TABLE t1;EXPLAIN
PRAGMA integrity_check;
DROP TABLE t0;
PRAGMA integrity_check;
DROP TABLE t1;
PRAGMA integrity_check;


sqltext:
PRAGMA auto_vacuum=1;
CREATE TABLE t1(a, b);
CREATE INDEX i ON t1(a);
CREATE TABLE t0(a);
CREATE INDEX i0 ON t0(a);
CREATE TABLE t3(a);
CREATE INDEX i3 ON t3(a);
CREATE INDEX x ON t1(b);EXPLAIN
DROP TABLE t3;EXPLAIN
PRAGMA integrity_check;
DROP TABLE t0;EXPLAIN
PRAGMA integrity_check;
DROP TABLE t1;
PRAGMA integrity_check;


sqltext:
SELECT strftime(1,1,1,1) NOT IN (10 IN (10 IN (10 IN (10 IN (10 IN (10 IN (10,10),10),10),10-9,10),10),10),10-90000);


sqltext:
SELECT strftime(1,1,1,1) NOT IN (10 IN (10 IN (10 IN (10,10),10),1) NOT IN (10 IN (10 IN (10 IN (10,10),10),10),10-9010),10-90000);


sqltext:
SELECT strftime(1,1,1,1) NOT IN (1  IN (10 IN (10 IN (T IN (10 IN (10 IN (10 IN (1�1�),10),10),10-90000);


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnin������������������������������f����������������������������������g and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'rsn jump';


sqltext:
CREATE TABLE t3(a,I,TEGER 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 d COLLATE DESC,$b, c, a DESC;


sqltext:
CREATE TABLE t3(a,I,TEGER 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 d COLLATE DESC, b< c, a DESC;


sqltext:
CREATE TABLE t3(a,I,TEGER 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 d COLLATE DESC, b, c, c, d, e, f);
CREATE INDEX t00 a DESC;


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX �4all ON t4(a,b,c,d,e,f,i,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 40 10');
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 d=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE c=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,f,i,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 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE c=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE c=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 c=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
PRAGMA encoding=UTF16;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(1);
ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90���������������������������������';
ALTER TABLE t1 ADD COLUM� c REAL DEFAULT-'9e99��������������������';
ALTER TABLE t1 ADD COLUMN d TT0000 DEFAULT '90���������������������������������';
ALTER TABLE t1 ADD COLUM� c REAL DEFAULT-'9e99���EXT DEFAULT '00000';
UPDATE t1 SET x=x+1;
SELECT* FROM t1;


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;EXPLAIN
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999912 00'),('t1','t1b','10000');
ANALYZE sqlite_master;
SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c;


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 t2 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 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(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 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(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) NOTNULL;
INSERT INTO t3 SELECT randomblob(100) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t3 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(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  last_insert_rowid() t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


sqltext:
CREATE VIRTUAL TABLE t0 USING FTS4(a, b);
INSERT INTO t0 VALUES('0o 00s��r0s', '0i0000000Q 0i0000000 b0  f00 00000010u00r0obs0����00= (0a00) p0op00 00000000000. R0000 00u00r0obs0����00= (0a00) p0op00 00000000000. R0000 0 p0op00 w000000000''r0 o00000p0op00 w00000000, f00 00000000u0 p0op00 w000000000''r0 o00000p0op00 w00000000u00r0obs0����00= (00000, f00 00000000u00r0000 f0');


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


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


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


sqltext:
SELECT  1000000%000000000000000000000060000006006000001000000%0000006000000000%000%000000000000000000000060000006006000001000000%0000006000000000060060000100000030000000%0000060000006006000001000000%0000006000000000%000%000000000000000000000060000006006000001000000%000000600000000006006000060000;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, b, c);
INSERT INTO t0(a, b, c) VALUES('one t0ree four', '03(a, b,
SEkECT a,b, c FROM tNTO t0(a,00 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(a, b,
SELECT a, b, c FROM tNTO t0(a, b, RT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'NOTNULL a^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^nd jumping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, t���������������ckpo����������oke�������������������������������������������������������������������������������������������������������nize porter);
INSERT INTO t1(rowPd, content) VALUES(1, 'NOTNULL and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'NOTNULL and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'runE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1 jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'NOTlL and jumping');
SELECT rowid FROM t1 WHERE content ;
INSERT INTO t1(rowid, content) VALUES(1, 'NOTNULL and jumping');
SEMQTCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'NOTNULL and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize p???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????orter);
INSERT INTO t1(rowid,;conrent) VALUES(1, '�unning and jumping�����������');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning and jumping�����������������������������������������������������������������������������������������������������������������������������������');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%porter);
ImSERT INTOcpntent) VALUES(1, 'running aYd jump4LIKE;
SELECT,rowid FROM t1 WHERE content MATCH '2 strftime(1,1,1,1)un jump';


sqltext:
CREATE VIRTUAL TABLE t������������������������������������������������������������������������������������������������������1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runANALYZEd jBYping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING fts3(cter);
INSERT INTO t1(rowid, content) VALUES(1, fts3(cning and juING fts3(cning and jum min(1,1)ning and jum min(1,1)ping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump/;


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO E x MATCH '0*' ORDER BY docpC);
INSERT INTO E x MATCH '0*' ORDER BY docid DESC;


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


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


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


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS tC JOIN t102  t1 ON t1.i0 ISNULL) );


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


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 fts3(c);
INSERT INTO t1(docid,c) SELECT docid, total(1) c FROM t1o0d;
DROP TABLE t1


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 IN ( @1);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t���������������������������������������������������������������������������������������������������������������������1o0d;
CREAT1 USING fts3(c);
INSERT INTE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid,c) SELECT docid, zeroblob(1) c FROM t1o0d;
DROP TABLE t1


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 IN ( @1);
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, zeroblob(1)TE FROM t1 WHERE docid IN ( @1);
DROP TABLE IF EXISTS t;
ALT c FROM t1o0d;
DROP TABLE t1


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USI ftsM(cningNG ftsM(cning and jumpint, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, ruLE t1 USI ftsM(cningNG ftsM(cning and jumpg');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


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 c=? AND d=? AND b=? AND c=?  AND d<? AND e ISNULL d<?


sqltext:
ATTACH''AS nooname;
ATTACH':memory' AS ��naname;
ATTACH'@memory:' AS ��name;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':mem�ry:' AS inminmemmem;VACUUM;�CREE 0


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBt��������������������������������������������������������������������������������������������������������������������������������������������������������������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('oneatwoBt������������������������������������������������������������������������������������������������������00');
INSERT INTO t0 VALUES('on�0000A0');
&R


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBt0ꪪ������������������t����� datetime(1,1,1)T IN2A0');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)O


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBt0ꪪzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz������������������t���������ne000;
INSERT IN2A0');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)O


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatw�����������������������������������������������������������������������������������������������������������������������������oBt0ꪪ������������������t���������ne000;
INSERT IN2A0');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)O


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EAoE VIMATing Gnnning ant jgnt MAEing Gnt jent EATE VIMATing Gnnning ant jgnt MAEing Gnt juBETWEEN VALUEERE ckntent MATing Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VIMing Gnnning ant jgnt MATing Gnt juBETWEEN VALnt MATing Gnt juBETWEEN VALUEERE content MATing Gnt juUEERE content MATiATing Gnnning ant jgnt MATing Gnt juBETWEEN VALnt MATing Gnt juBETWEEN VALUEERE content MATing G~t juUEERE content MATing Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, to||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||kenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ryyeing aANALYZEing');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  avg(1) p, x2.b AS q FROM x AS x1, x AS x2 WHERE-x1.a<x1.a;
CREATE VIEW z AS
SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q<y2.q;
SELECT * from y x1, z A;


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


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


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


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


sqltext:
CREATE TABLE t0(a""a","b","ba, b);
SELECT DISTINCT "a", "a","b","ba","b",a F,"b""a","ba","t002","b", "a","b","ba","b",a F,"b""a","ba","t002","b","ba","b",a ,"b""a","b","ba","b",a F,"ba","b",a ,"b""a","b","ba","b",a F,a FROM t0) W0;


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES (' min time(1,1,1)(1,1)(1,1,1,1)000');
SELECT * FROM t0st WHERE k00000d MATCH '"  1=1(1,1)"';


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" [a], "n00b00" FROM "0000" GROUP BY   "a","b""a","b", "a","b""a"<"b",   "a","b" LIMIT 1)�IS 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning aed �um>>>ning aed �um>>>>>>>>>>>>Aeing>>>>>>>>Aeing');
SEL@CT rowid FROM t1 WHERE content MATCH 'run jump';


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-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*2*01-01-01' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDISTIN [a]i0 hiDDISTIN [a]i0 hiDDISTININCT�x2, y1, y2);


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDISTIN [a]i0 hiDDISTIN h�DDISTIN [a]i0 hiDDISCT�x2, y1, y2);


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDISTIN [a]i0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/hiDDISTINCT�x2, y1, y2);


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hi`DISTIN [a]i0 hiDDISTINCATE VIRTUAL TABLE t0 USING rtree( [a]i0 hi`DISTIN [a]T�x2, y1, y2);


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDISTIN [ zeroblob(1)INCT�xCREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiD2, y1, y2);


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 h                                             iDDISTIN [a]i0 hiDDISTINCT�x2, y1, y2);


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDIST hiDDISTIN [a]i0 hiDDISTININ [a]i0 hiDDISTINCT�x2, y1, y2);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,b>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>poi, a0 a,00, notindHxed=p00, notx>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>ed=00, nd=p0,00, notxed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES ('000');
SELECT * FROM t0st WHERE k00000d MATCH '"  "a""b"V "a","b"I "a"EW  "a""';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize( "a","b" "a", "a","b",  "a","b" "a", "a","b", "a","b" ''"a","b"b",", i01,"b", ', '
 VIRTUAL TAB�������E t0 USIN"a","b" ''"a","b"b",", i01,"b", '',, '0 VIRTUA����������������������L TAB�������E t0 USING fts3tokenize( "a",ts3toieni^e(simple, A'OF'0000');


sqltext:
CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AS LEFT JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 ASANDE JOIN t102  tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102  t
JOIN t102 A0)TANALYZE10


sqltext:
CREATE TABLE t102 (i0t0006 UNIQUEANOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AS LEFT JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 ASANDE JOIN t102  tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102  t
JOIN t102 A0)T INTO T10


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


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


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('ongatwoBt����������ཽ�Bt����������ཽ�����������������������������SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS0���������0');
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('ongatwoBt����������ཽ�Bt����������ཽ�����������������������������0Bt����������ཽ�Bt����������ཽ�����������������������������0����������������0');
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('ongatwoBt����������ཽ�Bt����������ཽ�����������������������������0���������0');
INSERT INTO t0 VALUES('one0000A�����������������������������������������������������������������������������������������������������������������������������0');
&R


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('ongatwoBt����������ཽ�Bt����������ཽ�����������������������������0���������0');
INSERT INTO t0 VALUES('on���0���������0');
INSERT INTO t0 VALUES('one000+A0');
&R


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('ongatwoBt����������ཽ�Bt����������ཽ�Ž������������������P TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VA��������0���������0');
INSERT INTO t0 VALUES('one0000A0');
&R


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


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a","b""b","b", *,"b""a","ba","b", *FROM (SELECT "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) WHERE a==0;


sqltext:
CREATE TABLE t0(a, b);
SELECT total(1) "a","b""b","b", *,"b""a","ba","b", *FROM (SELECT "b","b""""a","�a","b",oid,"b""b""""a","�a","b",oid,"b""a","a","a","ba","b",oid,"a","a","a","ba","b",oid,"b""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","b""b","b", *,"b""a","ba","b", *FROM (SELECT "b","b""""a","�a","b",oid,"b""a","a","a","ba","b",oid,"b""a","ba""b","b""""a","�a","b",oid,"b""a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0;


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;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  group_concat(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 y1, y S1, y y1AS1, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p,  sum(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 y1, y S1, y y1AS1, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, x2.b AS q FROM x A



























































































































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


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(' 0 c d  sqlite_compileoption_used(1)f 0 b c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1, 8) FROM ft0 WHERE	snippet(ft0, '0', '0', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileoption_used(1)f 0  (1)a''b''a   (1)a''b''a''b''b''c';


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


sqltext:
CREATE TABLE t000(c0  UNIQUE,�,I, a,b0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 RAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS cAS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000* FROM t000 AS c;


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(22001-01-01,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob( zeroblob(1))FR1;
INSERT INTO t1 SELECT NULL,randomblob(50)RT1;
INSERT INTO t1 SELECT NULL,randomblob(50)FR1;
INSERT INTO t1 SELECT NULL,randomblob(50)F t1 


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT  +1 FROM i ORDER BY 1)
SELECT time(1 ,11) x FROM i LIMIT 18;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT  +1 FROM i ORDER BY 1)
SELECT time(1 ||  -11) x FROM i LIMIT 18;


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);EXPLAIN
CREATE TEMP TABLE Te000e(Te0tID INY, Te0tSt00n0 TEXT);EXPLAIN
CREATE TEMP TABLE TempT000mpT000e(Te0tID INY, Te0tSt00n0 TEXT);EXPLAIN
CREATE TEMP TABLE TempT000eFTe0tID INTEGER PRIMARY KEY, Te0tSt00n0 
INSERe00T000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TempT000e(Te0tS�0n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2;
CO-MIT;
SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);EXPLAIN
CREATE TEMP TABLE TempT000e(Te0tID ININTEGER PRIMARY KEY, Te0tSt00n0 TEXT);EXPLAIN
CREATE TEMP TABLE TempT000e(Te0tID INY, Te0tSt00n0 TEXT);EXPLAIN
CREATE TEMP Y, Te0tSt00n0 TEXT);EXPLAIN
CREATE TEMP TABLE TempT000eFTe0tID INTEGER PRIMARY KEY, Te0tSt00n0 
INSERe00T000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TempT000e(Te0tS�0n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2;
CO-MIT;
SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;


sqltext:
SELECT sqlite_rename_trigger('CRE@?0 T!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!A!!!!$!!!!A!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9!!!!!!!!!!!!Rr0 ON xA0 u���������������������������������������������������HEN',NULL);


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(?) x FROM i LIMIT 1002


sqltext:
BEGIN;
CREATE TABLE n00be0s(a PRIM "a","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 FROn00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
UPDATE n00be0s set a= oid, b =-'00E-';
COMMIT;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a PRIM "a","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;
UPDATE n00be0s set a= oid, b =-'00E-';
COMMIT;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a PRIM "a","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 =-'-';
COMMIT;


sqltext:
CREATE TABLE t0( h, i, Fa INT PRIMARY KEY, b, c, UNIQUE(b, b, c)) WITHOUT rowid;CRt3(g, h, i, FOREIGN KEY (h, i)REFERENCES t0(b, c));


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX [a] 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='CREATE UNIQUE INDEX t00 ON 00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql=' [a] [a] [a] 00(a NOT NULL,b)'
WHERE name='t1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,e,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,c,d,e,f));
INSERT INTO t5 VALUES(2,2,2,2,?,20000);
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,c,c,d,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,?,000);
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,c,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,?,2000);
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);RE000);REINDEX


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES( trim(1,1));
INSERT INTO t0 VALUES('φ');
INSERT INTO t0 VALUES('��');
SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m;
SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m COLLATE binary;
SELECT '0', substr(m,2)  FROM t0 ORDER BY lower(m);


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


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


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


sqltext:
WITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT substr(1<1,1) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT substr( -11,1,1) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 1002


sqltext:
CREATE TABLE t1(x char(1));
INSERT INTO t1 VALUES(100);
SELECT CASE ~Max(x) WHEN min(x) THEN  /* */ max(x) ENDF


sqltext:
WITH i(x) AS ( VALUES(1) UNION  SELECT upper(X)FROM i ORDER BY 1)
SELECT x FROM i LIMI UNION  SELECT upper(X)FROM i ORDER BY 1)
SELT 10;


sqltext:
CREATE VIEW x1 AS SELECT 100'', 200 AS '',+3+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 30


sqltext:
#TTACH''AS noname;
ATTACH':memory:' AS ��naname;
ATTACH':memory:' AS ��name;
ATTACH':memory:' AS iamme;
ATTACH':ry:' AS iame.n0.i0000(y);


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 2000 600 100 40 90');
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 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','60000040000 10000 2000 600 100 40 10');
REINDEX sqlite_m��������������������������������������������������������������������������������������������������������������������������aster;
SELECT i FR t4 WHERE h=8;


sqltext:
CREATE TABLE t0(a INT PRIMARY KEY, b, c, UNIQUE(b, a)) WITHOUT rowid+
CR TABE TABLE t3(g, h, i, FOREIGN KEY (h, i) REFERENCES [a]b, 


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


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 IN '0000' IN n%w.b IN '0' ||nges() );
END;
C


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 IN "a","b"IN new.b IN '0' ||nges() );
END;
C


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 IN '0000' IN new.b IN () );
END;
C


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));REINDEX 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, N0000000 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:
SELECT fts3_tokenizer('00a0', fts3_tokenizer('simple')) IS  fts3_tokenizer('00a0'< fts3_tokenizer('simple'))NULY;


sqltext:
SELECT fts3_tokenizer('00a0', fts3_tokenizer('simple')) IS  fts3_tokenizer('00a0',$fts3_tokenizer('simple'))NULY;


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-01),b)OR a='0' ORDER BY +x;


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-01),?)OR a='0' ORDER BY +x;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -144444444444444444444444444*441) i GROUP BY@1)
SELECT x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -11) UNION ALL SELECT upper( -144444444444444444E444444444441) i GROUP BY 1)
SELECT x FROM i LIMIT 10;
44444444444444444E444444444441) i GROUP BY 1)
SELECT x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -14444++++++++++++++++++++++++++++++++44444441)�i GROUP BY 1)
SELECT x FROM i LIMIT 10;


sqltext:
PRAGMA me_size= 10;
PRAGMA temp.cache_size =�10;
CREATE TABLE temp.tt(a, b);EXPLAIN
INSERT INTO tt VALUES(randomblob(100), 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(502001-01-010), randomblob(602001-01-010) FROM tt;
IN00), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;


sqltext:
PRAGMA main.cache_size= 10;
PRAGMA temp.cache_size =�10;
CREATE TABLE temp.tt(a, b);
INSERT INTO tt VALUES(randomblob(100), 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(202001-01-010), randomblob(602001-01-010)FROM tt;
IN00), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;


sqltext:
CREATE TABLE t91(x); INSERT INTO t91 VALUES(1);
CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b);
INSERT INTO t92 VALUES(1,2,3);
SELECT 1 FROM t91 LEFT JOIN t92 ON a=A OR b=3;
SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT 3 FROM t91 LEFT JOIN t92 ON (a=A OR b=3) AND y IS NULL;
SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL;
CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 5 FROM x9 WHERE y IS NULL;
SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y >=  [a] OR b=3;E;
S


sqltext:
PRAGMA vvacuum=1;
CREATE TABLE t1(a, b);
CREATE INDEX i ON t1(a);
CREATE TABLE t0(a);
CREATE INDEX i0 ON t1(a);
CREATE TABLE t3(a);
CREATE INDEX i3 ON t3(a);
CREATE INDEX x ON t1(b);
DROP TABLE t3;
PRAGMA integrity_check;
-------BLE t0;
PRAGMA integrity_check;
DROP TABLE t1;
PRAGMA integrity_check;


sqltext:
PRAGMA vvacuum=1;
CREATE TABLE t1(a, b);
CREATE INDEX i ON t1(a);
CREATE TABLE t0(a);
CREATE INDEX i0 ON t1(a);
CREATE TABLE t3(a);
CREATE INDEX i3 ON t0(a);
CREATE INDEX x ON t1(b);
DROP TABLE t3;
PRAGMA integrity_check;
---P TABLE t1;
PRAGMA integrity_check;
----BLE t0;
PRAGMA integrity_check;
DROP TABLE t1;
PRAGMA integrity_check;


sqltext:
PRAGMA vvacuum=1;
CREATE TABLE t1(a, b);
CREATE INDEX i ON t1(a);
CREATE TABLE t0(a);
CREATE INDEX i0 ON t0(a);
CREATE TABLE t3(a);
CREATE INDEX i3 ON t0(a);
CREATE INDEX x ON t1(b);EXPLAIN
DROP TABLE t3;
PRAGMA integrity_check;
-------BLE t0;
PRAGMA integrity_check;EXPLAIN
DROP TABLE t1;
PRAGMA integrity_check;


sqltext:
CREATE TABLE t2(x,y,z);
CREATE TRIGGER v21 AFTER INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER �0 BEFORE INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t2r02 BEFORE DELETE ON t2 BEGIN SELECT 1; END;
DROP TRIGGER t2r6;


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
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;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(22001-01-0100);REINDEX


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
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;
INSERT INTO t1 SELECT randomblob(200) FROM t1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(22001-01-0100);REINDEX


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
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;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(22001-01E0100);REINDEX


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(i01, va0u01);
INSERT INTO t1 VALUES(4400,2),(4400,1);
CREATE TABLE t2 (va0u02);
INSERT INTO t2 VALUES(1);
SELECT(SELECT sum(va0u02=va0u01)FROM t2)MATCH min(1<1)FROM t1
ORDER BY 	01,1);
CE;


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(102001-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+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 WHECURRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(b);
ANALYZE;
SELECT c FROM t1 WHERE typeof(1)NOT BETWEEN [a]AND 60;


sqltext:
SELECT *
FROM (t0), (t0), (t0, (t0), (t0, (t0), ( (t0, (t, (t0), (t0, (t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), (t0)
WH), (ttE),t0), (t0, (t0), (tE), (t0)
WH), (t0)
WtEt0, (t0), ( (t0), (t0), (t0t0, (t0), (t0, (t0), (t0, (t, (t0), (t0, (t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), (t0)
WH), (ttE),t0), (t0, (t0), (tE), (t0)
WH), (t0)
WtE), (t0)
WH),


sqltext:
SELECT *
FROM (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), ( (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), (tE),t0), (t0, (t0), (((((((((((((((((((((((((((((((((((((((tE), (H),


sqltext:
SELECT *
FROM (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), ( (t0), (t0), (t0E),t0), (t7, (t0), (tE), (t0)
WH), (ttE),t0), (t0), (t0, (t0), (t0, (t0), (tE),t0), (t7, (t0), (tE), (t0)
WH), (ttE),t0), (t0, (t0), dtE), (t0)
WH), (t0)
WtE), (t0)
WH),


sqltext:
SELECT *
FROM (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), ( (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), (t0)
WH), (ttE),t0), (t0, ((t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), (t0)
WH), (ttE),t0), (t0, (t0), (tE), (t0)
WH), (t))
WtE)t0), (tE), (t0)
WH), (t))
WtE), (t0)
WH),


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


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES(' -1�0');
INSERT INTO t0 VALUES('b0');
INSERT INTO t0 VALUES('c0');
SELECT count(*), substr(m,2,M) AS00 FROM t0 GROUP BY m ORDER BY 2, 2;


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES(' -1�0');
INSERT INTO t0 VALUES(' -1b0');
INSERT INTO t0 VALUES('c0');
SELECT count(*), substr(m,2,M) AS00 FROM t0 GROUP BY m ORDER BY 1, 2;


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES(' -100');
INSERT INTO t0 VALUES('b0');
INSERT INTO t0 VALUES('c0');
SELECT count(*), substr(m,2<M) AS00 FROM t0 GROUP BY m ORDER BY 2, 2;


sqltext:
CREATE TABLE
t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,e,e,a,b,c,d,e,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t,?,2,2,2000t5,fEX


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


sqltext:
CREATE TABLE
t5(a,b,c,d,e,f,UNIQUE(a,b,b,c,d,e,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,?,2,2,2000);
I,c,d,e,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,?,2,2,2000);
INSERT INTO t5,fEX


sqltext:
CREATE TABLE t3(a �NTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c /* */);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, (1) DESC, b, c, "a","b"


sqltext:
CREATE TABLE t3(a �NTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c /* */);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, (1) d,e DESC, b, c, "a","b"


sqltext:
CREATE TEMP TABLE t0(a INTEGER PRIMARY KEY AUTOINCREMENT, b);
INSERT INTO t0 VALUES(null -1,'00');
INSERT INTO t0 VALUES(null -1,'00');
DELETE FROM t0;
INSERT INTO t0 VALUES(null -1,'000');
SELECT * FROM t0;


sqltext:
PRAGMA main.cache_size= 10;
PRAGMA temp.cache_size = 10;
CREATE TABLE temp.tt(a, b);
INSERT INTO tt VALUES(randomblob(500), 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(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;
 SELECT randomblob(500),$randomb "a","b" FROM tt;


sqltext:
PRAGMA main.cache_size= 10;
PRAGMA temp.cache_size = 10;
CREATE TABLE temp.tt(a, b);
INSERT INTO tt VALUES(randomblob(500), 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(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;
 SELECT randomblob(500) a,b,$randomblob(600) FROM tt;


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


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


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


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


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


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


sqltext:
CREATE TABLE t0(x sqlite_compileoption_get(1));
INSERT INTO t0 VALUES('h');
INSERT INTO t0 VALUES('000000');
SELECT 1, x FROM t0 WHERE x LIKE '%h%';
SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE'߀';


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


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(1,1)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT@a||b||c -A, b||c||a, c||a||b FROM abc;
IO  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(1,1)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c&-A, b||c||a, c||a||b FROM abc;
IO  c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


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"< zeroblob(1)<"n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 1) OR "";


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


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( hex(12001-01-01)| '0000' |~  zeroblob(1) || changes() );
END;
CREATE TABLE t2(a);
INSERT INTO t2 VALUES(0), (2), (0);
UPDATE t0 SET b= changes();


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


sqltext:
CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid;
INSERT INTO t1 VALUES(1, zeroblob(12001-01-01),4);
SELECT c FROM t1 WHERE a IN (1,2) ORDER BY b;


sqltext:
CREATE VIRTUAL TABLE t00js0 USING fts4aux( ``�"0000'0'0000");CREATE VIRTUAL TABLE t000s0 USING fts4aux( ``�"0000'0'0000");
SELECT * FR
SELECT * FROM t000s0;


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'uTC' ON [sill0 0 0a0e](a, b);
CREATE INDEX '000000000000000 ''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) stat FROM sqlite_stat1 ORDER BY 002;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4(x, y);
INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoptioget(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', 'n_get(0)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', '0 0');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4(x, y);
INSERT INTO ft0 VALUES('a 0',-' st(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', 'n_get(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', '0 0');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4(x sq_compileoption_used(1)'a 0', ' sqlite_compileoptioget(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', 'n_get(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', '0 0');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;


sqltext:
SELECT sqlite_rename_parent( " a.b>>>>>6>>>>��%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%>>>>>>v",'000','000');


sqltext:
SELECT sqlite_rename_parent( " a.b>>>>>>>>>>��%%%%%%%%%%%%%%%%%!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!!!!!!!!!!!!!!!!!!!!!!!!! �!!!!%%%%%%%%>>>>>>v",'000','000');


sqltext:
SELECT sqlite_rename_parent( " a.b>......................................tic............>>>>>>>>>��%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%>>>>>>v",'000','000');


sqltext:
SELECT sqlite_rename_parent( " a.b>>SUEI>>>%%%%%%%%%%%%%%%%%%%���%%%%%%%%%%%%%%%%%%%%%%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!%%%%%%%%%%%%D%%%%%%%%A%%%%%%%%%%%%%%%%%%%%>>>>>>v",'000','000');


sqltext:
CREATE TABLE t3(a,I,TEGER 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 d COLLATE DESC, bCOLLATE C;


sqltext:
CREATE TABLE t3(a,I,TEGER 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 d COLLATE DESCY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT * FROM t3 WHERE b=, b C;


sqltext:
PRAGMA wal_checkpoint =�full;PRAGMA wal_checkpoint =�full;PRAGMA wal_checkpoint =�full;
I1000));checkpoint =�full;
I1000));


sqltext:
CREATE TABLE t0(x TEXT UNIQUE, y TEXT UNIQUE, z);
INSERT INTO t0 VALUES('000','000','0');
SELECT DISTINCT* FROM t0 WHERE (z='000' OR y='000');
SELECT DISTINCT* FROM t0 W' OR y='000') A� x ISNULL N
 N


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


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(500) 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 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 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(103));
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) FROM t3;
INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1;
INSERT INTO t3 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(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  last_insert_rowid() t3;
INSERT INTO t3 SELECT randomblob(
00) FROM t3;
INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX


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


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


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


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 c=? AND e=? AND b=? AND c=?  AND d<? AND e ISNULL d<?


sqltext:
ATTACH''AS@nooname;
ATTACH':memory:' AS ��naname;
ATTACH':memory:' AS ��name;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':memory:' AS inminmemm��name;
ATTACH'�me:' AS mem;VACUUM;�CR


sqltext:
ATTACH''AS nooname;
ATTACH':memory:' AS ��naname;
ATTACH':memory:' AS ��name;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':memory:' AS inminmemm��name;
ATTACH'�me:' AS mem;VACUUM �CR


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'riyeing aAyyeing aANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'yyeing aAyyeing aANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ryyeing %Yyyeing aANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


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('foo', ' @1');
SELECT offsets(ft) FROM ftWHERE ft MATCH ' @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('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(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' strftime(1,1,1,1) @1 @1 1=1';f


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" [a], "n00b00" FROM "0000" GROUP BY   "a","b""a","b", "a","b""a"<"b",   "a","b" LIMIT 1)�IS 


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0tindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,0000, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, notindexed=poi, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=pdexe, notindexed=00, notindexed=ed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p00d=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0tindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, noti000, notindexed=a,00, notindexed=poiexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p0, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, 00, notindexed=00, notindexed=p0tindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed000, notindexed=a,00, n, notinde000, notindexed=a,00, n, notindexed=a,00, notindexed=poi=00, notindexed=p0tindexed=00000, notindexed=a,00, n, notinde000, notindexed=a,00, n, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmt2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,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,bpoi, a0 a,00, notindexed00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00=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=ed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, no00, 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, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<exed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( 00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, poi, a0 a,00, notindexed=p00, notindexed=00, 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, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, noa,00, na,bpoi, a0 a,00, no, noa,00, na,bpoi, a0 a,00, notixed=p0,00, notindexed=p000, notindexed=aO00, na,bp0, na,bpoi, a0 a,00, notindexed=p00, nottixed=p0,00, notindexed=p000, notindexed=aO00, na,bp0, na,bpoi, a0 a,00, notindexed=p00, notindexed=0 , n0, notindedexed=p00, notindexed=00, n0, notindexe0, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notixed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, nojindotindexed=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,bpoi, a0 a,00,i, a0 a,00, notindexed=p00, notindexed=00, 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, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, no0 a,00, notindexed=p00, notindexed=00, 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, 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, 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,bpoi, a0 a,00, notindexed=p00, notindexed=0, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notinde00, notindexed>p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, ed=00, notindexed=p0,00, notindexed=p000, notinde///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////oi);


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT tosu0(1)p, x2.b AS q                                                              y  A@ \1


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 x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, 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, x2.b AS 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 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, x2.b AS 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 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  group_concat(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 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)IS x2.b AS 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 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)NOTNULL AS 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 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, char(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 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, quote(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 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, min(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 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, likely(1) 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 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, length(1) 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 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, instr(1,1)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 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,  1=1 AS 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 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,  hex(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 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,  sum(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 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,  count(1) 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 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, x2.b AS q FROM x AS x1, x AS x2 WHERE /* */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 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, x2.b AS 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 S1, y y, 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, x2.b AS q FROM x AS x1, x AS x2 WHERE  total(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 S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x( a,ba,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 x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, 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, x2.b AS 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 S1, y  ASq1, y S1, y y,  y y, y y1, y S1, y  ASq1, y S1, y y, y y1, y S1y y1, y S1, y  AS y1, y


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', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a"0  (1)a''b''a''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts3;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption_used(1)f 0 b c a,b d');
SELECT	snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b'' "a","b"c';


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', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c "a","b"';


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', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0ileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compL TABLE ft0 USING fts4;
INSERT INTO ft0 VALileoption_used(1)f 0 b c a,b�');
SELECT	snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'co""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""8"""""""""""""a''b''a 0  (1)a''b''a''b''b''c';


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


sqltext:
CREATE TABLE t000(c0��a�ba,b,�,I, a sqlite_compileoption_get(1),AL JOINT0000);
SELECT c000.* FROM t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;ATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(c0��a�ba,b,�,I, a sqlite_compileoption_get(1),INT0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 AS000 NATURAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 A0 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a PRIM "a","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 =-'-';
COMMIT;


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(e,b,c,c,d,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,?,000);
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,e,c,d,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,?,000);
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,c,c,d,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,?,000);
INSERT INTO t5 VALUES(1,2,?,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,c,c,d,e,f));
INSERT INTO t5 VALUES(1,1,1,1,1,10000);
INSERT INTO t5 VALUES(2,2,2,2,?,000);
INSERT INTO t5 VALUES(1,2,3,4,?,10000);
INSERT INTO t5 VALUES(2,?,4,5,?,20000);REINDEX


sqltext:
CREATE TABLE t0000(a INTEGER PRIMARY KEY ,UTOINCREMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000000');
INSERT INTO t0000(b) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


sqltext:
PRAGMA mcache_size= 10;
PRAGMA temp.cache_size  (1);
CREATE TABLE temp.tt(a, b);EXPLAIN
INSERT INTO tt VALUES(randomblob(100), 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(502001-01-010), randomblob(602001-01-010) FROM tt;
IN00), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;


sqltext:
CREATE TABLE t91(x); INSERT INTO t91 VALUES(1);
CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b);
INSERT INTO t92 VALUES(1,2,3);
SELECT 1 FROM t91 LEFT JOIN t92 ON a=A OR b=3;
SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT 3 FROM t91 LEFT JOIN t92 ON (a=A OR b=3) AND y IS NULL;
SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL;
CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=A OR b=3;
SELECT 5 FROM x9 WHERE y IS NULL;
SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y >=  [a] OR b=3;E;
S


sqltext:
CREATE TABLE t1(a char(1), b, c, PRIMARY KEY( c,a,b)) WITHOUT rowid;
INSERT INTO t1 VALUES(1,2,3),(2,3,4);
SELECT c FROM t1 WHERE a IN (A,A)ISNULL BY b;


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
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;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(22401-01-6100);REINDEX


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
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;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(22041-01-6100);REINDEX


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
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;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(22001-81-6100);REINDEX


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, -1.00 || -81) 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.00 || -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.00 || -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, -1.00 || -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, -1.00 || -01) x FROM i L UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, -1.00 || -01) x FROM IMIT 10;


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


sqltext:
CREATE TABLE t3(a �NTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c /* */);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c COLLATE/* */DESC, b, c, "a","b"


sqltext:
CREATE TEMP TABLE t0(a INTEGER PRIMARY KEY AUTOINCREMENT, b);
INSERT INTO t0 VALUES(null -1,'00');
INSERT INTO t0 VALUES(null -1,'00');
DELETE FROM t0;
INSERT INTO t0 VALUES(null -1,'00');
INSERT INTO t0 VALUES(null -1,'00');
DELETE FROM t0;
INSERT INTO t0 VALUES(null -1,'000');
SELECT * F(null -1,'000');
SELECT * FROM t0;


sqltext:
SELECT  -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.0100000>>0000000060.000>>000000006-10>>00*0000060.00>>0000000060.010000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.0100000>>0000000060.000>>0000000060.00;


sqltext:
SELECT  -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>00>>00000000600060.010>0000%0.00>>:0000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00;


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 COLLATE DEWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWSC, bCOLLATE C;


sqltext:
CREATE TABLE t0(x sqlite_compileoption_get(1));
INSERT INTO t0 VALUES('h');
INSERT INTO t0 VALUES('000000');
SELECT 1, x FROM t0 WHERE x LIKE '%h0';
SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE'߀�������������������������������������������������������������������';


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(1,1)c, b||c||a, c|#a||b FROM abc;
INSERT INTO abc SELECT a||b||c&-A, b||c||a, c||a||b FROM abc;
IO  c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
CREATE TABLE t1(a, b, c, PRIMARY KEY(c,b)) WITHOUT rowid;
INSERT INTO t1 VALUES(1, zeroblob(12001-01-01),4);
SELECT c FROM t1 WHERE c IN (1,2) ORDER BY b;


sqltext:
CREATE TABLE t1(a, b, c, PRIMARY KEY(c,b)) WITHOUT rowid;
INSERT INTO t1 VALUES(1, zeroblob(12001-01-01),4);
SELECT c FROM t1 WHERE c IN (1,2,4);
SELECT c


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'uTC' ON [sill0 0 0a0e](a, b);
CREATE INDEX '000000000000000 ''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) stat FROM sqlite_stat1O


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts3(x, y);
INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoption_gmt(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', '0 0');
CREATE VIRTUAL TABLE temp.�ux0 USING fts4aux(main, ft);
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', '0 0');
CREATE VIRTUAL TABLE temp.aux0 USING ft0)


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4(x, y);
INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoptioget(1�c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', 'n_get(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('d a', '0 0');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4(x, y);
INSERT INTO ft0 VALUES(' 0', ' sqlitehcompileoptioget(1�c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', 'n_get(1)c d');
INSERT INTO ft0 VALUES('e','c d');
INSERT INTO ft0 VALUES('a a', '0 0');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoptiog�t(1�c d');
INSERT I


sqltext:
SELECT sqlite_rename_parent( " a.b>>>>>>>>>>��%%%%%%%%%%%%%%%%%%%%%%%%P%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%????'?????????????%%%%%%%�>>>>>>v",'000','000');


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(i01, va0u01);
INSERT INTO t1 VALUES(4400,2),(4400,1);
CREATE TABLE t2 (va0u02);
INSERT INTO t2 VALUES(1);
SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( zeroblob(1), zeroblob(1)/* */)
FROM t1
GROUP BY 002;


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


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1T
SELeCT a, b, '000' FROM t1
UNION
SELECT b,a, '000' FROM t1
GROUP BY 3,3,a, '000', 3,a, '000', b, a,b,(SELECT(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((FR


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


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


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 c=? AND e=B AND b=? AND c=?  AND d<? AND e ISNULL d<?


sqltext:
ATTACH''AS@nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inminmemm��name;
ATTACH'�me:' AS mem;VACUUM;�CR


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inminmemm��name;ANALYZE'�me:'CR


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inminmemm��name;
SELECT'�me:' AS mem;VACUUM;�CR


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inminmemm��name;
ATTACH'�me:' AS mem;COMMIT;�CR


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oaname;
ATTACH':memory:' AS �name;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inminmemm��name;
ATTACH'�me:' AS mem;VACUUM;�CR


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'yyeing ayyeing aANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'yye /* */yyeing aANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�yeing aAyyeing ng aAyyeing ng aAyyeing ng aAyyeing aANALYZEinaaANALYZEiuaANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ryyeing aAyyeingDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD ng aAyyeing aANALYZEinaANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


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


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' loa,1)', 'foo');
INSERT INTO ft VALUES('fd_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft 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(' loa,1)', 'foo');
INSERT INTO ft VALUES('fd_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft 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(' loa,1)', 'foo');
INSERT INTO ft VALUES('fd_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' @1߿��1=1';f


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


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' loa,1)', 'foo');
INSERT INTO ft VALUES('fd_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' 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');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(' 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 ftWHERE ft MATCH ' @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 ' @ @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('xtension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
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(' 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', ' @E VIRTUAL TABLE ft USIN1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' @1 @�1=1';f


sqltext:
CREATE VIRTUAL TABLE t2 USING fts3( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=pdexe, notindexed=00, notindexed=ed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p00d=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=pdexe, notindexed=00, notindexed=ed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p00d=00, notindexed=p0,00, notindexe0, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, not, notindexed=a,00, notindexed=p,00, notindexed=p00dd=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, not, notindexed=a,00, notindexed=p,00, notindexed=p00d=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=indexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=pdexe, notindexed=00, notindexed=ed=00, notindexed=p0,00, notindexed=p000, notindexed=a,M0, notindexed=p,00, notindexed=p00d=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00,00, notindexed=p00, notindexed=00, notindexed=pdexe, notindexed=00, notindexed=ed=00, notindexed=p, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=pdexe, notindexed=00, notindexed=ed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p00d=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000dexe, notindexed=00, notindexed=ed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, noti, notindexed=a,00, notindexed=poi);


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 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( ifnull(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 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 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 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  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 S1, y y, 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 A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y S1, y  AS S�y1, y  A, y  AS1, y y1, y S1, y y, 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 S1, y  ASy1, y S1, y y, y y1, y S1, y , y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, 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,  avg(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 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,  avg(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 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,  avg(1),  avg(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�yy  AS1, y y1, y S1, y y, 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,  avg(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;
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 y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


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', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f]0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f]0  (1)a''b''a 0  (1)a''b                                                ''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption_used(1)f 0 b c a�����������������������������������������1111111111111111111111111111111111111111111111111111111111111111������������������������������������������������������,b d');
SELECT	snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f]0  (1)a''b''a 0�(1)a''b''a''b''b'�ion_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f]0  (1)tion_used(1)f]0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c������������������������,[ d');
SELECT	snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f]0  (1)a''b''a 0 d(1)f]0  (1)a''b''a 0  (1)a''b''a''b''b''odtion_used(1)e 0  (1)a''b''a 0  (1)a''b''a''b'' (1)a''b''a''b''b''odtion_used(1)e 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption0 b c a�����������������������������������������������������������������������������������������������,b d');
SELECT	snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^f]0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption_used(1)f 0 b c a����������k������������������������������������������������������������������������������������,b d');
SELECT	snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f]0  (1)a''tion_used(1)f]0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


sqltext:
SELECT sqlite_rename_trigger(' || ?0 T!!!!!R r0 ON x||||?0 uHEN',NULL);SELECT sqlite_rename_trigger(' || ?0 T!!!!!R r0 ON x||||?0 uHEN',NULL);!!


sqltext:
SELECT sqlite_rename_trigger(' �ikk�kkkukkkkkkkkkkkkkkkkk0sqlite_rename_trigger�� || ?0 T!!!!!Rr0 ON |0 T�!!!R r0 ON x||||?trigger�� || ?0 T!!!!!R r0@ON x0 d�!!!R r0 ON x ON x0 THEN',NULL);!


sqltext:
PRAGMA mcache_size= 10;
PRAGMA temp.cache_size  (1);
CREATE TABLE temp.tt(a, b);EXPLAIN
INSERT INTO tt VALUES(randomblob(100), 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(502001-01-010), randomblob(602001-01-010) FROM tt;
SELECT randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;
INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1/ random()|| -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, random()|| -01) x FROM i LIMIT 1102


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()|| -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, random()|| -01) x FROM i UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1, random()|| -01) x FRLIMIT 10;


sqltext:
SELECT avg(1)  -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000*0000060.00>>0000000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00;


sqltext:
SELECT avg(1)  -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>0000>>0000000060.010000>>00000000600060.010000>>00000000000060.010000>>000000%0.00>>00000-10>>0000>>0000000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00;


sqltext:
SELECT  -1060.010000>>00%0.00>>0-10>>00*0000060.00>>0000000060.0100003>00000000600060.010>00*0000060.00>>0000000060.01000>>00>>0000000060.00>>0-10>>00*0000060.00>>0000050060.010000>>00000000600060.010000>>00%0.00>>0-10>>00*0000060.00>>0000000060.0100003>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000  -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000050060.010000>>00000000600060.01000;


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX '+2 daysuTC' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00000000000 000 ''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) stat FROM sqlite_stat1 ORDER BY 002;


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX '+2 daysuTC' ON [sill0 0 0a0e](a, b);
CREATE INDEX '+00000000000000 ''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) stat FROM sqlite_stat1 ORDER BY 002;


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(i01, va0u01);
INSERT INTO t1 VALUES(4400,2),(4400,1);
CREATE TABLE t2 (va0u02);
INSERT INTO t2 VALUES(1);
SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( zeroblob(1), zeroblob(1)/* */)
FROM t1
ORDER BY 002;


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


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


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��onamnaname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamnamee;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inminmemm��name;ANALYZE'�me:#CR


sqltext:
ATTACH''AS ?>???%??ZE'1mame;
ATTICH':r{:' AS ��na e;
ATTACH':memory:' �+++++++++++++++++++++++++++++++nana�naT?TTTTTTTTTTTTTTTTTfTTTTTTTT6TT:'CR


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'yyyuing %Yyyeing aANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ryyeing BYyyeing ng aAyyeing aANALYBLE fts3(content, tokenize porter);
INSERT INTO t1(rowit1 USING fts3(content, tokenize porter);
INSERT IZEinaANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ryyeing BYyyeing ng aAyyeincontent, tokenize porder);
INSERT INTO t1(rowid, con sqlite_version()ryyeing BYyyeing ng aAyyei');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�yeing aAyyeing , g aAyyeing ng aAyyeing ng aAyyeyeing ng aAyyeing ng aAyyeing ng aAyyeing aANALYZEinaaANALYZEing aAyyeing ng aAyyeing ng aAyyeing aANALYZEinaaANALYZEiuaANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�yeing aAy































































































































yeing ng aAyyeing ng aAyyeing ng aAyyeing aANALYZEinaaANALYZEiuaANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK�yeing aAyyeing ng aAyy_ing ng aAyyeing ng aAyyKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKeing aANALYZEinaaANALYZEiuaANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extens_extension(1,1)', 'foo');
INSERT INTO ft VALUES('ion(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߿��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(' loadon(1,1)', 'foo');
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('xtensio_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߿��1=1';f


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 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, 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, 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, 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, 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, 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(CURRENT_TIME)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( ifnull(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 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)OR 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)IS 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, total(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, min(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 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, typeof(1) 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 /* */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  (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 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  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 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 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 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  min(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  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 strftime(1,1,1,1) 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,ba,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 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( -11)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(2001-01-011)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(12001-01-01)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  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  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) 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 S�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)YYYYYYYYYYYYYp, 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 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 S1, y y, y y1, y S1, y  ASy1, y SNTID y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y, 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 y, y y1, y S1, y  ASy1, y S1, y y, y y1,  x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECy S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, 00b00 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 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 ;
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $t 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  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 $t, lower(1)q FROM x 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 t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCREMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000000');
INSERT INTO t0000(b) VALUES('00');
END;EXPLAIN
INSERT INTO t0000(b) VALUES('0000');


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 90;


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 50;


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 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 10;


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 1002


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


sqltext:
SELECT avg(1)  -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-00000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000010>>00*0000060.00>>0000000060.010000>>00000000600060.010600*0000060.00>>0000000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00;


sqltext:
SELECT avg(1)  -10>>00>>0000000060.00>>00000-10>>00*0000>>0000000060.010000>>00000000600060.010600*0000060.00>>0000000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>0060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010600*0000060.00>>0000000060.010000>000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>000>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00;


sqltext:
SELECT  -10>>00>>0000000060.0 >>0-10>>00*0000060.00>>0000050060.010000>>00000000600060.010000>>00%0.00>>0-10>>00*0000060.00>>0000000060.0>0000000060.010000>>00000000  -10>>00>>0000000060.00>>00000-10>>00* -10>>00>>0000000060.0 >>0-10>>00*0000060.00060.00>>0000050060.010000>>00000000600060.01000;


sqltext:
SELECT  -10>>00>>0000000060.0 >>0-10>>00*0000060.00>>0000050060.010000>>00000000600060.010000>>00%0.00>>0-10>>00*0000060.00>>0000000060.010000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000  -10>>00>>0000000060.0 >>0-10>>00*0000060.00>>0000050060.010000>>000000006000/0.010000>>00%0.00>>0-10>>00*0000060.00>>0000000060.010000>>0000060.00>>00000-10>>00*00000000>>00000000  -10>>00>>0000000060.0 >>0-10>>00*0000060.0>>0000050060.010000>>0000060.00>>0000050060.010000>>00000000600060.01000;


sqltext:
SELECT  -10>>00>>00000000600>>00060.010>00*0000060.00>>0000000060000>>00000000600060.010>00*000006000000060000>>00000000600060.010>00*000006000000060000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000>00000000  -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>000005000006000000060.010000>>00000000600060.01000;


sqltext:
SELECT  -10>>00>>0000000060.00>>0-10>>00500000600060.00>>0-10>>0050060.015000>>0000000060060.00-10>>00060060.00>>0000000060.010000>>00>>00010000>>00>>00-10>0.010000>>00%0.00>>0-10>>00*0-10>>00>>0000000060.00>>0-10>>0050060.015000>>0000000060060.00>>00000060060.00>>0-10>0.010000>>00%0.00>>0-10>>00*0-10>>00>>0000000060.00>>0-10>>0050060.015000>>0000000060060.00>>00000060060.00>>0000000060.010000>>00>>00-10>>00>>000000;


sqltext:
SELECT  -10>>00>>0000000060.00>>0-10>>0050060.015000>>00000000600060.010000>@00%0.00>>0-10>>00*0-10>>00>>0000000060.00>>0-10>>0050060.015000>00>>0000000060.00>>0-10>>0050060.015000>>0000000060060.00>>0000000060.010000>>00>>00-10>>00>>00>>0000000060060.00>>0000000060.010000>>00>>00-10>>00>>000000;


sqltext:
SELECT  -10>>00>>0000000060.00>>0-10>>0050060.015000>>00000000600060.010000>>00%0.00>>0-10>>00*0-10>>00>>0000000060.00>>0-10>>0050060.015000>>0000000060060.00>>0000000>>0-10>>0050060.015000>>00000000600060.010000>>00%0.00>>0-10>>00*0-10>>00>>0000000060.00>>0-10>>0050060.015000>>0000000060.010000>>00>>00-10>>00>>000000;


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS mee;
ATTACH'�me:' AS m;
REINDEX:my:' AS nmemm��name;
ATTACH'�me:' AS mem�VACUUM;�CR


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS mee;
ATTACH'�me:' AS m;
ATTACH':my:' AS nme;
ATTACH':my:' AS nmemm��nammm��name;
ATTACH'�me:' AS mem�VACUUM;�CR


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS@m;
ATTACH':my:' AS inminmemm��name;ANALYZE;�CR


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inmaname;
ATTACH':memory:' AS ��inmemm��name;ANALYZE;�CR


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( time(1,1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $tota|(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 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 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 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, x  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 INSTEAD1, y  AS y1, y


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 ya;
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  y S1, y  AS y1, y


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  ;
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 1, 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 load_extension(1,1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM 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 v1, y  AS y1, y


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, x  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y Sa=x2�y1, y  A, y  Fd1, yy1, 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 likely(0);
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, count(1)q FROM x AS x1, x AS x2 WHERE 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�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 likely( -11);
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 likely(1)ISNULL;
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 likely(1)NOTNULL;
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 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 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 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  AS1AS1, 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 S�yC, y  A, y  Ad1, y y1, y S1, 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 WHERE 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=�1, 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 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 y11, 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 , 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 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 S�, 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);
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  total(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  ISSUEIDd1, 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  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A,  y, y y1, y S1, y  AS y1, y


sqltext:
SELECT avg(1)  -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010600*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>060.010000>>00000000000000%0.00>>00000-10>>00*000006/.00>>0000000060.000>>0000000>>060.010000>>00000000000000%0.00>>00000-10>>00*000006/.00>>0000000060.000>>0000000*000006/.00>>0000000*000006/.00>>0000000060.000>>0000000060.00;


sqltext:
SELECT avg(1)  -10>>00>>0000000060.00>>00000-10>>00*000000-10>>060.010000>>00000000000000%0.00>>00000-10>>00*000006/.00>>0000000060.000>>0000000*000006/.00>>0000000060.000>>000000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000030.010000>>00000000600060.010600*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00700-10>>060.010000>>00000000000000%0.00>>00000-10>>00*000006/.00>>0000000060.00000060.00;


sqltext:
SELECT avg(1)  -10>>00>>0000000060.00>>00020-10>>00*00000600>>00000-10>>060.010000>>00000000000000%0.00>>00000-10>>00*000006/.00>>0000000060.000>>0000000*000006/.00>>000000.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010600*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>060.010000>>00000000000000%0.00>>00000-10>>00*000006/.00>>0000000060.000>>0000000*000006/.00>>0000000060.000>>0000000060.00;


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS ame;
ATTACH':ry:' AS@name;ANALYZE/�CR


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(' l1)', '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(' load_extension(1�1)', 'foo');
INSERT INTO ft VALUES('xtension(1,1)', 'foo');
INSERT INTO ft VALUES(' l1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' @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(' l1)', 'foo');
INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' UAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUE@1߿��1=1';f


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))q FROM x AS x1, x AS x2 WHERE typeof(1);
SELECT $tota|(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( nullif(1,1))q FROM x AS x1, x AS x2 WHERE  1=1=x2.a;
SELECT $tota|(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( nullif(1,1))q FROM x AS x1, x AS x2 WHERE  random();
SELECT $tota|(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(DISTINCT nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $tota|(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( nullif(1, -11))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $tota|(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( nullif(1,1)ISNULL)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $tota|(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( nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;EXPLAIN
SELECT $tota|(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( nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $tota|(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y �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 A, y  AS1, y y1, y S, y S1, y y, y y1, y, y  AS11, 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( nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;
SELECT $tota|(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, 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 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 AS a;
SELECT $tota|(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 load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTAMPa;
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  A, 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 load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTAMPa;
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, x AS CURRENT_TIMESTS1, 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 load_extension(1,1)q FROM x AS x1, x AS x1, x AS CURRENT_TIMESTAMPa;
SELECT $total(1)p FROM x AS CURRENT, 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 load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTAMPa;
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 load_extension(1,1)q FROM x AS x1, x AS CURRENffffffffGffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff�ffffffffffffffffffffffffffffEfffT_TIMESTAMPa;
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  A ltrim(1,1)y y y1, y S1, y  AS y1, y S1, @Sy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTA________________________________________________________________________________MPa;
SELECT $tokal(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 S1F 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 load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTAMPx1, x AS CURRENT_TIMESTAMPa;
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 yBLE x(a,b);
CREATE VIEW y AS
1, y S1, y  ASy1, y S1, y y, y y1S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTAMPa;
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, x AS x1, x AS CURRENT_TIMESTAMPa;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, 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 /* */(1)p, sqlite_compileoption_used(1) x2 WHERE 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, sqlite_compileoption_used( last_insert_rowid());
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, sqlite_compileoption_used(1) x2 WHERE 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  AS1, y S�y1, y  A, 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, sqlite_compileoption_used(1) x2 WHERE likely(188888888888888888888888);
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, sqlite_compileoption_used(1) x2 WHERE likely(1);
SELECT $total(1)p FROM x AS y1, y, 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  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  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y Sy, 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, sqlite_compileoption_used(1) x2 WHERE 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 y12 WHERE 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 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, sqlite_compileoption_used(1) x2 WHERE likely(1);
SELECT $totkleoption_used(1) x2 WHERE likely(1);
SELECT $totAl(1)p FROM x AS y1, y  A, y  AS1, y S�y, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1AS 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, sqlite_compileoption_used(1) x2 WHERE 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 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, 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, sqlite_compileoption_used(1) x2 WHERE likely(1);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1y 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 t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  0XADD02FOR-01=01;
PRAGMA automatic_index=OFF;
SELECT * FROM t0a LEFT JOIN t0b ON - 1=1) OR


sqltext:
ATTACH''AS noame;
ATTACH':me*' AS ��inmeoname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inmaname;
ATTACH':memory:' AS ��irnmemm��name;ANALYZE+�CR


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(A,1))q FROM x;
SELECT $tota|(1)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(DISTINCT nullif(1,1))q FROM x;
SELECT $tota|(1)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))q FROM x;EXPLAIN
SELECT $tota|(1)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:
ATTACH''AS noame;
ATTACH':me*' AS ��inmeoname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��onae;
ATTACH':memory:' AS �me;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS inmaname;
ATTACH':memory:' AS ��irnmemm��name;ANALYZE;END


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif( -.1,1))q FROM x;
SELECT $tota|(1)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( -11,1)) /* */ x;
SELECT $tota|(1)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))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  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(A,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  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,A))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  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 sqlite_compileoption_get(1);
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, -11))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  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))q FROM x;EXPLAIN
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))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  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  ;
SELECT $oota|(SELECT $tota|(1)p FROM x  y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, 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 /* */( 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  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 /* */( 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  ASy1, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, yS�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  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 /* */( 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  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 /* */( VALUES(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  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 /* */( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x CURRENT_TIMESTAMPS1, 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 /* */( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1CURRENT_TIMESTAMPASy1, 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 DISTINCT/* */( 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  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 /* ����������*/( 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  ASy1, y S1, y S1, y y, y y1, 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 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  S1, y  AS y1)p FROM x AS y1, y  A, y )p FROM x AS y1, �  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  ASy1, y YYYYYYYYYYYYYYYYYYYYYYYYYYYY1)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  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  Ay 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  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, 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  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /*                                                                                                          */( nullif(1,1))q FROM x;
SELE                           �                         */( nullif(1,1))q FROM x;
SELECT $totCT $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 /* */( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x y1, 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  CS1Sy1, 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 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, y  AS y1)p FROM x AS y1, y  � AS 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  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,x;
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 F 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  ASy1, y S1, y y, y y1, y S11, 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  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 AS1, 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  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 /* */( 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  AS y1)p FROM x AS y1, y  A, y  CS1, y @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 $tot�|(SELECT $to)q FROM x;
SELECT $tot�|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, y S1, 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  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","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","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(CURRENT_TIME) "a","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(DISTINCT nullif(1,1)) "a","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))LIMIT "a","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", 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", total(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, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1)) "a", strftime(1,1,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","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  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  CS1, y S�y1, y y1, y S1, y  ASy1, y S1, y y,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 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  ASy1, 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 A, y  A, y, 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  ASy1, 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 A, y  A, y , yy, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(A,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  ASy1, 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 A, y  A, y , y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(1,A))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  ASy1, 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 A, y  A, y , y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */(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  ASy1, 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 A, y  A, y , y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(1,1)) "a","b"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  ASy1, 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 A, y  A, y , 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 ON A, y  CS1, y S�y1, y y1, y S1, y  ASy1, 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 A, y  A, y , 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 ��y1, y y1, y S1, y  ASy1,  y S�y1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1)p FROM x A, y  A, y , y 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 A, y  A, y , 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 ym000001, y  ASy1, 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 A, y  AJ AS y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(1,1))q FROM x;
SELECT $tota|(SELECT $topa|(1)p FROM x AS y1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, 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 A, y  A, y , y y, y y1, y S1, y  AS y1,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 A, y  A, y , y y, y y1, y S1, y  AS y1, y 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  ASy1, y  A, y  CS1, y S�y1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS   A, y  CS1, y S�y1, y y1, y S1, y  ASy1, 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 FROy1)p FROM x A, y  A, y , 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  CS, y y1, y S1, y  AS y1)p FROM x A, y  A, y 1, y S�y1, y y1, , y  ASy1, 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 F S�y1, y y1, y S1, y  ASy1, y SROM x A, y  A, y , 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 ��������S�y1, y y1, y S1, y  ASy1, 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 A, y  A, y , y y, y y11, y S�y1, y y1, y S1, y  ASy1, 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 S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /*zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz */( 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  ASy1, 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 A, y  A, y , y y, yy1, 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 y1, y S1, y y, y y1, y S1, y  AS y1)p FROM y AS y1, y  A, y CS1y


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  CS1, y S�y1, y y1, y S11, 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))LIMIT "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y, y S1, 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 /* */( VALUES(1,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1,y y1, y S1, y  AS y1)p FROM x A, y  y  CS1,


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


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total( nullif(1,1))WHERE~~~~~~~~~~~~~~~~~~~~~~~"b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y, y S1, 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" -1;
SELECT $tota|(SELECT $tota|(1)p FROM y AS y, y S1, 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";
SELECT $tota|(SELECT $tota|(1)p FROM y AS y, y S1, y  AS y1)p FROM x AS y1, y  A, y  CS1, y S�y1, y  AS1, y S1,(SELECT $tota|(1)p FROM y AS y, y S1, y  AS y1)p FROM x


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */(SELECT nullif(A,1))q FROM x;
SELECT �tota|(SELECT $tota|(1)p FROM x A, y  A, y  CSS1, y  AS y1)p FROM x A, y o  Cy y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */(SELECT nullif(A,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x A, y  A, y  CSS1, y  AS y1)p FROM x A, y o  Cy y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT EXISTS/* */(SELECT nullif(1,1))q FROM x;
SELECT �tota|(SELECT $tota|(1)p FROM x A, y  A, y  CSS1, y y1)p FROM x A, y o  Cy y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT EXISTS/* */(SELECT nullif(1,1)) /* */ x;
SELECT $tota|(SELECT $tota|(1)p FROM x A, y  A, y  CSS1, y  AS y1)p FROM x A, y o  Cy y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT EXISTS/* */(SELECT nullif(1,1))q FROM x;
SELECT EXISTS(SELECT $tota|(1)p FROM x A, y  A, y  CSS1, y  AS y1)p FROM x A, y o  Cy y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT EXISTS/* */(SELECT nullif(1,1))q000r000;
SELECT $tota|(SELECT $tota|(1)p FROM x A, y  A, y  CSS1, y  AS y1)p FWOM x A, y o  Cy y


sqltext:
CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY);
INSERT INTO t0t0000 VALUES('ab00000000000000');
INSERT INTO t0t0000 VALUES('AB00000000000000000000000000000000000000000000�00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000');
INSERT INTO t0t0000 VALUES('AB00000000000000000000000000000000000000000000�000000000000000000000000000000000000000000000000000000000000000000000000000000000');
SELECT DISTINCT a EROM t0t;


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(400)FROM t1;REPLACE INTO t1 SELECT 8 || +322001-01-01,randomblob(40 -10)FROM t1;
IN INTO t1);
END;
INSERT INTO t1 VALUES(74,randomblob(400));
SELECT x, length(y) FROM t1 ORDER BY x;


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, julianday( 1=11) 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,b FROM t1;
ANALYZE;


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+2, b FROM t1;
INSERT INTO t1 SELECT a+4, b FROM t1;
INSERT INTO t1 SELECT a+8, julianday(1,1,1) 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 NTO t1 SELECT a+8, julianday(1,1,1) 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,b FROM t1;
ANALYZE;


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='CREATE UNIQUE INDEX t00 ON 00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql= sqlite_source_id();
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO [a];
PRAGMA integrity_check


sqltext:
#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&I&&&&&&&&&&&<&&&&&&&&&&&�&&&&&&&&&&&&&&&&&&&&&&I&&&&&&&&&&&<&&�������������������������������������������������������������������������������������������������&&&&&&&&&�&&&&&&&&&&&&&&&&&&&&d&&&&&&&&&&&&X&&&&&&&&&&&&&&&&&&&&&&&	&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&iz&tri&&&&I&&&&&&&&&&&<&&&&&&&&&&&�&&&&&&&&&�&&&&&&&&d&&&&&&&&&&&&X&&&&&&&&&&&&&&&&&&&C&&&&&&&&&&&&&�&<&&&&&&& &&&�&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&TEMP&&&&&�&&C&&&&&&&&&&&&@�&<&&&&&&& &&&�&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&tri&�&&&&I&&&&&&&&&&&<&&&&&&&&&&&�&&6�&&&&&&&&&&&&&d&&&&&&&&&&&&X&&&&&&&&&&&&&&&&&&&C&&&&&&&&&&&&&&&&&&&&&&&&d&&&&&&&&&&&&X&&&&&&&&&&&&&&&&&&&C&&&&&&&&&&&&&�&<&&(&&&& &&&�&&&&&&&&&&&�&<&&&&&&& &&&�&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&TEMP&&&&&�&&&�&&&&&&&&&&&&&�&&&&&&&&&&�&6&&&&&&&&&�&&&&&&&&&&&d&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&C&&&&&&&&&&&&�&&&&&&&&&&&&&�&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&�&&&&&&&&&&&&&&I&&&&&&&&&&&<&&&&&&&&&&&�&&&&&&&&&&&&&&&&&d&&&&&&&&&&&&&&&&& &&&&TEMG&&&&&��&&C&"&&&&&&&&&&&�&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&I&&&&&&&&&&&<&&&&&&&&&&&�&&&&&&&&&&&&&&&&&&&&&&I&&&&&&&&&&&<&&�������������������������������������������������������������������������������������������������&&&&&&&&&�&&&&&&&&&&&&&&&&&&&&d&&&&&&&&&&&&X&&&&&&&&&&&&&&&&&&&&&&&	&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&iz&tri&&&&I&&&&&&&&&&&<&&&&&&&&&&&�&&&&&&&&&&&&&&&&&d&&&&&&&&&&&&X&&&&&&&&&&&&&&&&&&&C&&&&&&&&&&&&&�&<&&&&&&& &&&�&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&TEMP&&&&&�&&C&&&&&&&&&&&&@�&<&&&&&1& &&&�&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&tri&�&&&&I&&&&&&&&&&&<&&&&&&&&&&&�&&&�&&&&&&&&&&&&&d&&&&&&&&&&&&X&&&&&&&&&&&&&&&&&&&C&&&&&&&&&&&&&&&&&&&&&&&&d&&&&&&&&&&&&X&&&&&&&&&&&&&&&&&eck&&&&&&&&&&&&&�&<&&&&&&& &&&�&&&&&&&&&&&�&<&&&&&&& &&&�&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&TEMP&&&&&�&&&�&&&&&&&&&&&&&�&&&&&&&&&&�&6&&&&&&&&&&&&&&&&&&&&d&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&C&&&&&&&&&&&&�&&&&&&&&&&&&&�&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&�&&&&&&&&&&&&&&I&&&&&&&&&&&&&&&&�&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&7&&&&&&&&&&&&&TEMG&&&&&��&6&&&&&&&�grity_check


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%n0%w',a,b,c) FROM t1 GROUP BY 00001;


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%i�%s',a,b,c) FROM t1 GROUP BY 00001;


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',a,b,c) FROM t1 GROUP BY 00001;


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% *n0%s',a,b,c) FROM t1 GROUP BY 00001;


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% lower(1)n0%s',a,b,c) FROM t1 GROUP BY 00001;


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%n0%s%Y',a,b,c) FROM t1 GROUP BY 00001;


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%102s',a,b,c) FROM t1 GROUP BY 00001;


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%0ess',a,b,c) FROM t1 GROUP BY 00001;


sqltext:
CREATE TABLE t0000(aCR::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::T * FROM t0000 ORDER BY a;


sqltext:
CREATE TABLE t0(RECURSIVE KEY, b REFERENCES t0);
CREATE TABLE t2(a PR MARY KEY,  c REFERENCES t0);
CREATE TABLE t3(a REFERENCES t0, b REFEREN c REFERENCES t0);VACUUM;VACUUM


sqltext:
CREATE TABLE t0(a PRIMARY KEY, b REFERENCES t0);
CREATE TABLE t2(a PR REFERENCES c REFERENCES t0);
CREATE TABLE t3(a REFERENCES t0, b REFEREN c REFERENCES t0);VACUUM;VACUUM


sqltext:
CREATE TABLE CURRENT_TIMESTAMPt0(a PRIMARY KEY, b REFERENCES t0);
CREATE TABLE t2(a PR MARY KEY,  c REFERENCES t0);
CREATE TABLE t3(a REFERENCES t0, b REFEREN c REFERENCES t0);VACUUM;VACUUM


sqltext:
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(:00);
SELECT CASE ~max(x) WHEN:min(x) THEN:1 ELSE max(x) END FROM t1;


sqltext:
CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY);
INSERT INTO t0t0000 VALUES('000000000000000000000000000000000000000000000000000000000000000000000000000000000000');
SELECT DISTINCT a FROM t0t0000;


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<801-01-011 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<041-01-011 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<001-01=011 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES( -11) UNION ALL SELECT x<<001-01-011 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x< avg(1)<001-01-011 FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30;


sqltext:
CREATE TABLE t102 (i0 �EXT UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AS LEFT JOIN t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'
JOIN t102 AS t2
LEFT JOIN t102 ON t1.i0 GLOB 'a0';
SELECT * FROM t102 AS LEFT JOIN t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'
JOIN t102 AS t2
LEFT JOIN t102 ON t1.i0 G
JOIN t102 A0));


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 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)VALtokench '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) 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, '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)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(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, `);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
NNS0changes( VALUES(6, 'M R@G T', 'X Y 0 L S';
INSERT INTO x,a) VAL', 'X 00L0t0R', '0 O T1(docid,a) VAL',8'X 00L0tR', '0 O T H V');
S', 'R J L L INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 KS(19, A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUfS(4, 'J . Y N 0 0 ��������������������ocid,a,b,c V(5,"'L  L S', '0 Q A L Y').
INSERT INTO x1(d�cid,a,b	q) VALUES(6, 'M R@G T', 'X Y 0 L S';
INSERT INTO x,a) VAL', 'X 00L0t0R', '0 O T1(docid,a) VAL',8'X 00L0tR', '0 O T H V');
INSERT INTO U1(docid,a,b,c) VALUUS(8 'Y 040 0', '0 U E S J', 'N REPLACE'),a,�,c) VALUES(9, 'Z 0 F N P', 'W 0 d 0 U', 'V 0 E Q A');
INSERT INTO x1(doci @1,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 f', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)@A,UES(11, '0 E Q 0,`'0 I 0 C B', 'F Z U ? R)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))X 00L0tR', '0 O T H V');
S', 'R J L L INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 KS(19, A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUfS(4, 'J . Y N 0 0 ��������������������ocid,a,b,c V(5,"'L  L S', '0 Q A L Y').
INSERT INTO x1(d�cid,a,b	q) VALUES(6, 'M R@G T', 'X Y 0 L S';
INSERT INTO x,a) VAL', 'X 00L0t0R', '0 O T1(docid,a) VAL',8'X 00L0tR', '0 O T H V');
INSERT INTO U1(docid,a,b,c) VALUUS(8 'Y 040 0', '0 U E S J', 'N REPLACE'),a,�,c) VALUES(9, 'Z 0 F N P', 'W 0 d 0 U))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))');
INSERTINTO x1(doci2, 'E S V U', 'T P F W H', 'A M SENT INTO x1(docid,a,b,c) VALUES(17, 'q T S K 0', ERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q',L 0 0 Y 0', 'G 0 M R N');
�NSERT INT, 'U 0 N 0 P', 'X�� Y G F');
IO x12docid,a, 'T 8 0 P 0', '0 V Y B X', 'L Z 0 N 0


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+4, y+4 FROM t2;
INSERT INTO t2 SELECT x+8, y+8 FROM t2;
INSERT INTO t2 SELECT x+16, -16 FROM t2;
INSERT INTO t2 SELECT x+32,y+32 FROM t2;
INSERT INTO t2 SELECT x+64, -164 FROM t2;
SELECT count(DISTINCT zeroblob(1)), sum(y) FROM t2;


sqltext:
CREATE TABLE t2(x,y);
INSERT INTO t2 VALUES(1,2);
INSERT  INTO t2 SELECT x+16, -16 FROM t2;
INSERT INTO t2 SELECT x+32,y+32 FROM t2;
INSERT INTO t2 SELECT x+64, y+64 FROM t2;
SELECT count(DISTINCT zeroblob(1)), sum(y) FROM t2;


sqltext:
CREATE TABLE t000(a INTEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY UNIQUE, r);
CREATE TABLE t002(x INTdGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT 2 FROM  t001, t001,t000, t001, t000, t001, t002 WH�RE t2 W


sqltext:
DETACH printf('0%111111111q11S1�1111111�L11%0c0%%%%%%%%0%%�%%8%%%%%%%%%%2%%%%0%%%%%%2%%%%%%%%TACH p');


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3');
INSERT INTO t2 VALUES('00 02 S00 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 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme a����0a00 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 t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000');
INSERT I2TO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e');
INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0');
INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000');
INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000');


sqltext:
CREATE VIRTUAL TABLE t2 USING fts(pre<<<<*<<<<<<<<<<<<RT INTO t2 �00');
INSERT INTO t2 VALUEAL`ES('00 02 S00 0h0 wn0 0i000000  t00000 and');
INSERT INTO t2 VALUEY('W� sto00 b000 0000'000 o0 00 S 
INSER('00@0000000��.h�l�ia[ 's fleet sai000 A s0o00 0l00 up and t00')6
INSERES('fleet wa0r00ALUAS('Si00
l00y-su0-Somye aNIO 0');
INt2 VALUES( Si00-l00y-su0-Somme�and ai0 wa00 0o0 t00 win0' 00 Septembe

























r t00 80 00 E0�*000 0 0e000000 f00 t00 TK t2 VALUES('La00(0u00000 o0 00 Se0000000. ill0 0 0a0e0 m00');
INSERT INTO t2 VALUES('to 0a@0, c f00 m0000 to 0h0 e000, w00 �e');
INSERT INTO t2 VALUES(Su0 0 p0 w000 0a00 f0r a b000 o0');
INSERT INTO0t2 VALUES(:::::::::::::::'0i00. 0r00 the0 he r00 th0 h000');
IhST f00 0ol0''s  fleei');
TNSERT INT 0a0 0wa00 f00 t00 win0');
INSE0 SJptember MNSERT INTO t2 VAe0t 0l0. A sto00 b000 u0 andELSE');
INSERT INd2 VALUES(leet was f000 to 0a0e 0e0 00');INSERT INTO t2 VALUES('San0-V00000-sa����0a00 wa00 f00 t00 win0LUES('to 0h0 00 wa00 to 0h0 ugte(1)t00000 fleet');
INSERTI;TO t2 ES('00@000 000 000 i0 E00 a0 0000');
INSERT INTO t2 2 VALUES('to 000ts3000 0 f�0 m0000 -su-Somme to 0h0 0000, 00e00 0e');
INSE3T INTO t2 V7LUES('000 0 0000 0000 0a0000 f00@ 0INTO t2 VALiSERT INTO t2 VALUES('o00000. 00t00 h0 0000000');
INSERT INTO t2 VALBES('000 0000�o0  sum(1)��000001f000 t00 n000');


sqltext:
PRAGMA auto_vacuum-INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(7200&-01-0100));
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%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


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


sqltext:
PRAGMA page_size= 512;
PRAGMA auto_vacuum = incremental;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES( randomblob( ltrim(1,1)) );
INSERT INTO t1 VALUES( randomblob(1 * (512-4)) );�INSERT 


sqltext:
CREATE TABLE tUES('000','000','0SELNIQUE, z);
IHRT INTO t0 VALUES('000','000','0');
SELECT * FROM t. WHERE (x='000' O�'000') AND z <= NOT NULL;


sqltext:
CREATE TABLE t102 (i0 TEXT U								T NULL);
INSERT INTO t102 SELECT ('0'IN t102 );
SELECT ('0'IN t102 )S t0
LEFT IZ t102  N tES ('0'I


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 SELECT ('0'IN t102 IN t102 )R
SELECT * FROM)R
SELECT * FROM t102 AS t0
LEFT JOIN t102  N tES ('0'I


sqltext:
CREATE TABLE t1(x, y DEFAULT(datetime('


�



















 

















  ; ;/* */now')));
INSERT INTO t1(x)VALUES(1);
SELEC F


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,X) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,X) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,X) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 1002


sqltext:
PRAGMA auto_vacuum = incremental;
PRAGMA journal_mode = DELETE;
CREATE TABLE t1(a PRIMARY KEY, b);
INSERT INTO t1 VALUES(randomblob(1000), randomblob(102001-01-010));
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(1000), randomblob(1000) FROM t1;
INSERT INTO t1 SELECT randomblob(12001-01-01000), randomblob(1000) FROM t1;
DELETE FROM t1 WHERE rowid%2;REINDEX


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


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


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


sqltext:
#EGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t000000000 AFTER INSERT ON TempT000e BEGIN
INSERT INTO Re00T000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 FROM TempT000e 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=2;
COMMIT;
SELECT Te0tSt00n0 FROM Re00T000e ORDER BY


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


sqltext:
PRAGMA cache_size =-10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
INSERT INTO t1 SELECT randomblob(92001-01-0100) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(200)FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(92081-01-0100) FROM t1;      /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob( @1);


sqltext:
CREATE TABLE t1(x);
INSERT INTO t1 VALUES( julianday(1,1,1)),( '0000'),(NULL);
SELECT quote( @1x)FROM t1 ORDER BY x;
SELECT name FROM sqlite_master;


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES('��');
INSERT INTO t0 VALUES('b0');
INSERT INTO t0 VALUES('c0');
SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY   "a","b""a","m","b",.2;


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES('��');
INSERT INTO t0 VALUES('b0');
INSERT INTO t0 VALUES('c0');
SELECT count(*), substr(m, -1) AS00 FROM t0 GROUP BY   "a","b""a","b","b",.2;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, -112001-01-01,1) 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, -112001-01-01,1) 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, - random()-01,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,1, -112001-01-01,1) x FROM i LIMIT 1002


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INT0000);
INSERT INTO t1 VALUES(2);
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 3 THEN randomblob(92001E01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END
FROM t1;
SELECT quote(x) FROM t2 ORDER BY 1;


sqltext:
CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid;
CREATE INDEX t0000 ON t000(a);REPLACE INTO t000 VALUES('s','s0')�('00000','000'),('0r000','m0r00'),('0r000','0rr0');
SELECT a, b, '0' FROM t000 W='m0


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(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,@andomblob(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, replace(1,1,1)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, replace(1,1,1)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, replace(1,1,1)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, replace(1,1,1)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 || +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+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 x, length(y) FROM t1 GROUP BY x;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES( -11,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 || +322001-01-01,randomblob(42001-01-010 -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 random() 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 sqlite_source_id() x, length(y) FROM t1 ORDER BY x;


sqltext:
CREATE TABLE t91(x); INSERT INTO t91 VALUES(1);
CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b);
INSERT INTO t92 VALUES(1,2,3);
SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS [a]L;
SELECT ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?13;
SELECT 5 FROM x9 WHERE y IS NULL;
SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?=


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


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 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,b,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 c=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,i,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 c=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 x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE datetime(1,1,1);
CREATE VIEW z AS
SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q-y2.q;
SELECT * from z;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
PRAGMA page_size=0000;
PRAGMA cache_size=00;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(:eroblob(900));
INSERT INTO t0 VALUES(zeroblob(9.0));
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 8 FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT 8 FROM t0;
DELETE FROM t0 WHERE rowid>100;ANALYZE;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a DEFAULT 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& a - '0000';
CT;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a DEFAULT 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& a & '0000';
CT;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a int, b int, c int);
CREATE INDEX i1 ON t1(c,a);
INSERT INTO t1 VALUES(1,1,9);
INSERT INTO t1 VALUES(2,4,8);
INSERT INTO t1 VALUES(?,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 replace(1, -11,1) a FROM t1 WHERE a<10);
DROP INDEX i1;
DELETE FROM t1;
COMMIT;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, .11) FROM�i ORDER BY 1)
SELECT x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, .11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, .11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 1002


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, -1.) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 1002


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, "a") FROM i ORDER BY 1)
SELECT x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, "a") FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, "a") FROM i ORDER BY 1)
SELECT x FROM i LIMIT 1002


sqltext:
CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE "a","b"


sqltext:
CREATE TABLE t3(a EXINTEGER�PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY@d DESC,d DESC, e DESC, b, "a","b"COLLATE "a","b"


sqltext:
CREATE TABLE t3(a EXINTEGER�PRIMARY KEY, b, c, d, e, f);EXPLAIN
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE "a","b"


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(2200150120012001-01-01-01-01-01,randomblob(50));
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(90)FROM t1;
DELETE FROM t1 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, ' replace(REPLACEing');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


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


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t000000000�AFTER UPDATE ON TempT000e BEGIN
INSERT INTO Re00T000e(Te0tSt00n0)
SELECT-new.Te0tSt00n0 FROM TempT000e 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=2;
COMMIT;
SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;VACUUM


sqltext:
CREATE TEMP TABLE t0001(aӝӜ);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *0*??????????�E000';


sqltext:
CREATE TEMP TABLE t0001(aӝӜ);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *?*?????????*�E000';


sqltext:
CREATE TEMP TABLE t0001( "a","b"aӝӜ);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *???????????*�E000';


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


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


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


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


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


sqltext:
PRAGMA encoding=UTF16;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(1);
ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900';
ALTER TABLE t1 ADD COVUMN c REAL DEFAULT-'';
ALTER TABLE t1 ADD COLUMN d TEEAL DEFAULT-'';
ALTER TABE t1 SET x=c+1;
SE�ECT* 


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(10000000000000000, '00ft0
INSERT INTO t0(dociUES(0,OF0b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDE


sqltext:
CREATE VIRTUAL TABLE t0	USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(1000000000000000, '00');
INSERT INTO t0(docid, x) VALUES(0, '0b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDE


sqltext:
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(9);
INSERT INTO t0 VALUES(2);
INSERT INTO t0 VALUES(?);
INSERT INTO t0(rowid,x) SELECT nullif(x*2E14,14), x+100 FROM t0;
SELECT rowid, x FROM t0;


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


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, strftime(1,1,1,1));
INSERT INTO t1(docid, c) VALUES (3, 'This strftimet');
DELETE FROM t1 WHERE docid IN(1,3);
SELECT OPTIMIZE(t1) FROM t1 LIMIT 1;


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


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(t2.i0=+t0.i0 AND(t0.i0<>500 AND t2.i0-t1.i0));


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(t2.i0=+t0.i0 AND(t0.i0<>500 AND t2.i0<t1.i0));


sqltext:
CREATE TABLE t1(a, b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE d IS 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* group_concat(?,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;REINDEX


sqltext:
CREATE TABLE t1(a, b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE d IS 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* group_concat(1,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 A*a,2*b,2*c,d FROM t1;REINDEX


sqltext:
CREATE TABLE t1(a char(1), b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE d IS 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* group_concat(1,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;REINDEX


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 ( -1 || [a]) ORDER BY b;


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 "n00b00" FROM (SELECT "-00000"< "n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 2) AS "0000";


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" ("", "n00b00") VALUES('c', 2);
SELECT DISTINCT "n00b00" FROM (SELECT "000000"< "n00b00" FROM "000 ORDER BY "000000", "n00b00" LIMIT 2) AS "0000";


sqltext:
CREATE TABLE FOO(bar int0000);
CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN
SELECT CASE WHEN NOT (NOT~~ load_extension(1,1) BETWEEN 0 AND 20)ISNULL
THEN raise(rollback, '000000') END;
END;
INSERT INTO foo(bar) VALUES (0);


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(a, b,used(1)'text 0ne', c, notindex sqlite_compileoption_used(1)'text 0ne', '0000', 'text 000ee');
INSERT INTO t4(t4) VALUES('integrity-check');


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b);
INSERT INTO t4 VALUES('text 0ne', '0000',  zeroblob(2001-01-011));
INSERT INTO t4(t4) VALUES('integrity-check');


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize(�imple);
TE VIRTUAL TABLE t3 USING fts3tokenize();
CREATE VIRTUAL TABLE t3 USING nize(sim;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize( [a(]l );
G fts3tok����������������������� TABLE t3 USING fts3tokenPze(simple, '', '0000');


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '',CONSTR�INT '0000');


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


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES(' a,� 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 VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES( round(1,1), '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 VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES(' a, "a","b"b0 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 VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES(' a,b0 b c', 'd +2 dayse 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 VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('0))���������������������� b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
IkSERT INT0;


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('�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 VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('�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 VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('F0 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 VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('�0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT 0;
INSERT INTO x0 SELECT * FROM x0;


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


sqltext:
CREATE VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('��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 VIRTUAL TABLE x0 USING fts4(0, b);
INSERT INTO x0 VALUES('', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SEL��* FROM x0;
INSERT INTO x0 SEL;
INSERT INTO x0 SELECT * FROMECT * FROM x0;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ strftime(1,1,1,1)AND .11 FROM i GROUP BY 1)
SELECT x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ strftime(1,1,1,1)AND .11 FROM i GROUP BY 1)
SELECT x FROM i LIMIT 50;


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1) FROM i GROUP BY 1)
SELECT x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1) FROM i GROUP BY 1)
SELECT x FROM i LIMIT 30;


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


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


sqltext:
CREATE TABLE t102 (i00T000 UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AS LEFT JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'
JOIN t102 AS t2�KEFT JOIN t102 ON t1.i0 GLOB 'a0'
JOIN t102 A0));


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b char(1), 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,11, '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;
SELECT c FROM t1 WHERE b=A AND a BETWEEN.30 AND 20;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b char(1), 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,11, '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;
SELECT-c FROM t1 WHERE b=A AND a BETWEEN.30 AND 60;


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 USING  ( b);
CREATE V WHERE y1.q=y2.q;
SELECT * 


sqltext:
SELECT               b" UNION SELECT"b" UNIONRYi T NULL UNx'
YNDE�@jddN� 16U@ SELECT 2'x'LECT
YNDE�INSERTjddddda


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0
LEFT JOIN t102  t1 ON t1.i0 GLOB  sqlite_compileoption_usqd(1)=�++++++(+++++++ a.b++++  sqlite_compileoption_usqd(1)=�++++++i0=t1.i0));


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0
LEFT JOIN t102  t1 ON t1.i0 GLOB  sqlite_compileoption_used(NOT NULL);
INSERT INTO t102 V+++i0=t1.iE));


sqltext:
CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c,e DESC, b,  e DESC, b, c,  f, a);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY  b, c, d, d DESC,d DESC, a DESC, b,  e DESC, b, c, a DESC;


sqltext:
CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b, c,e DESC, b,  e DESC, b, c,  f, e);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, a DESC, a FROM t3 WHER;


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


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


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INT0000);
INSERT INTO t1 VALUES(2);
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 randomblob(4)WHEN 2 THEN zeroblob(?)ELSE '000' END
FROM t1 ORDER BY 1;


sqltext:
CREATE TABLE t03(n00e);
INSERT INTO t03 VALUES (NULL);
INSERT INTO t03 VALUES('00NSERT INTO t0TABLE t03(n00e);
IN3 VALUES (NULc
GROUP BY lowe');
SELECT count( sqlite_version())OR group_concat(1,1)A00
FROM t03
GROUP BY lower(n00e);


sqltext:
CREATE TABLE t1(x, y DEFAULT(datetime('
















6


 












6


 total(1)

  ;/* */now')));
INSERT INTO t1(x)VALUES(1);
SELE1;


sqltext:
CREATE TABLE t102 (i0 TEXU�UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT? FROM t102 AS t0
LEFT JOIN t102  t1 DEFAULT0 GLOB 'a0'LEFT
JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0));


sqltext:
CREATE TABLE t102 (i0 TEXU�UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT? FROM t102 AS t0
LEFT JOIN t102  LEFT JOIN t102  t1 ONLEFT
J


sqltext:
CREATE TABLE t102 (i0 TEXU�UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT? FROM t102 AS t0
LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'LEFT
JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0=t1.i0));


sqltext:
SELECT *
FROM (SELECT "a"LIMIT round(1,1))
WHERE oid<"b"AS ote_master 1))
WHERE oid LIKE '0LIMIT round(1,1))
WHERE oid LIKE '000000';


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t0006(a ZOLLATE nocase PRIMARY KEY);
INSERT INTO t0t0006 VALUES(' sqlite_com�leoption_used(1) -1');
INSERT INTO t0t0006 VALUES('ABX');
SELECT DISTINCT sqlite_compileoption_get(A -1)/a FROM t0t0006;


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


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 (2001,019011,A) ORDER BY b;


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 ($001,01.011,A) ORDER BY b;


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 (2001,?1-011,9) ORDER BY b;


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


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0t�ϐ�������06VAL6VALt�ϐ�������t�ϐ�������06VU�S('ab0');VACUUM


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEGEn PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT);
CREATE TABLE t3(y REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13);REPLACE INTO t1 VALUES(13)


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT);
CREATE TABLE t3(y REFERENCES t1 ON DELETE SET DEFAULT 10 CE INTO t1 VALUES(13);REPLACE INTO t1 VALUES(13)


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=asqlite_comVALUES('oneatwoBt0r00')pileoption_used(1'aB");
INSERT INTO t0 VALUES('twoBt0r00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0);
SELECT * FROM t0aux;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=!sqlite_comVALUES('oneatwoCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCBt0r00')pileoption_used(1'aB");
INSERT INTO t0 VALUES('twoBt0r00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0);
SELECT * FROM t0aux;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB���������������榦������������������������");
INSERT INTO t0 VALUES('ERT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB�����������������&������������������������");
INSERT INTO t0 VALUES('ERT 


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0
LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'NATURAL
JOIN t102 AS t2 LEFT JOIN t102  ON( unlikely(1) AND unlikely( /* */t0.i0=t1.i0));


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


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


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


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


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


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 docid IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts3(c);ANALYZE INTO t1(docid,c) SELECT zeroblob(1)id, c FROM t1o0d


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts4(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 zeroblob(1)id, c FROM t1o0d


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


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


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


sqltext:
CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bIe, PRIMARY KEY(a /* */,a,b,c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b, b);
008000


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


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES ('�00');
SELECT * FROM t0st WHERE k00000d MATCH '';


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


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


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT CURRENT_TIMESTAMP oid FROM i LIMIT 2001-01-014)
SELECT x FROM i;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, b, c);
INSERT INTO t0(a, b, c) VALUES('one t0ree fEATE VIRTUAL TABLE t0 USour', '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(a, b, c);
INSERT INTO t*two';


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x | random()| +1)*102001-01-01 FROM i)
SELECT x FROM i LIMIT 203


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x || randomblob(1) +1)*102001-01-01 FROM i)
SELECT x FROM i LIMIT 203


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and3jlllllllll{llll���llllllllll�umping');
SELACT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, ' sqlite_compilts3tokeniet(1������������������������)running and jlllllclllllllllllllllllllllllumping');
SELECT rowid FReM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jllllllllllllllllontent, tokenize CURRENT_TIMESTAMPporter);
INSElllllllllllllumping');
SELECT rowid FROM


sqltext:
CREATE TABLE t2(x,y,z);
CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t2 BEFORE INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER �2r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER K00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END;
DROP TRIGGER t2


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(10000000000000000 , '002001-01-012001-01-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 t0 USING fts4(x,or upper(1);
IN INTO t0(docid, x) VALUES(100000000000000000, '00');
INS t0(docid, x) VALUES'0b');
SELECT rowid FROM t0 WHERE x MATCH ' min(1,1) min(1,1)0*' ORDER BY docid DESC;


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


sqltext:
CREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .');
CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=�ݤ�');
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61,'separators=x\xC0');REINDEX


sqltext:
CREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .');
CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=�ݤ�');
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=x\xC0');REINDEX rtrim(1,1)


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d e');
INSERT INTO ft0 VALUES('f 0 c c d');
SELECT snippet(ft0) FROM ft0 WHERE ft0 MATCH 'c';


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


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��000 bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH 'bbb NEAR/ " min(1,1)a","b"RTUAL TABLE x USING fts4(y,';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��000 bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH 'bbb NEAR/ " time(1,1,1)a","b"RTUAL TABLE x USING fts4(y,';


sqltext:
CREATE TABLE t102 (ASCi0m0000 UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AST JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'
JOIN(t102 ASEFT JOIN t102 ON t1.i0 GLOB 'a0'
JOIN t102 A0));


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b, '000' FROM t1
UNION
SELECT b,a, '000' FROM t1
GROUP BY 3,3,a, '000', 3,a, '0', oid, '000', b, a,b, '0000', b, a,b, '000' FR


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b, '000' FROM t1
UNION
SELECT b,a, '000' FROM t1
GROUP BY 3,3,a, '000', 3,a, '0', 3,3,a, '000', 3,a, '0', 3,a, '000', b, a,b, '0000', b, a,b, '000' FR


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


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


sqltext:
CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid;
INSERT INTO t1 VALUES( quote(1),3,4);
SELECT c FROM t1 WHERE char (2001,015011,A) OR random()


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


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


sqltext:
CREATE TABLE t1(a, b, PRIMARY KEY(a,b));
INSERT INTO t1 VALUES(?,1),(?,2);
CREATE TABLE t2(x, y, PRIMARY KEY(x,y));
INSERT INTO t2 VALUES(3,3),(4,4);
SELECT a, x FROM t1, t2 GROUP BY 1, a,a


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');
CREATE VIRTUAL TABLE tNG faux;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ��ڽ���ڽ�����������������ʽ����������������������ʽ������00');���ERT INTO t0 VALUES('one0 total(1)CREATE VIRTUAL TABLE tNG faux;


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 < abs(1);
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:
CREATE TABLE "0000" ("000000" V0 "a","b" 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" GROUP BY  (1),"b",  "a","b"HAVING 1) OR "";


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" GROUP BY  (1), "a","b""b",  "a","b"HAVING 1) OR "";


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


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,a, '000'L b, '000' FROM;


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, |oke a,b,porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, toke a,b,porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'r}n jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'separator lioely(1)');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'run  sqlite_compileoption_used(1)"""""""jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'run """"""""""""""""""("@""""""*"""""""jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokeFROM t1 nize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'run """un ""#�""""""""""""""""""""""ju""""""""""""""""""jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '%Yyness and %Yyness and jujumping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'rEFCROSSES REFCROSSES jumpinROSSES jumping');
SROMp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'SSES jumpinROSSES jurREFCROSSES jumpinROSSES jumping');
SROMp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'rujlllllYYYYYYYYYYYYYYYYYYYALLY;YYYYYYYY');
SELECT rowid FR


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'rujlllllYYYYYYYYYYYYYYYYCT rowidYYYYY');
SELECT rowid FR


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'rujlllllYYYYYYYYYYYYYYYYYYYYCREATE;YYYYYYYY');
SELECT rowid FR


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


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t1C 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=' blobCRINDEX t00 ON LA t1 RENAME TO t10;
PR;
UPDATE sqlkte_master S INTET sql=;CREAT� TABLE!00(a NOT NULLCURRENT_TIMESTAMPt1';
PRAGMA wble_schema=OFF;
ALTER TABLE t1 RENAME TO u10


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!00X t00/////////////////////////ter SET� TABLE!00(a NOT NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


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 NULLCDElETE_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


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;
PR


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(0,  sq,ite_compi,eoption_used(1)'0', 'B', 'C');
UPDATE t0 SET ROWid = 5;
SELECT docid, * FROM t0;


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c);
INSERT INTO t4 VALUES('text�0ne','�CURRENT_TIME0000', 'te');
INSERT INTO t4(t4) VALUES('integrity-check');


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c);
INSERT INTO t4 VALUES(' changes()text�0ne', 'CURRENT_TIME0000', 'te');
INSERT INTO t4(t4) VALUES('integrity-check');


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c);
INSERT INTO t4 VALUES('t changes()ext�0ne', 'CURRENT_TIME0000', 'te');
INSERT INTO t4(t4) VALUES('integrity-check');


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,  time(1,CURRENT_TIME,1,1) -1, 1) FROM ft0 WHERE ft0 MATCH 'c';


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00', 'bbb 000');
SELECT * FROM x where y MATCH ' time(1,1,1) strftime(1,1,1���bb NEAR/TE VIRTUAL TABLE x USING fts4(y6"000';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00', 'bbb 000');
SELECT * FROM x where y MATCH ' time(1,1,1) strftime(1,1,1���bb NEAR/TE VIRTUAL TABLE x USING fts4(y6 "00';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��000,bbb REGEXP'bb0');
SELECT * FROM x where y MATCH 'bbb NEAR/6 000 VIRTUAL TABLE x Y:::::::::::::::::::SING fts4(y,';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��000,bbb REGEXP'bb0');
SELECT * FROM x where y MATCH 'bbb NEAR/6 000 VIRTUAL TABLE x U::::::::::: strftime(1,1,1,1)::::::::SING fts4(y,';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bE x USINbb c00', 'bbb 000');
SELECT * FROM x where y MATCH 'bbb NEA x USING   �   �      00';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bE x USINbb c00', 'bbb 000');
SELECT * FROM x where y MATCH 'bbb NEA x USING   �   blob        00';


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 AS t2 ON(t1.i0= t0.i0 OR t2.i0=t0.oid);


sqltext:
SELECT NULL "asub" UNION SELECT "0b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 ANION SELECT "x;


sqltext:
SELECT NULL,"a","a",'x'
ORDER BY"b" UNION5SELECT"b" U UNION
SELECT 1 UNION SELECT 2'x'
ORDER BY"a","b";


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< t0.i0 OR 50 AND t0.i0=t1.i0 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 * FROM t102 AS t0
LEFT JOIN t102  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t1.i0<2001-01-0150 AND t0.i0=t1.i0 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 * FROM t102 AS t0 /* */JOIN t102  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t2.i0= t0.i0  /* */ AND t2.i0<t1.oid AND t0.i0=t1.i0));


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


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi, a0 a,00, notindexed=p00, notinp00, notindexed=00, notindexed=p00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi, a0 a,00, notindexed=p00, notindexed=00, notin0, notindexed=00, notindexed6p00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi, a0 a,00, notindexed=p00, a0 a,00, notind n, notindexed=00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi,a,00, no a0 a,00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi, a0 a,00, notindexed=p00, notindexets40, notp00, noti00, notindexed=00, notindexed=p00, notindexed=poi);


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(p round(1,1), notindexed=p00xed=p00, notindexed=00, notindexed=p00, notindexed=poi);


sqltext:
SELECT-'0000' UNION SELECT avg(1) ORDER BY 1 ASC,1 ASC, 1 COLLATE  ASC,1 ASC, ASC, ASC,1 ASC, ASC, 1 COLLATE  AS1 COLLATE  ASC,1 ASC, 1 COLL


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES($511,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT (1)L,randomblob(6001E01-0150)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;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES($511,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT (1)L,randomblob(6001- -10150)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;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES($511,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(2001-01-0150));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT (1)L,randomblob(6001-01-0150)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;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 1112001501-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1;�;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 1112001-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob( zeroblob(1))FROM t1;�;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 1112001801-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,random�lob(2001-01-0150)FROM t1;�;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(� INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001-01-01-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)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;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 11120012001-01-01-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)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;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001-01-01-01-01,randomblob(2500));�INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)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;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001-01-01-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));�INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)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;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001-01-01-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)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;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001-01-01-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)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=B;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001-01-01-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1;
DELETE FROM t1 WHERE a=1;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 511200120+1-01-01-01-01,randomblob(2500));
INSERT INTO 1-01-01-01-01,randomblob(t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(5C)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)FROM t1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
INSERT INTO t1 SELErandomblob(50)FROM t1;
DELETE FROM t1 WHERE a=1;


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


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 
JOIN t102 AS 
LEFT JOIN t102  t1 ON t1.i0 IN t102 
JOIN t102 AS t22 
JOIN t102 AS t2ON();ON();


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 NATURAL 
JOIN t102 AS 
LEFT JOIN t102  t1 ON t1.i0 IN t102 
JOIN t102 AS t2 ON(t2.i0= t0.i0 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('dneatwoBtϽ����߽����
����Ž�����޽����00RT ');
INSERT INTO t0 VALUES('one0000A0');
CREATE VI 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB�����00');
INSERT INTO t");
INSERT INTO t0 VALUES('dneatwoBtϽ����߽����
�����������޽����00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VI 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('dneatwoBtꪪ�������������������
CREATE VIR���0��������������������Ī�������');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+
U


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('dneatwoBtꪪ�������˪������������� ��������docid˧�����Ī�������');
CREATE VIRTUAL TABLE t0Fux USING fts4a�x(t0)+
U


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


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


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


sqltext:
SELECT *
FROM (t0), ( ( t05, (t0, ( a,bt0), �tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a, a,b, �tEt05, (t0, ( a,bt0) �tE),t0)), (t0)a,bt0), �bt0), �tE), (t0), �bt0), �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, sqlite_compileoption_used(A)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 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-------wo';


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-----------4---wo';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(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 ftss3(------------------3(-------------------------wo';


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 ftss3(------------------------------------3(------------3(-------------------------wo';


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 ftss3(------------L-----3(---M---------------------wo';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, b, c);
INSERT INTO t0(a, b, c) VALUES('one fEour', '000 0o00', 'one two');
SELECT a, b, c  FROM t0 WHERE c MATCH 'G ftss3---------O--------3(----------d--------------wo';


sqltext:
CREATE TABLE "0000" ("000000" V0 "a","b" 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" GROUP BY    "a","b""a","b""a","b",  "a","b" LIMIT 1)�IS "";


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRED frunANAYYEd jumpinANALYYEd jumping');
ump';


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid, c) VALUES (1, julianday(1,1,1));
INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1));
INSERT INTO t1(docid, c) VALUES (3, julianday(1,1,1));
DELETE FROM t1 WHERE $ocid IN(1,3);
SELECT OPTIMIZE(t1) FROM t1LIMIT 1;


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid, c) VALUES (1, julianday(1,1,1));
INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1));
INSERT INTO t1(docid, c) VALUES (3, julianday(1,1,1));
DELETE FROM t1 WHERE $ocid IN(1,3);
SELECT OPTIMIZE(t1) FROM t1 LIMIT 2;


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


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


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


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


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


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 NEAR/6 00 NEAR/6 000''bbb NEAR/6 00 NEAR/6 000';


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


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 NEAR/6 00 NEAR/6 000';


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


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


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


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


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


sqltext:
CREATE TABLE t102 (i2222P22222222222222�22222222220 TEXT UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 NATURAL JOIN(t102 ONt0
 NATURAL JOIN(t102 ONt0LEFT JOIN t102  t1 ON t1.i0 GLOB 'a0'
JOIN t102)AS t2
LEFT JOIN t102 ON t1.i0 GLOB 'a0'
JOIN t102 A0));


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'""separators= "aUE"separators=);
IN VALUES( VALUES('\0E0');


sqltext:
CREATE TABLE t102 (i0 �EXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 /* */JOIN t102  t1 ON t0.i0 LIKE 'a0'CROSS
JOIN t102 AS t2 ON(t2.i0= t0.i0  /* */ AND t0.i0=t1.oid AND  @1i0=t1.i0));


sqltext:
CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,c,c,c,c,c,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 i,d,e, PRIMARY KEY(a,b,b,e,c,c,c,b,c,d,e,e));
SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND c<? AND e=?;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( , notindexed=p00, notindexed=poi=p00, notindexed=0, a� a000, notindexed=p00, notindexed=00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi);


sqltext:
SELECT-'0000' UNION SELECT avg(1) ORDER BY 11 ,OLLATE  ASC,1  ASC,1 ASC, 1 COLLATE  ASC,1 ASC, ASC, 1 ,OLLATE  ASC,1 ASCOLL


sqltext:
SELECT-'0000' UNION SELECT avg(1) ORDER BY WITHOUT ASC, 1 COLLATE  ASC1 ASC,1 ASC, 1 COLLATE  ASC,1 ,1 ASC, ASC, 1 ,OLLATE  ASC,1 ASC, 1 COLL


sqltext:
SELECT-'0000' UNION SELECT avg(1) ORDER BY 1 ASC, 1 COLLATE  ASC,1 ASC, ASC, 1 ,O, 1 ,OLLATE  ASC,1 ASC, 1 COLL


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 511200120*1-01-01-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
I12ERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(2401-01-0150)FROM t1;�INSE;


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '000000''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) stat FROM sqlite_stat1 ORDER BY 002;


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>0;
Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


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>2 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 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>1;
Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


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) SELECT ('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:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ���O��Ľ���������������������������������00');
INS�00');
INSERT INTO t0 VAL


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB����������������������������������������������������������������ߟ����������� t0;
CREATE VIRTUAL TABLE t0 USIHHHHHHH�");
INS


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES (' strftime(1,1,1,1) strftime(1,1,1,1)000');
SELECT * FROM t0st WHERE k00000d MATCH '"  1=1*1,1)"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES (' strftime(1,1,1,1) strftime(1,1,1,1)000');
SELECT * FROM t0st WHERE k00000d MATCH '"  "a"(1,1)"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES (' strftime(1,1,1,1) strftime(1,1,1,1)000');
SELECT * FROM t0st WHERE k00000d MATCH ' strftime(1,1,1,1)"  1=1(1,1)"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES (' strftime(1,1,1,1) strftime(1,1,1,1)000');
SELECT * FROM t0st WHERE k00000d MATCH '"  1=1(1,1 strftime(1,1,1,1))"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES (' strftime(1,1,me(1,1,1,1) strftime(1,1,11)001,1) strftime(1,1,1,1)000');
SELECT * FROM t0st WHERE k00000d MATCH '"  1=1(1,1)"';


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 /* */ (0);
SELECT  total(1)p FROM y AS y1, y  AS1, y  y y1;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 x FROM i ,I,I ,i,i ORDER BY 1)
SELECT x FROM i ,I,I? 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 x FROM "a","b",Z,i ORDER BY 1)
SELECT x FROM i ,I,I? 10;


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ����l;
INSERi��O t1(rolllllllllllllllll�ll;
INSllllllllllumping');
SELECT roERT INTO t


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ���ll;
INSERLIMITi��O t1(rolllllllllllllllll�ll;
INSllllllllllumping');
SELECT roERT INTO t


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ���ll;
INSERi��O t1(rolllllllllllllllll���ll;
INSERi��O t1(roll�ll;
INSllllllllllumping');
SELECT roERT INTO t


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning and ���ll;
INSERi��O  and ���ll;
INSERi��O t1(rt1(rolllllllllllllllll�ll;
INSllllllllllumping');
SELECT roERT INTO t


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jlllllllllllllltreEd sumng and jlllllllllllllltreEd sum((1)Gllllumping');


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize( "a","b" "a", "a","b", '', '0 TAB��������}��������������LE t3 U''''''''''''''''''''''''''A', '000''''''''''''''''''''''''0');


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d e');
INSERT INTO ft0 VALUES('b 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -0, 2) FROM ft0 WHERE ft0 MATCH  'a''b''c';


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


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


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


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


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


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


sqltext:
CREATE TABLE sqlit _compSPLECT= /Blite_compileoptio AND b=? AND ? AND d=E AND e =? ^ND c=? AND ~~~~~~~~~~~~~~~d=E AND e OROR?;


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


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


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


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


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


sqltext:
CREATE TABLE t102 (i0T102 VUNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AS LEFT JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 AS t6NDE JOIN t102)FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102  t
JOIN t102 A0));


sqltext:
CREATE TABLE t102 (i0T102 VUNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AS LEFT JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 AS t6NDE JOIN t102 JOIN t102 FT JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102  t
JOIN t102 A0));


sqltext:
CREATE TABLE x( /* */q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS x1, x AS x2 USING  (q)=x2.a;2 WHERE y1.q=y2.q;
SELECT * 


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


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 e=?;


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT  upper(1) FROM i ORDER BY 1)
SELECT  1=1/-x FROM i LIMIT 140-7;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT  total(1) FROM i ORDER BY 1)
SELECT  1=1/-x FROM i LIMIT 14 -7;


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


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 IN  (1) 
JOIN t102 AS t2 ON(t2.i0=+++++++++++++++++++00 AND t0.i0=t2.i0));


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet AUTOINCREMENTa00 AUTOINCREMENTcompileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('NSERT INTO t2 VALUESto 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 m00 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('tU 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000');
INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e');
INSERT INTO t2 VALUES('0000000UES('o00


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 AUTOINCREMENTcompileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('NSERT INTO t2 VALUESto 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(' sqlite_compileoption_get(1)e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 m00 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('tU 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000');
INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e');
INSERT INTO t2 VALUES('0000000UES('o00


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES(NOT'W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 AUTOINCREMENTcompileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('NSERT INTO t2 VALUESto 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 m00 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('tU 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000');
INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e');
INSERT INTO t2 VALUES('0000000UES('o00


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('W0000''s fleet saiite_compileoption_used(1)leet wa0 r000 to 0a00 AUTOINCREMENTcompileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('NSERT INTO t2 VALUESto 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 m00 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('tU 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VAES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000');
INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e');
INSERT INTO t2 VALUES('0000000UES('o00


sqltext:
CREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,b,c,a,be,b,c,d,e,d,a,bI,c)) WITHOUT ROWID;REINDEX X


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t s s ݞݖme(1,1,1,1 "a","b"(1,1,1,1)ime(1,1,1)"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t s s "a"ime(1,1,1,1 "a","b"(1,1,1 "a"me(1,1,1)"';


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 time(1,1,1)MATCH-x2.a;
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 x(a,b);
CREATE VIEW y AS
SELECT avg(1), x2.b AS q FROM x AS x1, x, x AS x2 WHERE x1.a=x2.a;
SELECT $total(1)p FROM y AS y1, y  A, y  �1;


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


sqltext:
CREATE TABLE "0000" ("000000" V0 "a","b" 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" GROUP BY   "a","b""a","b", "a","b""a","b",   "a","b" LIMIT 1)�IS 


sqltext:
CREATE TABLE "0000" ("000000" V0 "a","b" 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 1=1+(SELECT "000000", "n00b00" FROM "0000" GROUP BY   "a","b""a","b", "a","b""a","b",   "a","b" LIMIT 1)�IS 


sqltext:
WITH i(x) AS ( VALUES(1) INTERSECT SELECT-randomblob(1)i ORDER BY 1)
SELECT avg(1) x FROM i ,I, i ,I;


sqltext:
WITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblob(1)i GROUP BY 1)
SELECT avg(1) x FROM i ,I, i ,I;


sqltext:
WITH i(x) AS ( VALUES(1) INTERSECT SELECT S(1) INTERSECT SELECT randorandomblob(1)i ORDER BY 1)
SELECT avg(1) x FROM i ,I, i ,I;


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', '', -0, 2) FROM ft0 WHERE ft0 MATCH  'a @1''b''c';


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


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  'a @1'' 1=1';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000-bbJ c00', 'bbb 000');
SELECT * FROM x where y MATCH 'bbb O -�trft�� OR - stR -�trft�� OR - strft�� OR 0';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00', 'bbb 000');
SELECT * FROM x where y MATCH 'bbb OR -�trft�� OR - strftbbb OR -�trft�� OR - strft�� OR 0';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00', 'bbb 000');
SELECT * FROM x where y MATCH 'bbb OR -�trtrft�� OR - strftft�� OR - strft�� OR 0';


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


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES('2001-01-01nsion(1,1)', 'foo');
INSERT INTO ft VALUES('foo', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2001-01-01-01-011 -2001-011 -2001-01-011 -1';


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('foo11 -2001-01-011 ', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2001-01-01-01-011 -2001-011 -2001-01-011 -1';


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('foo', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2oo -2001-01-01-01-011 -200-01001-01-01-01-011 -200-011 -2001-01-011 -1';


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree(i0 hiDDEN INCTIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII x2 sqlite_compileoption_get(1), y1, y2);


sqltext:
CREATE TABLE t0(a, b);
SeLECT DISTINCT "a","ba","b",count(*)FROM (SELECT "a","b", *,"ba","b",count(1)FROM (SELECT "ba","b""""a","ba","y","b",oid,"b""a","ba","b",count(*)a FROM t0) )FROM (S;


sqltext:
CREATE TABLE t0(a, b);
SeLECT DISTINCT "a","ba","b",count(*)FROM (SELECT load_extension(1,1),count(*)FROM (SELECT "ba","b""""a","ba","y","b",oid,"b""a","ba","b",count(*)a FROM t0) )FROM (S;


sqltext:
CREATE TABLE t0(a, b);
SeLECT DISTINCT "a","ba","b",count(*)FROM (SELECT "a","b", *,"ba","b",count(*)FROM (SELECT  a,b,"b""""a","ba","y","b",oid,"b""a","ba","b",count(*)a FROM t0) )FROM (S;


sqltext:
CREATE TABLE t0(a, b);
SeLECT DISTINCT "a","ba","bnt(*)FROM (SEL",count(*)FROM (SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","b",count(*)FROd,"b""a","ba","b",count(*)a FROM t0) )FROM (S;


sqltext:
CREATE TABLE t0(a, b);
SeLECT DISTINCT "ba","b",count(*)FROM (SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "a","b", *,"ba","","y","b",oid,"b""a","ba","b",count(*)a FROM t0) )FRO>'(S;


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


sqltext:
/*I**d****����****D**%?*******+******I**d****����*****VVVVVVVV�ENVVCPVVV\",6*FRELKE�b�"b"tI"b�"H",r""4"7U��docid0aR8@


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


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


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


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


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


sqltext:
CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 NATURQL JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN(t102 ASANDE JOIN t102  tANDE JOIN t102 FT JOIN t102 ONNDE JOIN t102 FTLEFT JOIN t102  t
JOIN t102 A0));


sqltext:
CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 NATURQL JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 ASANDE JOIN t102  tANDE JOIN(t102 FT JOIN t102 ONNDE JOIN t102 FTLEFT JOIN t102  t
JOIN t102 A0));


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(10*0012001501-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+1,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+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(c FROM EN 30 AND 60;


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+1,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+5777757-7772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(c FROM EN 30 AND 60;


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+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o4*';
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+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WH;
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(c FROM EN 30 AND 60;


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(1020%12001501-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+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) 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+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINLEX;
SELECT(c FROM EN 30 AND 60;


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( -11020012001-01-01-01-01,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'�000');
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,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) 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+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);�REINDEX;
SELECT(OM EN 30 AND 60;


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


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


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t s  "a"time(1,1,1,1 "a"NOTNULL,"b"(1,1,1,1)ime(1,1,,"b"(1,1,1,1)ime(1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" �s  "a"time(1,1,1,1 "a"NOTNULLL,"b"(1,1,1,1)ime(1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t s  "a"tis  "a"time(1,1,1,1 "a"NOme(1,1,1,1 "a"NOTNULL,"b"(1,1,1,1)ime(1,1,")"';


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;
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, x S1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


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, 6) FROM ft0 WHERE ft0 MATCH   'a''b''!''b''b''a''b''c''c';


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 min(1,1)ite_compileoption_used(1)f 1=1 c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH   'compileoption_used(1)f 0  (1)a''b''a''b''c';


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


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   ' sqlite_compileoption (1)d(1)compileoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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   ' sqlite_compileoption_used(1)compileoption_used(1)f 0  OR)a''b''a 0  (1)a''b''a''b''b''c';


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


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   ' sqlite_compileoption_used(1)compileoption_used(1)f 0  (1)a''b sqlite_compileoption_used(1)''a 0  (1)a''b''a''b''b''c';


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   ' sqlite_compileoption_used((1)f 0  (1)a''b''a 0  (1)a''b''1)compileoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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  (1)a''b''a''b''b''');
SELECT	snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH   ' sqlite_compileoption_used(1)compileoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT  total(A),"a"% a,b FROM y AS y1, y AS y1, y    AS1, x  A, y AS y1, y �S y1, y AS y y1;


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


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   ' -1pileoptTe0tSt00n0)f OR AU';


sqltext:
CREATE TABLE t000(c0  a,c000,�NT0,ba,b,�,I, a,b0);
CREATE TABLE t002(c000,INT0000a,b000,�NT0,ba,b,�,I, a);
SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000;VACUUM


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT 'a''b' FROM x AS x1, x AS x2 WHERE x1.a;
SeLECT   "a","b","a"�ߞ�b FROM y A, y  ASy1, y  AS1, x  AS y1, y AAS y;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1111111111111111111111111111) Fa;
SELECT  total(A),"a" a,b FROM y AS y1, y   A, y AS y1, y  A1, x  A, y A, y  ASA, y AS y1, y   y1, y AS y y1;


sqltext:
CREATE TABLE t000( ''c0, UNUE,NUE,�,I, a,c0);
CREATE TABLE t002(c000,I,J0000);
SELECT c000,* FROM t002 LAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATS  


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,X'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, ' ') FROM t1


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE ASC���˹�����׶�������ζ�����13 USING fts3 (1);VACUUM VAL


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(2001-01-011) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(2001.01-011) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob( ltrim(1,1)) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(2001 || 011) x FROM i LIMIT 10;


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


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(b,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,6,20000);REINDEX


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(b,c,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,?,4,?,10000);
INSERT INTO t5 VALUES(2,3,4,5,6,20000);REINDEX


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(NULL,'t4all','600000 160000 40000 10000 2000 200 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 c=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:
BEGIN;
CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) 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 te0000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null);
0


sqltext:
BEGIN;
CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) 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 te0000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null);
0


sqltext:
BEGIN;
CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) 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 I0�0000(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 te0000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null);
0


sqltext:
BEGIN;
CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) 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 �nteger 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 te0000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null);
0


sqltext:
BEGIN;
CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) 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));REINDEX 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 te0000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null);
0


