# xsql

sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(|);VACUUM;
INSERT INTO t0 VALUES('T00 00u000 0000 0o0 00L0t0 0s i0 t00 0000i0');VACUUM


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(x);
BEGIN;
INSERT INTO t0 VALUES('T00 00}000 0000 0]]]]]o0 00L0t0 0s2i0 t00 00000 0000 0]]]]]o0 00L0t0 0i0');


sqltext:
CREATE TABLE t102 (i  TEXT 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'
JOIN t102 A0));


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 �S 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'LEFT JOIN t102  t
JOIN t102 A0));


sqltext:
CREATE TABLE t102 (i0 TEXT 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'LEFT JOIN t102  t
JOIN t102 A0));


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


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a,$b,A'000', b, '000' FRO FROM t1
UNION
SELECT b,a, '0', b, '000' FRO FROM t1
U000'00' "


sqltext:
CREATE TABLE t0 (a INTEGER PRIMARY KEY);
CREATE TABLE t2 (a INTEGER PRIMARY KEY,�b�INT0000);
CREATE TABLE t2x (b INTEGER PRIMARY KEY);
SELECT t0.a FROM (((t2 JOIN t2 ON t0.a<t2.a) ASt0 JOIN t2 ON t0.a<t2.a) AS x JOIN t2x ON x.b=t2x.b) as00;


sqltext:
CREATE TABLE t0 (a INTEGER PRIMARY KEY);
CREATE TABLE t2 ( "a","b"R PRIMARY KEY, b�INT0000);
CREATE TABLE t2x (b INTEGER PRIMARY KEY);
SELECT t0.a FROM (((t2 JOIN t2 ON t0.a<t2.a) ASt0 JOIN t2 ON t0.a<t2.a) AS x JOIN t2x ON x.b=t2x.b) as00;


sqltext:
CREATE TABLE t0 (a INTEGER PRIMARY KEY);
CREATE TABLE t2 (a INTEGER PRIMARY KEY, b�1020000);
CREATE TABLE t2x (b INTEGER PRIMARY KEY);
SELECT t0.a FROM (((t2 JOIN t2 ON t0.a<t2.a) ASt0 JOIN t2 ON t0.a<t2.a) AS x JOIN t2x ON x.b=t2x.b) as00;


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts3(x,a 0', 'c d');
RT INTO ft0 VALUES('e',Gc d');
INSERT INTO ft0 VALUES('a a', '� 0');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts3(x,a 0', 'c d');
RT INTO ft0 VALUES('e',Gc d');
INSERT INTO ft0 VALUES('a a', ' >=');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts3(x,a 0', 'c d');
INSERT INTO ft0 VALUES('e',Gc d');
INSERT INTO ft0 VALUES('a a'ISNULL, '0 0');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;


sqltext:
CREATE TABLE t3(a INTFGER 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 b, a, d PLAN
SE


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


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


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


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY a.bys x;


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r);
CREATE TABLE t002(x�INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT DISTINCT* FROM t000, t001, t000  t001, t002 WHE t0;


sqltext:
CREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r);
CREATE TABLE t002(x�INTEGER PRIMARY KEY /* */);
EXPLAIN QUERY PLAN
SELECT DISTINCT* FROM t000, t001, t002  t001, t002 WHE t0;


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(1)=�++++++(+++++++ a. a.b+++++++i0=t1.i0));


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a �NTEGER 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, '/000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'00' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
ANALYZE;
SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60;


sqltext:
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(10200/-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,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
ANALYZE;
SELECT(c FROM t1 BETWEEN 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(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,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577777777772001-01E017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
ANALYZE;
SELECT(c FROM t1 BETWEEN 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(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,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(a);
ANALYZE;
SELECT(c FROM t1 BETWEEN 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(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,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT                              a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
ANALYZE;
SELECT(c FROM t1 BETWEEN 30 AND 60;


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diecrit�cs=1'S('0');
INSERT """"""""""""""""""""""""""""");
I0""");
I0;
I


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diecrit�cs=1'S('0');
INSERT "NSERT """""""""""""""""");""""""""""""""""");
I0 VALUES('0�);
I�EWT;
I


sqltext:
SELECT 1.000606000000-00<00000<0<000-00<?<00<0<000.060600000<0<000-0<?<00<0<000.060600000<000<?<00<0<000.0606000000-00<00000<0<000.060000


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(t0.i0= t0.i0  /* */ AND t0.i0=t1.oid AND t0.i0=t1.i0));


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


sqltext:
CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(b /* */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, f,  e DESC, b, c, a DESC;


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


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


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, '00', 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, '000', b, oid, '000' FR


sqltext:
CREATE TABLE t4(a,b,c int,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,b,c,d,e,f,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','6000000160000 40000 10000 2000 600 100 4001�');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE a=1;
SELECT i FROM t4 WH""""b=2;
SELECT i FROM t4 WHERE c=3;
SELECT i FROM t4 WHERE h=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SE��������������������������������LECT i FROM t4 WHER$ g=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x�INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg(1)FROM t000, t001, t000, t000, t001, t002 IR, t001, t002 WR


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg(1)FROM t000 t001, t000, t000, t001, t002 IR, t001, t002 WR


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


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


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






 -1













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

INSERT INTO t1(x)VALUES(1);
SELSELE1;


sqltext:
CREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID;
CREATE INDEX t00d ON t0(b, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000');REPLACE INTO t0 VALUES('0000000','000r000','0000a','000r000');REPLACE INTO t0 VALUES('00000c','00000','0000000','000000');
SELECT *, '0' FROM t0 ORDER BY c, a;


sqltext:
CREATE TABLE t1(a,b,c);
INSERT INTO t1(a,b,c)
VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1',''),('t1','t1b','10000');
ANALYZE sqlite_master;
SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(�oi, a0 a000, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi);
INSERT,'0 �);
exe;


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


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi,00, notindexed=p00, notind a0 a000, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi);
INSERT,'0 �);
exe;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi, a0 a000, p00, notindp00, notindexed=00, notindexed=p00, notindexed=poi);
INSERT,'0 �);
exe;


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c,;
INSERT INTO t1 (docid, c) VALUES (1,  time(1,1,1));
IN=ERT INTO t1(docid,c) VALU0t0006 'T00t w00 0 test');
INSERT INTO t1(docid, c) VALUES (3,-'T0is i0 0 test');
DELETE FROM t1 WHERE 1=1; --0000
INSERT INTO t1(docid, c) VALUES (1, '0 t000');


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1 (docid, c) VALUES (1,  zeroblob(12001-01-01));
INSERT INTO t1(docid,c) VALUES (0, 'T00t w00 0 test');
INSERT INTO t1(docid, c) VALUES (3, 'T0is i0 0 test');
DELETE FROM t1 WHERE 1=1; --0000
INSERT INTO t1(docid, c) VALUES (1, '0 t000');


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


sqltext:
CREATE TABLE t0(x TEXT UNIQUT, y TEXT UNIQHHHHHHHHHHHHHHHHHHHHHHH�HHHHHH'000','000','0');
SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000') AND y ISNULL N


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


sqltext:
CREATE TABLE t102 (i0 TEXT�UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT? FROM t102 AS t0
LEFT JOIN t102  t1 ON t1.i0 GLOB '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 /* */JOIN t102  t1 ON t1.i0 GLOB 'a0'LEFT
JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0));


sqltext:
CREATE TEMP TABLE t0001(aӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[����000';


sqltext:
CREATE TEMP TABLE t0001(aӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[]?TE000';


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='CRa)'
WHERE name='t1a';
UPDATE sqlite_master SET sql='TE Tt[';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PRAGMA integrity_chec[


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


sqltext:
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-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( 5112001-01-01,randomblob(:500));
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;
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( 5112001-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;�EPLACE 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;
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( 5112001-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(:001-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( 5112001-01-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( 5112001-01-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;
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( 5112001-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( 5112001-01-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;
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:
SELECT sqlite_rename_trigger(' ><AT0 ||||||||||||||||||||||||||||||||TRUGGEI b0 <=AT0 TWHEN',NULL);


sqltext:
SELECT sqlite_rename_trigger(' ><AT0 TRUGGEI b0 <=AT0 TWHE�����������������������������N',NULL);


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t0t����VIEW��(CURRENT_TIMESTAMPPRIMARY Y);
INSERT INTO t0t VAL


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2, -13,'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=3 AND a BETWEEN 3. AND 6 ||.0;


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEGER PRIMARY KEY);
CREATE TABLE t0(y char(1)UNIQUE DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT);
CREATE TABLE t3(y REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES( ?113);
INSERT INTO t0 VALUES( ?113);
INS


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,01-011,A) OR random()


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 (202001-01E0101,01-011,A) ORDER BY b;


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


sqltext:
CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,a,e,c,d,b,e,c,d,b,c,d,e,c,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 [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00-0�00000000''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 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 t2.i0 IN  (1) 
JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 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 AS 
LEFT JOIN t102  t1 ON t1.i0 ISNULL) );


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 �1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13);
INSERT INTO t1 SELECT(13)


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


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT);
CREATE TABLE t3(y REFERENCES �1 ON DELETE SET NULL);;
INSERT INTO t1 SELECT(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 RESTRICT);REPLACE INTO t1 VALUES(13);REPLACE INTO t1 VALUES(13)


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(old.b | lower(1)| julianday(1,1,1) | abs(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 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(old.b | lower(1)| julianday(1,1,1) | round(1,1)| '0' || 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 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(old.b | lower(1)| julianday(1,1,1) | total_changes()| '0' || changes() );
END;
CREATE TABLE t2(a);
INSERT INTO t2 VALUES(0), (2), (0);
UPDATE t0 SET b= changes();


sqltext:
CREATE TABLE t10(x �NTEGER PRIMARY KEY, y INU� z CHAR(900));
CREATE INDEX t000 ON t10(y);
EXPLAIN QUERY PLAN
SELECT total(1)
FROM t10 AS a JOIN t10 AS b ON a.y<b.x
WHERE (b.x<$ab0 OR b.y<$ab0);


sqltext:
CREATE TABLE t10(x �NTEGER PRIMARY KEY, y INU� z CHAR(100));
CREATE INDEX t000 ON t10(y);
EXPLAIN QUERY PLAN
SELECT total(1)
FROM t10 AS a JOIN t10 AS b ON a.y=b.x
WHERE (b.x<$ab0 OR b.y<$ab0);


sqltext:
WITH i(x) AS ( VALUES( avg(1)-011) UNION ALL SELECT 1=1 FROM i ORDER BY 1)
SELECT x FROM i LIMIT  04


sqltext:
CREATE VIRTUAL TABLE t0 USING FTS4(a, b);
INSERT INTO t0 VALUES('0o 00stur0s', '0n00000000 0i0000000 b0 obs0rvi0000 (0a00) p0op00 00000000000. R0000 t0an 00d v000 (00n0 p0o0000000, f00  /* */�); 0r0000f00  /* */�); 0r0000 f0');


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:
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", a,b


sqltext:
CREATE TABLE t1(a, b, PRIMARY KEY(a,b));
INSERT INTO t1 VALUES(1,1),(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, typeof(1),b


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1 1=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 t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00�0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1,1=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 t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1 1=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 t0 sqlite_compileoption_used(1)leet 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(' total(1)ai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1 1=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 t0 sqlite_compileoption_used(1)leet 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  last_insert_rowid()000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1 1=1,2,3 time(1,1,1)');
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 t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1 1=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 t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0 upper(1)o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='10u01,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 t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1 10es2,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 t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='3,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 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1,2,1');
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 s00 0t');
INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1,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 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 wiN0 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 S0000. 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:
CREATE TABLE t0(a, b);
SELECT DISTINCT "a",oid"""a","ba""b",a F,"b""a","ba","b",a FROM (SELECT count(*)a FROM t0) WHERE a==0;


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


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=7 AND d=? AND e= strftime(1,1,CURRENT_TIME);


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, randomblob(1));


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


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


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');
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('oeatwoBbϽ����������������������ѽ�����000000A0');
CREATE VIRTUAL TABLE t0auxUx;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=����,ݝݞB");
INSERT );
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 @NT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB���������������������������������������������������������������������������");
INSERT @NT 


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:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB��������������������Te0tSt00n0����������������������������������������");
INSERTALUES('ERT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBt0ꪪ�������������������������������������������������������������������������������ne0002A0');
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('�������������������������������������������������ne0002A0');
CRTUAL 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('oneatwoBTRANSACTIONt0��������������������������������t0���������������������������������������������������ne0002A0');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0);
SELECT * FROM t0aux;


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 FT JOIN t102  ON( unlikely(1) AND(t1.i0<>500 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 t1.i0 GLOB 'a0'NATURAL
JOIN t102 AS tFT JOIN t102  ON( unlikely(10=t1.i0));


sqltext:
CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid;
CREATE INDEX t0000 ON t000(a);
INSERT INTO t000 VALUES('s','s0'),(-hex(2<01-01-011),'000'),(-hex(1),'m00');


sqltext:
CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid;
CREATE INDEX t0000 ON t000(a);
INSERT INTO t000 VALUES('s','s0'),(- total_changes(),'000'),(-hex(1),'m00');


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '000000000000000e+: days' 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 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '000000000000000e+2 days' 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:
SELECT *
FROM (t0E, ( ( t05, (t0, ( a,b0), �tE05, (t0, t0), �tE05, (t0, ( a,bt0), �tE), (t0)a,bt0), �bt0), �tE), (�0)a,bt0)E), (t0)
WH),


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


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


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


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


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


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a, b, '000' FROM t1
UNION
SELECT b,a, avg(1)FROM t1
GROUP BY 2, 3, total(1), 2, 3,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, avg(1)FROM t1
GROUP BY 2, oid, '000' , 2, 3,a, '000' , "a","b"


sqltext:
CREATE TABLE t1(x, y DEFAULT(datetime('2001-01-01  ')));
INSERT INTO t1(x)VALUES(1);
INSERT INTO t1(x)VALUES(1);


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 -0 IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1RE


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 -1IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1RE


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 ROWid -1 IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1RE


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 t�o0d;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d;
DROP TABLE t1o0d;


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


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


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts4(c);
INSERT INTO t1(docid,c)VALUES( -11,'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, c FROM t1o0d;
DROP TABLE t1o0d;


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


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


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


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 > 'a''b';
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d;
DROP TABLE t1o0d;


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


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) c FROM t1o0d;
DROP TABLE t1


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


sqltext:
#;��)heck);n(;
#C
#C);�);
#�(;t���RO������;
#��FRO������;
#���A]���(;
#C
#C);
#;�);
#�(;
#C
#C);
#;�;#


sqltext:
#;��)Hheckpua�A]��A;
#C);ntFRO������;
#���A]���(;
#C
#C;
#C
#C);
#;�);
#�(;
#C
#C);
#;�);
#�(;
#C
#C);
#;�;#


sqltext:
#;����E�eckpwa�A]�our(;
#C);jm�
#
#C�;
#
#C);jm�
# 
#C�;
#
#C�USIVE;
#�(A
#
#A�;
#
#C���#


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES ('000');
SELECT * FROM t0st WHERE k00000d MATCH '2001-0 "a"1-01�"';


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0st USING fts4 (k00000d);
INSERT INTO t0st VALUES ('000');
SELECT * FROM t0st WHERE k00000d MATCH '" blob "a""';


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT+x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a= (1);
SELECT DISTINCT @1p, y2.p FROM y AS y1, y  AS y1, y AS y2 Wz;


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


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(10201-01-2100));
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;
BEGIN;
DELETE FROM t0 E rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(14201E01-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 round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(142001-01-01201-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 round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(70201-01-9100));
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 round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(92001-01-0100));
INSERT INTO t0 VALUES(zeroblob(10201-01-9100));
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 round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


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


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, b, c);
INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fts�(a, b, c):
INSERT I:::::::::::::::::::::::::::::NTO t0two';


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


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


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


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 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 ?13;
SELECT 5 FROM x9 WHERE y IS NULL;
SELECT 6 FROM t91 LEFT JOIN t92 ON a=~~~~~~~~2 OR ?1OR b=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 ?1OR b=3


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


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


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


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


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


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


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


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


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 ' "a"jum "a","b"p';


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 jum " "a","b"a","b"p';


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenze ent, tokenze porter);
INSERT , cS(1, '�unning and jumping');
SELECT rowid FROM t1 WH;ES(1, '�unning and jumping'�;
STCHp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�un.R-AE VIRumping');
='run jum


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning and jum>>>>+++++++++++++++++++++++++++++>>>>X>>>>ping');
SELECT rowi����00 t1 WHERE content MATCH 'run �ump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unn, tokenize porter);
INSER lower(1) jdmping');
SELECT rowGd FnOM 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 'r}n """"""""""""""""""""""""""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 'r strftime(1,1,1,1)un """"""""""""""""""""""""""jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize�porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning');
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 '�un """"""""""""��""""""""""""jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnEEEEEEEEEEEED t1 WHERE cog ant jumping');
SELECT rowid n ju


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running ant jgggggggt1 WHERE content Mrecei0eHERE content Mrecei0edt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ryyness 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, '%Yyness 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, 'ruyness aruyness and jumping');
SELEnd jumping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts4(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'ru OR jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ORFULing 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, 'F^LLing a^`TNg aN`TNULLing');
Sowid 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRQBLEd jumREATE VIRTUAL TRBLE t1 USINping');
SELECT rowid Ft1 Wjump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'TRANSACTYON jACTION');
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, 'TRANSACTIOU CTIOU jumping');
 rowid 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'TRANSACTIOU jumpingCTIOU j');
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, ' strftime(1,1,1,1) strftime(1,1,1,1)g');
SELECT rowid FROM t1 WHERE content MATCH round(1,1);


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'rREFCROSSES jVALUES');
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, 'rREFCROSSES jumpinROSSES jumping');
SROMp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runANeeeeed 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, 'runAN%YYXEd 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, 'runAN%YYZEd ANALYZE');
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, 'runAN%YYZEd 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, 'ru total(1)nANAL total(1)ing');
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, 'runANAL decimal decimal(1,1)ping');
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, 'runANAL decimal(1,1)YZEd jumping');
SELECT rowid FROM t1 WHERE content MATCH 'runnANAL decimal(1,1) jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runninAUTOINCREMENT');
SELECT rowid FROM t1 WHERE content MATCH 'runAUTOINCREMENT jumpAUTOINCREMENT';


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running CURRENT_TIMESTAMPand jumping');
SELECT rowid FROM t1 WHERE content MATCH 'CURRENT_TIMESTAMPump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running CURRENT_TIMESTAMPand jumping');
SELECT rowid FROM t1 WHERE content MATCH 'CURRENT_TIMESTAMPrun CURRENT_TIMEjump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(cophent, tokenizeop�ent, tokenizeorteorter);
IN5ERT��O t1(rowid, content) VALUES(1, 'ruLE t1 USING ftsM(cning and jumping');
SELECT rowid FROM t1 WHERE content MATCH 'r� jump';


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 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, 'running and jllllllllllllllBY�lllllllllllumping');
SELECT rowid FROM


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jllllllllllllllllll2001-01-01lllllllllllllllll2001-01-01lllllllllllllumping');
SELECT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jlll�ll;
IN[ERT INTO t1(rollllllllllllllllllllllumping');
SELECT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jlll�ll;
INSERT INTO t1(rollllllll jlll�ll;
INlumping');
SELECTrowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jlll�ll;
INSERT INTO t1(rolllRENAMEllllllllumpi\g');
SELECT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jlll�ll;
INSERT INTO t1r);
INSERT INTO t1(rowid, contg');
SELECT rowid FROM


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runtiog ancestoring');
SELECT rowid FROM t1 WHERE content MATCH 'rncestor';


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 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<6;
CELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID char(1)UNIQUE 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<9 OR Te0tId<2;
CELECT St00n0 FROM Re00T000e ORDER BY 1;


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


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 ON 00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql='CREAT� TABLE!00<<<<<<<<<<<<<<<<<<<<<<ESTAMPt1';
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 ON 00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql='CRABLE!00(a NOT NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


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


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


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


sqltext:
CREATE TABLE t2(x,y,z);
CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER a2 BEFORE INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER _03 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 t00 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(2001-01-0100000000, '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(1000.0000000000000, '00');
INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;


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


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC,order=DESC);
INSERT INE x) VALUES(100000.00000000000, '00');
INS�RT INTO t0(docid, x) VALUES(0, '0b');
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(10000000.000000000, '00');
INSERT INTO t0(docid, x) VALUES(?, '0b');
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(100000000000.00000, '02001-01-010');
INSERT INTO t0(docid, x) VALUES(0, '0b');
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(1000.0000000000000, '0 a,b-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(100000000000000000, '0�2001-0B-01');
INSERT INTO t0(docid, x) VALUES(0, '0b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '0');
INSERT INTO t0(docid, x) VALUES(0, '2001-0$001-01-011-010b');
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(100000000000000000, '00');
INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*2001-00-01' ORDER BY docid DESC;


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-0*-01' ORDER BY docid DESC;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(1000000000, ' s sqlite_source_id()qlite_compileoption_get(1)');
Sdocid DE


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(1e201,1)?;


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(1e301,1)?;


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(1e031,1)?;


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(1e00141)?;


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(1e-01,1)?;


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


sqltext:
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 is 0 test');
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, 'This is 0 test');
INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1));
INSERT INTO t1(docid, c) VALUES (3, 'ThiP TABLE IF EXISLECT OPTIMIZE(t1) FROM tTS t;
CREATE VIRs is 0 test');
DELETE FROM t1 WHERE $ocid 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, '�his is 0 test');
INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test');
INSERT INTO t1(docid, c) VALUES (32001501-01, '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, 'Th00 w0s 0 test');
INSERT INTO t1(docid, c) VALUES (32001501-01, 'This is 0 test');
DELETE FROM t1 WHERE docid IN(1,3);
SELECT OPTIMIZE(t1) FROM t1 LIMIT 1;


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


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


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


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


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


sqltext:
CREATE TABLE t0 ( a,ba, b, PRI);
UPDATE t0 SET b='ab0';
UPDATE t0 SET b='ab0', b=', b='0
INSERT INTO t0(a, b) VALUES('ab0', '000');
UPDATE t0 SET b='ab0', b='000';


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


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


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


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


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=�\xC0');


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TABLE t3 USING fts3tokenize( a,b,e, a,b '0000');


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize(porter);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TABLE t3 USING fts3tokenize(porter, '', '0000');


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '',VIEW '00�RENAME0');


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 DISTINCT* 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 g=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,b,c,d,e,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 DISTINCT* FROM t4 WHERE b=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(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 DISTINCT* FROM t4 WHERE d=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(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 DISTINCT* FROM t4 WHERE F=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 x1.a<x2.a;
CREATE VIEW z AS
SELECT  total(1)p FROM y AS y1, y AS y2 WHERE y1.q|y2.q;
SELECT * from z x1, z A;


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.b<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 z x1, z A;


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;
CREATE VIEW z AS
SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q=y2.q;
SELECT * from z x1, z A;


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 x1.a<x2.a;
CREATE VIEW z AS
SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q<y2.q;
SELECT * from z x1, z A;


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;
CREATE VIEW z AS
SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q<y2.q;
SELECT DISTINCT* from z x1, z A;


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, '0', '0', '', -1, 3) FROM ft0 WHERE ft0 MATCH 'e';


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


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


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, '0', '0', '', -1,.1) FROM ft0 WHERE ft0 MATCH 'c';


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d e');
INSERT INTO ft0 VALUES('f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 5) FROM ft0 WHERE ft0 MATCH  '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 d');
SELECT snippet(ft0) FROM ft0


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


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


sqltext:
ATTACH''AS@noname;
ATTACH':memory:' AS ��name;
ATTACH':memory:' AS inmemmem;DETACH
��name;
DETACH':memory:'AS  TABLE inmem.i0000(y);


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 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('000 b"b a,b', 'bbb 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', 'bbb 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('000 bbb c00', 'bbb 02001-01-0100');
SELECT * FROM x where y MATCH 'b`b NEAR/6 0*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 'b ; ^EA >= 000';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c0RT INTO x VALUES(C000 bbb c0', 'bbb 000');
SELECT * FROM x where y 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 '^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 '^^b*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 'bbb*NEAR/6*0*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  -1R/ -b  -1R/ 100';


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 �R/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 'bbb OR - time(1,1,1)1R/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 'bbb OR - strftime(1,1,1,1)1R/6 000';


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


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


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 NEA x USING fts4(-------�----------;
SELECT * FROM x where y MAT---y,0R/6 000';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00', 'bbb 000');
SELECT DISTINCT* FROM x where y MATCH 'bbb NEA x USING fts4(------------------;
SELECT * FROM x where y MAT---y,0R/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 'bbb NEA x --------------------USING fts4(------------------;
SELECT * FROM x where y MAT---y,0R/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 'bbb NEA x USING fts4(--------------FROM x where y MAT---y,0R/----;
SELECT * FROM x where y MAT---y,0R/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 'bbbdNEA x USING fts4(-------D----------;
SELECT * fts4(-------D----
-----0R/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 'bbbbbb .EA x USING fts4(y,0R/6 00 .EA x USING fts4(y,0R/ "a"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 'bbbbbb .EA x USING fts4(y,0R/6 00 .EA x USING fts4(y,0R/6 "a" 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 'bbbbbb .EA x USING fts4(y,0R/6 00 .EA x USING fts4(y,0R/6 0 "a"00';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00', 'bA x USING fts4(y,0R/6 0bb 000');
SELECT * FROM x where y MATCH 'bbbbbb .EA x USING fts4(y,0R/6 00 .EA x USING fts4(y,0R/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 'bbbbbb .EA x USING fts4(y,0R/""""""""""""""""""6 00 .EA x USING fts4(y,0RUSING fts4(y,0R/6 000/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 'bbbbbb .EA x USING fts4(y,0R/6 00^^^^^^^^^^^^^^^s4(y,0R/6 000';


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               0';


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              NEA x USING             �00';


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(500) FROM t1;
INSERT INTO t1 SELECT randomblob(940) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;VACUUM  /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(100);


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(500) FROM t1;
INSERT INTO t1 SELECT randomblob(940) 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;VACUUM  /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(200);


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(500) FROM t1;
INSERT INTO t1 SELECT sqlite_source_id()OM�t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;VACUUM  /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(200);


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft USING fts3( >=, t0o);
INSERT INTO ft VALUES('', 'fo @1o');
INSERT INTO ft VALUES('fo @1o', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'fo :1o';


sqltext:
CREATE TABLE t102 (i0 TEXT 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 /* */JOIN t102 ON t2.i0 GLOB 'a0'
JOIN t102 A0));


sqltext:
CREATE TABLE t102 (A1020 TEXT 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'
JOIN t102 A0));


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


sqltext:
CREATE TABLE t102 (RIGHTi0 TEXT UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 EFT JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t).);


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


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


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


sqltext:
PRAGMA synchronous = NORMAL;
PRAGMA page_size = 1024;
PRAGMA journal_mode = WAL;
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
PRAGMA wal_checkpoint;EXPLAIN
INSERT INTO t1 VALUES(randomblob(800));
BEGIN;
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*   2 */
INSERT INTO t1 SELECT randomblob(800) Ft1; INSERT INTO t1 SELECT randomblob(800)  t1;   /* */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*  16 */
SAVEPOINT one;
INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(+00) FROM t1;   /* *PRIM�t1;   /* 1* 296 */
ROLLBACK TO
one;
INSERT INTO t1 SALECT t;


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


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


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


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


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


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


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


sqltext:
SELECT 199999990 EXCEPT SELECT 9=99999990 EXCEPT SELECT 9=99999999999=99999990 EXCEPT SELECT 9=999999999999.99999996


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts3(x,a 0', 'c d');
RT INTO ft0 VALUES('e',Gc d');
INSERT INTO ft0 VALUES('a a', ' >=');
CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0);
SELECT* FROM aux0;
SELECT* FROM aux0;


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=+t1.i0 OR t2.i0=t1.oid);


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 t1.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR t0.i0=t1.oid);


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


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


sqltext:
SELECT NULL="a","b"
ORDER BY m0r0 UTL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY m0r00r0;


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


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


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


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


sqltext:
SELECT NULL,"a","a","b" UNION SELECT"b" UNION SELECT "b"LL UNION
SELECT 1 UNIL,"a","a","b" UNINULL UNION
SELECT 1 UNION SELECT 2'x'
ORDER BY "a","b";


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


sqltext:
CREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r);
CREATE TABLE t002(x�,N,EGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT DISTINCT* FROM t000, t001, t002  t001, t002 WHE t0;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+57777E-77772001-0E-017,6,'000'|@substr(c,4) FROM t1 WHERE c GLOB '0000*';
CR INDEX t0b ON t1(a);
ANALYZE;
SELECT c FROM t1 WHERE b=3 AND a BETWEEN 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(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,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(a);
ANALYZE;
SELECT(c FROM t1 BETWEEN 30 AND 60;


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


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


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


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


sqltext:
CREATE TABLE t102 (i0 lEXT 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  t0.i0=t1.i0) AND t0.i0<t1.i0));


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


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


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


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


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 (SELECT a,b, a,b,2,4,8 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 3,oid, '000', 3,?, '000', b, oid, '000' FR


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 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 /* */ x FROM i LIMIT 10 ,7;


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


sqltext:
CREATE TEMP TABLE t��ώ��������(a,b,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[ώ��������(a,b,E�00';


sqltext:
CREATE TEMP TABLE t��ϫ����������������������������������������(a,b,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E�00';


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(0e02,  (1),"b")
FROM t1
GROUP BY 002;


sqltext:
CREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID;
CREATE INDEX t00d ON t0(d, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000');REPLACE INTO t0 VALUES('0000000','000r000','0000a','000r000');REPLACE INTO t0 VALUES('00000c','00000','0000000','000000');
SELECT *, '0' FROM t0 ORDER BY c, a;


sqltext:
CREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID;
CREATE INDEX t00d ON t0(b, b);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000');REPLACE INTO t0 VALUES('0000000','000r000','0000a','000r000');REPLACE INTO t0 VALUES('00000c','00000','0000000','000000');
SELECT *, '0' FROM t0 ORDER BY c, a;


sqltext:
CREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID;EXPLAIN
CREATE INDEX t00d ON t0(b, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000');REPLACE INTO t0 VALUES('0000000','000r000','0000a','000r000');REPLACE INTO t0 VALUES('00000c','00000','0000000','000000');
SELECT *, '0' FROM t0 ORDER BY c, a;


sqltext:
PRAGMA page_size=512;
CREATE TABLE t1(x �NTEGER PRIMARY KEY, y);
INSERT INTO t1 VALUES(1,randomblob(400));
INSERT INTO t1 VALUES(2,randomblob(400));
INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x%Y,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1;
INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<1.;
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( oid) FROM t1 ORDER BY x;


sqltext:
CREATE TABLE t1(a,b,c);
INSERT INTO t1(a,b,c)
VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1',''),('t1','t1b','');
ANALYZE sqlite_master;
SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notindexed=00, no total(1)p00, notindexed=poi);
INSERT,'0 �);
exe;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notindexed=00, no sqlite_compileoption_get(1));
INSERT,'0 �);
exe;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notin0, notindexed=p00, notindexed=dexed=00, notindexed=p00, notindexed=poi);
INSERT, �);
exe;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notindexed=00, oi, a0 a000, notindexed=p00, n);
INSERT,'0 �);
exe;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notindexed=00, notindexed=p00,00, notindexed=00,  notindexed=poi);
INSERT,'0 �);
exe;


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi, a0 a000, notindexed=p00, notindexed=poi, a0 a000, notindexed=p00, no0, notindexed=p0 , notindexed=poi);


sqltext:
CREATE TABLE t0(x TEXT UNIQUT, y TEXT UNIQHHHHHHHHHHHHHHHHHHHHHHH�HHHHHH'000','000','0');
SELECT DISTINCT* FROM t0 WHERE (8='000' OR y='000') AND y ISNULL N


sqltext:
CREATE TABLE t0(x TEXT UNIQUE, y TEXT UNIQHHHHHHHHHHHHHHHHHHHHHHH�HHHHHH'000','000','0');
SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000') AND y ISNULL N


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


sqltext:
CREATE TEMP TABLE t0001(aӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[����000';


sqltext:
CREATE TEMP TABLE t0001(aӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??E?????*[����000';


sqltext:
CREATE TEMP TABLE t0001(aӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0[????*[����000';


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-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( 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(2001-01-0150)FROM t1;�INSE;


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 NULL,randomblob(2001-01-0150)FROM t1;�INSE;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 5112001501-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(:001-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( 5112001501-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;
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( 5112001501-01,randomblob(2000));
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;
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 encoding=UTF16le;
CREATE TABLE t0t����VIEW��(CURRENT_TIMESTAMPPRIMARY Y);
INSERT INTO t0t VAL


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00:7000000000''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 idx;


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= 'a''b'OR (t0.i0 /* */AND t2.i0=t1.i0));


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 t2ON();


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 t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 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 t2 ON sqlite_compileoption_get(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 t2 ON(t2.i0= sqlite_version()>500 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 t2 ON(t2.i0=+t0.i0 AND(t0.i0<>500 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 NATURAL
JOIN t102 AEFT JOIN t102  t1 ON t1.i0 IN t102 
JOIN t102 AS t2 ON(t2.i0++++++++++++++++++++00 AND t0.i0=t1.i0));


sqltext:
PRAGMA page_sidL;
PRAGMA wal_autocheckpoint == WAL;
PRAGMA journal_size_limit = 10.;
PRAGMA journal_size_limit = 10.  ;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT 1=1 FROM i ORDER BY 1)
SELECT strftime(oid,1,1)-x FROM i LIMIT  04


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='4,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 s00 0 sqlite_compileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1,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 s00 0 sqlite_compileoption_get(1)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 h sqlite_compileoption_used(1)u0 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 S0000. 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:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,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 s00 0 sqlite_compileoption_get(1)Si00-l00y-su0-Som00 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 . 0r00 the0 he r0000 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('SaiM0-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 S,000. 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:
CREATE TABLE t0(a, b);
SELECT DISTINCT "a", "a","b","ba","b",a F,"b""a","ba","b""a","b","bab",a F,"b""a","b","b",a F,a FROM (SELECT count(*)a FROM t0) WHERE a==0;


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


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


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=7 AND d=? AND e= strftime(1<1,CURRENT_TIME);


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=7 AND d=? AND e= strftime(1, substr(1,1,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 UPDATE ON TempT000e BEGIN
INSERT INTO TEMPT000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>1 OR  Te0tID=1 OR Te0tId<2;
Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t000000000�AFTER UPDATE 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=6;
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('oneatwoBBt̍tatwoBBt̍t̍00');
INSERT INTO̍00');
INSERT INTOECT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=tB");
INSERT INTO t0 VALUES('oneatwo�tύ00');
INSERT INTO t0 VALUES('one0��Ͼ0eatwo�tύ00');
RTBLE t0


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwotϽ����=�����������������������BtϽ����=������������������������00');
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('oneatwoBtϽ�����������������������������00');
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('oneatwoBtϽ����������������������������������������������������������00');
000A0');
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('oneatwoBtϽ���������������������������������������������������������00');
INSERT INTO t0ALUES('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=aRRT INTO t0 V����NTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG����������������00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0au00bSING fts4aux"t0);


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=ATTACHNTO t0 V����NTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG����������������00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0au00bSING fts4aux"t0);


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=CURRENT_DATE V����NTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG����������������00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0au00bSING fts4aux"t0);


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=a unlikely(1)V����NTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG����������������00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0au00bSING fts4aux"t0);


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBRT INTO random()NTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG����������������00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0au00bSING fts4aux"t0);


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBRT INTO t0 V����NTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG���S t0;
CREATE VIRTUAL TABLE t�������������00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0au00bSING fGGGGGGGGGGGGGGGGG���S t0;
CREAts4aux"t0);


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB����� total(1)���������¹����ع���������������");
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:
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������¹������fts4(tokenize�����ع���������������");
INSERT INTO t0 VALUES('ERT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB�I�����I����𹹹���ع���������������");�IN 


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


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 tFT JOIN t102  ON( unlikely(1!=t1.i0));


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


sqltext:
CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid;
CREATE INDEX t0000 ON t000(b);
INSERT INTO t000 VALUES('s','s0'),(-hex(2001=01-011),'000'),(-hex(1),'m00');


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '000000000000000e+: days' 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:
SELECT *
FROM (t0), ( ( t05, (t0, (SELECT bt0)E), (a,bt0), �tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a,bt0), �tE), (t0)a,bt0), �bt0), �tE), (t0	a,bt0)E), (t0)
WH),


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


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


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


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


sqltext:
SELECT *
FROM (t0), ( ( t05, (t0, ( a,bt0), �tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a,bt0), �tEt05, (t0, (t0, ( a,bt0), ( 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,bt0), �tE), ( a,bt0), �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, t05, (t0, ( a,bt0), �tEt05, ( (t0, ( t05, (t0, ( a,bt0), �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,bt0), �tEt t05, (t0, ( a,bt0), �tE),t005, (t0, ( a,bt0), �tE),t0)), (t0)a,bt0), �bt0), �tE), (t0), tE)0,


sqltext:
SELECT *
FROM (t0), ( ( t05, (t0, ( a,bt0), �tE),t0), (t0, (�05, (t0, ( t05, (t0 t05, (t0, ( a,bt0), �tEt05, ( a,bt0), �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,bt0), �bt0), �t05, (t0, ( a,bt0), �tE), (t,t0), (t0,bt0), �bt0), �t05, (t0)a, �tE), (t0)f,bt0)E), (t0)
WH),


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


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


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


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


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


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


sqltext:
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 $ocid IN t1 RENAM TAB


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 t1RENAM TAB


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 < 'a''b';
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 t0( a,ba,b,c,d,e, P a,bR UNIQUE,be, PRIMARY KEY(a,b,c,d,a,b,c)) WITHOUT ROWID;REINDEX INDEX


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


sqltext:
#REATE printf(1,1) b);
PRAGMA auacuuY=O00;
PRAGMA synchronous=NO00;
PRAGMA synchronous=N000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA journal_mode=TRU00;
PRAGMA synchronous=NO00;
PRA


sqltext:
#REATE prindf(1,1) b);
PRAGMA auacuuY=O00;
PRAGMA synchronou =NO00;
PRAGMA synchronous=N000USIVE;
PRAGMA journal_mode=TR;
PRAGMA lockingEmode=EXCLUSIVE;
PRAGMA journal_mode=TRUNC;
PRAGMA journal_mode=TRUN;);


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


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES (' time(1,1,1) strftime(1,1,1,1)000');
SELECT * FROM t0st WHERE k00000d MATCH '" g^ob(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 '" g^ob(1,1)"';


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES ('000');
SELECT * FROM t0st WHERE k00000d MATCH '" t(1,1,1,1)ime(1,1,1 strfti1,L,1 strftime(1,1,1,1)imeme(1,1,1,1ti1,1,1 strftime(1,1,1,1)im)ime(1,1,1)"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d);
INSERT INTO t0st VALUES ('00e(1,1,1 wtrftime(1,1,10');
SELECT * FROM t0st WHERE k00000d MATCH '" t(1,1,1,1)ime(1,1,1 wtrftime(1,1,1,1)ime(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+/* */x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y  AS y1, y AS y y1;


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


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


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INT0 sqlite_compileoption_used(1));
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(20001E01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END
FROM t1;
SELECT quote(x) FROM t2 ORDER BY 1=1


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(:eroblob(900));
INSERT INTO t0 VALUES(zeroblob(90201-01-2100));
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;
BEGIN;
DELETE FROM t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(:eroblob(900));
INSERT INTO t0 VALUES(zeroblob(10201-01-2100));
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;
BEGIN;
DELETE FROM t0 WHERE rowid%3;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(14201E01-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 round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid-6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(500));
INSERT INTO t0 VALUES(zeroblob(14201E01-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 round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(14201E01-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 round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid&6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


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


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


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


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


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


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


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 ' /* */(-------------------------wo';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, VALUES('one four''one two');
SEmECT a, b, c FROM , '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(-----------------------.-wo';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE  t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G"fes3(a% b, c):
INSERT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE  t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fes"(a% b, c):
INSERT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE  t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fes3(a% b, c):
INSERT INTO t��';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE  t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fes3(a% b, c): strftime(1,1,1,1)';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE  t0ree four&, ' sqlite_compileoption_get(1)000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fes3(a% b, c):
INSERT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE  t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fes3(a% b, c)+
INSERTSELECT a, b, c FROM t0 WHERE c M INTO t0two';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, b, c);
INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G  -13(a, b, -1;
-NSERT INTO t0two';


sqltext:
CREATE VIRTUAL TABLE rt USING rtree(i0, x0,CONSTRAINT x2);
INSERT INTO rt VALUES(2001-01-011<$2 ,3);
S


sqltext:
CREATE VIRTUAL TABLE rt USING rtree(i0,CONSTRAINT x0,CONSTRAINT x2);
INSERT INTO rt VALUES( /* */3);
S


sqltext:
CREATE TABLE t91(x int); 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 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=~~~~~~~~~~~~~~~~~~~~1 LEFT JOIN t92 OCT 5 SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?1OR b=3


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 NULL;
SELECT 4 FROM t91 LEFT JOIN t92 ON(a=A AND ~~~~~~~~~~~~~~~~~~~~~~~b=3) AND y IS NULL;
CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 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 ?1OR b=3


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" LIMIT 1)�IS "";


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t5(a, b);
CREATE TABLE t0(c, d);
INSERT INTO t5 VALUES(1, '000');
INSERT INTO t0 VALUES('abc', '00000');
SELECT * FROM (SELECT DISTINCT* FROM t5 WHERE a=9 AND-b='000'), t0 WHERE strftime(1,1,11,1,1,1 AND 1=1-b='000')<1 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�un.R-AE V	Rumping');
='run jum


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 ' min(1,1)rus0t0o00p""""""""""""""""""4jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnZZZing arunnZZZing ant jumpinZnt jumpinZZZZing ant 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, 'runnZZZing ant jumpinZZZZZZing ant jumpinZing ant 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, 'runnZZZZZing ant jumpinZZZZing ant juming ant jumpinZZZZing ant 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, 'ruent MATing Gnnning ent jggggggggggowid, content) VALUEERE content MATing Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnng and jumpiES(1, nganing and jumpiES(1, ngand jumpiES(1, ng');
SUump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRQBLEd jumREATERRQBLEd jumREATE VIRTUAL TRBE VIRTUAL TRBLE t1 USINping');
SELECT rowid Ft1 Wjump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, ' random()TRANSACTION jACTION');
SELECT rowid FROM t1 WHERE content MATCH 'ruACTION';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'TRA total(1)NSACTION jACTION');
SELECT rowid FROM t1 WHERE content MATCH 'ruACTION';


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 't1 USING frunANALYYEd jumpinAunANALYYEd juNALYYEd jumping');
ump';


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING ftsM(cning andLE t1sM(cning andLE t1 US  US jumping');
SELECT rowid FROM t1 W�ERE co|tent MATCH 'rump';


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jllllllllllllllBY�lllllllllllumping jllllllllllllllBY�llllllllll');
SELECT rowid FROM


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


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


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


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


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, '2001-01-010b');
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(100000000000.00000, '02001-01-0T0%)�
INSERT INTO t0(docid, x) VALUES(0, 0b');
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(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '0*2001-01-01' ORDER BY docid DESC;


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(100000000000000000, '01');
INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b');
SELECT rowid FROM t0 WHERE x MATCH '2001-01-010*2001-01-01' 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(1e084,1)?;


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),LIKE( "a","����a","�" /* */)
FROM t1
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),LIKE( "a","����a", @1 /* */)
FROM t1
ORDER BY 002;


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, 'This is 0 test');
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 1;


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


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 SELECT('00 bb');
INSERT INTO t0 SELECT('bb cc');
INSERT INTO t0 
SELECT docid FROM t0 WHERE 40 MATCH '00';;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 SELECT('00 bb');
INSERT INTO t0 SELECT('bb cc');
INSERT INTO t0 
SELECT docid FROM t0 WHERE t0 MATCH  'a''b''00';
END;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 SELECT('00 bb');
INSERT INTO t0 SELECT('bb cc');
INSERT INTO t0 
SELECT docid FROM t0 WHERE t0 MATCH '00';SAVEPOINT
END;


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


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


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


sqltext:
CREATE TABLE FOO(bar int0000);
CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN
SELECT CASE WHEN NOT (SELECT~~~~~~~~~~~ new.�ar BETWEEN 0 AND $1=120)
THEN raise(rollback, '000000') END;
END;
INSERT INTO foo(bar) VALUES (0);


sqltext:
CREATE TABLE FOO(bar int0000);
CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN
SELECT CASE WHEN NOT (SELECT~~~~~~~~~~~ new.�ar BETWEEN 0 AND  1=120)
THEN ra++++++++++++++++++++++++++++++ise(rollback, '000000') END;
END;
INSERT INTO foo(bar) VALUES (0);


sqltext:
ATTACH''AS nooname;
ATTACH':memory:' AS ��naname;
ATTACH':memory:' AS ��name;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':memory:' AS inminmemmem;VACUUM;ANALYZE


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(i,g,c,e,e,g,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','600000 160000 40000 10000 2000 102 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 VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .');
CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=����RENAME'1 'tokenchars=����RENAME');
CREG ft;


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 'tokenchars=x\xC0');


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c);
INSERT INTO t4 VALUES( glob(1,1),X'0000', 'te');
INSERT INTO t4(t4) VALUES('integrity-check');


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple,le, '',V '00�RENAME0');


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 /* */ (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 x1, z A;


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, group_concat(1,1)+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 z x1, z A;


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;
CREATE VIEW z AS
SELECT sqlite_compileoption_get(1)AS y2 WHERE changes();
SELECT * from z x1, z A;


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;
CREATE VIEW z AS
SELECT  total(1)p FROM y AS y1, y AS y2 WHERE changes();
SELECT * from z x1, z A;


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;
CREATE VIEW z AS
SELECT y1.p, y2.p FROM y AS y1, y AS y2 LIMIT changes();
SELECT * from z x1, z A;


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d e a,b');
INSERT INTO ft0 VALUES('f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 5) 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('f 0 b c min(1,1) a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 5) 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('f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 5) FROM ft0 WHERE ft0 MATCH   'a''a''b''c';


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


sqltext:
ATTACH''AS@noname;
ATTACH':memory:' AS ��name;
ATTACH':memory:' AS inmemmem;DETACH:��name;
DETACH':memory:'AS  TABLE inmem.i0000(y);


sqltext:
ATTACH''AS@noname;
ATTACH':memory:' AS ��name;
ATTACH':memory:' AS inmemmem;DETACH
��name;
DETACH trim(1,1)AS  TABLE inmem.i0000(y);


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('C00 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('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('000 bbb c00', 'bbb 000');
SELECT * FROM x where y MATCH 'b ; ^EA >=-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 'bbb OR - strftime(1,1,1bb OR -,1)1R/6 000';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��000,bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH 'bbb NEAR/6 000 VTA^^^^^BLE x USING fts4(IRTUAL TA^^^^^BLE x UING fts4(y,';


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


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


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


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 -1 -1 -1 -1';


sqltext:
CREATE VIRTUAL TABLE ft USING fts4(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 -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 'foo 1=1 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 'foo time(1,1,1) 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 'foo 1=1 time(1,1,1) 1=1';


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


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


sqltext:
CREATE TABLE t102 (i222222222222222222�222222222220 TEXT UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 NATURAL JOIN(t102 ONt0
LEFT 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 TABLE t102 (i0 TEXT 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 (i0 BEXT UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT DISTINCT* 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 t3(a INTEGER PRIMARY KEY, b, c, d, e f);
CREATE INDEX t00000 ON t3(b, c, d, e);
EXPLAIN QUERY PLAN
SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b, c,$b, b, c, d, e,$f,E;


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r);
CREATE TABLE t002(x�,N,E,ER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT DISTINCT* FROM t000, t001, t002  t001, t002 WHE t0;


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(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,'o00' || 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);
ANALYZE;
SELECT(c FROM t1 BETWEEN 30 AND 60;


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


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


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


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


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY���, r);
CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg( a.bA)FROM t000, t001, t000, t001, t002  t000, t000, t001, t002 IR, t001, t002 WR


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


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


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(0e02,  (1),"b")
FROM t1
ORDER BY 002;


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


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


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(poi, u0 a,00, notindexed=p00, notindexed=00, notindexed=0, notindexed=p00, notindexed=a,0, not0, notindexedXpoi);
IN;


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


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts3(poi, a0 a000, notindexed�p00, notindexed=00, notindexed==p00, notindexed=00, notindexedp00, notindexed=00, notindexed=p00, notindexed=Roi);


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


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


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts4(c);EXPLAIN
INSERT INTO t1 (docid, c) VALUES (1, '00');EXPLAIN
INSERT INTO t1(docid,c) VALUES (2, 'T00');
INSERT INTO t1(docid, c) VALUES (3, julianday(1,1,1));
DELETE FROM t1


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


sqltext:
CREATE TEMP TABLE t0001(aӝ,c����������������������);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[�ͫ�000';


sqltext:
CREATE TEMP TABLE t00p1(aӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[����000';


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(:500));
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;�INSE;


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 NULL,randomblob(2401-01-0150)FROM t1;�INSE;


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(2000));
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;�INSE;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 5112001501501,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(:001-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 encoding=UTF16le;
CREATE TABLE t0t�����VIEW�(CURRENT_TIMESTAMPPRIMARY Y);
INSERT INTO t0t VAL


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00:7000000000''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 t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 
JOIN t102 ON t2.i0 IN t102 NATURAL
JOIN t102 AS 
LEFT JOIN t102  t1 ON t1.i0 IN t102 
JOIN t102 AS t2ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0));


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT  total(1) FROM t102 AS t0 
JOIN t102 ON t2.i0 IN t102 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:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 
JOIN t102 ON t2.i0 IN t102 NATURAL
JOIN t102 AS 
LEFT JOIN t102 AS t2 Oj(t2.i0=+t0.i0 OR (t0.i0<>500 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 
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:
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=t1.i0));


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 NATURAL
JOIN t102 ��������������������������������(;


sqltext:
CREATE TABLE t10(x �NTEGER PRIMARY KEY, y INU� z CHAR(900)UNIQUE);
CREATE INDEX t000 ON t10(y);
EXPLAIN QUERY PLAN
SELECT total(1)
FROM t10 AS a JOIN t10 AS b ON a.y<b.x
WHERE (b.x<$ab0 OR b.y<$ab0);VACUUM


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='4,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('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1,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('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet sqlite_compileoption_used(1)0 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('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 fts4(prefix='1,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 s00 0 sqlite_compileoption_get(1)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 se���i 0a0 00 E000000 00 0e00000 sqlite_compileoption_get(1)0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1,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 s00 0 sqlite_compileoption_get(1)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 0e00000 sqlite_compileoption_get(1)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 sqlite_compileoption_used(1)0 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 S0000. 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:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,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 s00 0 sqlite_compileoption_get(1)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 0e00000 sqlite_compileoption_get(1)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('fl load_extension(1,1) 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 S0000. 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:
CREATE TABLE t0(e00T);
SELECT DISTINCT "a", "a","b","baa", "a","b","ba","b","a", "","b","a", "a","b","ba","b","a","b","ba"b


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


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


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


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


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


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


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=7 AND d=? AND e= strftime(1<1,CURRENT_DATE);


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


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=7 AND d=? AND e= strftime(1 ISNULL>=CURRENT_TIME);


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


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


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID 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 MATCH+ 0 WHERE Te0tID>1 OR  Te0tID=1 OR Te0tId=2;
Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID 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>2 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=2;ANALYZE=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 varchar(1)L TABLE t0aux USING fts4aux(t���������������������00');
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('oneatwoBtϽ�����������������������������������������������t0;
CREATE VIRTUAL TABLE t000');
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('one0000A0');
&R


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
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Ͻ����߽����
�����������޽���� sqlite_compileoption_used(1)one0000A0');
CREATE VI 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "tokenchars=aBRTTRANSACTION���NTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG����������������00');
INSERT INTO t0 VALUES('one0000A0');
CREATE VIRTUAL TABLE t0au00bSING fts4aux"t0);


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB��� t0���˹������������ع��������������(tokenE�S0000AL TABLE t0 USING fts4(ators=aB��� t0�ֹ˹����������ize=un�");
RT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('dneatwoBtꪪ�����������ꪪ��������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ꪪ����������������������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ꪪ����������������������0��������������������Ī������VIEW�');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+
U


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


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


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


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


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


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 '" g^ob�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)"';


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 g^ob(1,1)"';


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, sqlite_compileoption_used(1) x2 WHERE glob(1,1);
SELECT  total(1)p FROM x AS y1, y  AS y1, y AS y2 Wz;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */(1)p, sqlite_compileoption_used(1) x2 WHERE glob(1,1);
SELECT  total(1)p FROM y AS y1, y  AS y1, y AS y2 Wz;


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


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


sqltext:
CREATE TABLE 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 x1, x 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 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 y AS y1, y  A, y  AS1, y  AS y1, y S1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


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


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


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


sqltext:
CREATE TABLE x( a,ba,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 y AS y1, y  A, y  AS1, y  AS y1, y S1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


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


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(14201E01-0100));
INSERT INTO t0 SELECT 8 FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT 8 FROM t0;
INSERT INTO t0 SELECT round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(24201E01-0100));
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 round(1,1)
BEGIN;
DELETE FROM t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


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


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


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----G fts3(---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�---��----u-------4-------wo';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE  t0ree four&, '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH 'G fes3 a% b, c):
INSE::::::::::::::::::::::RT INTO t0two';


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


sqltext:
CREATE TABLE t91( 'a''b'x); INSERT INTO t91 VALUES(1);
CREATE TABLE t92(y �NTEGER 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 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=~~~~~~~~~~~~~~~~~~~~1 LEFT JOIN t92 OCT 5 SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?1OR b=3


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 NULL;
SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND ~~~~~~~~~~20 OR~~~~~~~~~~~~~~~~~~~~~~~~~~~~b=3) AND y IS NULL;
CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 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~~~~~~~~~~~~~~~22001-01-01=3


sqltext:
CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL);
INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1);
INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2);
INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2);
SELECT DISTINCT "n0"WHERE+(SELECT "000000", "n00b00" FROM "0000" ORDER BY   "a"<"b""a","b", "a","b""a","b",   "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 (SELECT "000000", "n00b00" FROM "0000" ORDER BY   "a","b"ASC,"b", "a","b""a","b",   "a","b" LIMIT 1)�IS 


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   a,b,"b""a","b", "a","b""a","b",   "a","b" LIMIT 1)�IS 


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '�unning aed jum>>>>>>>>>>>>Aeing');
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, '�unAUTOINCREMENTorter);
INEVIRTUAL TA;LE t1 USINGtYYYYYYYping');
SELECT rowGd FnOM ju


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ryyeCREATEd 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, 'ruyYing and jumying);
SELEC and jumying');
SELECT rt MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruyeing aed jumying);
SELEC and jumying');
SELECT rt MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruyeing and juuying);
SELEC auying);
SELEC and jumying');
SELECT rt MATCH 'runp';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and jumpiCSing and jumpiCS(1, niCS(1, (1, niCS(1, ng');
SEL


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running ang and jumpiCS(1, niCS(1, d jumpiCS(1, niCS(1, ng');
SEL


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING ftsM(cning andLE tE t1 USING ftsM(cning andLE t1 US ELSEing ftsM(cning andLE');
SELECT rowid FROM t1 WHERE co|ten MATCH 'rump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ���ll;
INSERT INTO t1(rollllllllllllllll,�ll;
INSERT INTO t1(rolllllllllllllumping');
SELECT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ���ll;
INSERT INTO t1(rolllllllllllllllll� @1ll;
INSERT INTO t1(rolllllllllllllumping');
SELECT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnincontd ���ll;
INSERT INTO t1(rolllllllllllllllll�RT INTO t1(roTO t1(rolllllllllllllumping');
SELECT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ���ll;
INSERT INTO t1(rolllllllllllllllll�ll;
INSERT INTO t1(rollllll���ll;
INSERT INTO?t1(rolllllllumping');
SELECT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ���ll;
INSERT INTO t1(rolllllllllllllllll�ll;
INSERT INTO t1(rg and ���ll;
INSERT Iolllllllllllllumping');
SELECT rowid FROM


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokmmmmmmmmmmmmmmmmmmmmmmenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running and ���ll;
INSERT INTO t1(rollllllllllllllll[�ll;
INSERT INTO t1(rolllllllllllllumping');
SELECT rowid FROM


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
ATTACH''AS nooname;
ATTACH':memory:' AS ��naname;
ATTACH':memory:' AS ��name;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
SELECT'ory:' ASmmem;VACUUM;ANALYZE


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c a,b');
INSERT INTO ft0 VALUES('f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 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('f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH   'a''a''b''c';


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


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/6 C00';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES(' min(1,1)00', 'bbb 000');
SELECT * FROM x where y MATCH 'bbb OR - sR - strftime(1,1,1,1)1R/6 trftime(1,1,1,1)1R/6 000';


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00,1,1,1)1R/6 trftime(1,1,1,1', 'bbb 000');
SELECT * FROM x where y MATCH 'bbb OR - sR - strftime(1,1,1,1)1R/6 trftime(1,1,1,1)1R/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 'bbb OR - strft��b OR - strft�� OR - strftR/6.000 OR - strftR/6.000';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��00S��000,0,bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH 'bbb NEAR/6 0DDDDIRTUAL TAB:E x USIN:::::::::::G fts4(y,';


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


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 -2001-01-011 -2001-01-011 -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(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', ' @1');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo @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 'foo @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 'foo -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', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo OR =1';


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


sqltext:
CREATE VIRTUAL TABLE ft USING fts3( >=, t0o);
INSERT INTO ft VALUES('', 'fo @1o');
INSERT INTO ft VALUES('f/ @1o', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'f :1o :1o';


sqltext:
CREATE TABLE t102 (i0 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 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, a, b,$b, c, d, e,$f,E;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(1020012001-01-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 WHECURRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(a);
ANALYZE;
SELECT(c FROM EN 30 AND 60;


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


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


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


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


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg(A)FROM t002, t001, t000, t002, t001, t002R


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT  upper(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 LIMIT hex(1)


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed-00, notindexed=p00, notindexed=a,00, notindexed=pd=p00, notindexed=a,00, notindoi);


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


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


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


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


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


sqltext:
CREATE TEMP TABLE t0001(a�ͫ�00ӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '* *0?????*[�ͫ�000';


sqltext:
CREATE TEMP TABLE t0001(a�ͫ�00ӝ������������������������������,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[�ͫ�000';


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001501-01-01-01,randomblob(:500));
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;�INSE;


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001501-01-01-01,randomblob(2500));
INSERT INTO t1 VALUES(?,randomblob(50));�RT I


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


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 51120012001501-01-01-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;VACUUM


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 
JOIN t102 ON t2.i0 IN t102 NATURAL
JOIN t102 AS 
LEFT JOIN t102  t1 ON t0.i0 IN  (1) 
JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 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  (1) NATURAL
JOIN t102 AS 
LEFT JOIN t102  t1 ON t1.i0 IN  (1) 
JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0));


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


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('0000''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('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 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('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000');
INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 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('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 0a0ill0 0 0a0e0 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 S0000. 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:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('W0000''s fleet�ai000 A s0o00 0l00 up and t0 sqli 000000 0e r000000 t00 h000te_compileoption_used(1)leet wa0 r000 to 0a00 s00 0 sqlite_compileoption_get(1)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 0e00000 sqlite_compileoption_get(1)0a00(0u00000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO 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('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 fts4(prefix='1,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('W0000''s fleet�ai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0 sqlite_compileoptikn_get(1)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 0e00000 sqlite_compileopti���������0a00(0u0@000 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('flCROSSas 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 S0000. 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:
CREATE TABLE t0(a""a","b","ba, b);
SELECT DISTINCT  sqlite_compileoption_used(1)"a","ba","t002","b","ba","b",a ,"b""a","b","ba","b",a F,a FROM t0) W0;


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


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


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


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


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


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBt����������ཽ������������������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('dneatwoBtϽ����߽����
�����������޽����NOTN������޽����NOTNULL00');
ALUEI 


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB��������������Ԓ����eparators=aB����");
RT 


sqltext:
DROP TABLE IF EXISTS c0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB�������������quotrators=aB�������������quotrators=a�");
RT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB�������������������epratorsdaB����");
RT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB������������������������epar�eparators=aB����");
RT 


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB��������������eparators=aB�����������tors=aB����");
RT 


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


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


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


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


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('dneatwoBtꪪ�������������������*��0��������������������Ī������VIEW�');
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ꪪ�������������������*��0��������������������Ī������ total(1)�');
CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+
U


sqltext:
CREATE TABLE F6IL AS SELECT 4 ASFORFOR, 5 CTE, 5 , 5 CURRENTFOR, 5 CUODATE, 5 , 5 CURRENTFOR, 5 CUODATE, 5 CURFAIL���TE
SEX


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" t s strftime(1,(1,1,1,1 "a","b"(1,1,1,1)ime(1,5,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 strftime(1,1,1,1 B,1,1)ime(1,1,1"a","b"(1,1 VIRTUAL TAB,1,1)ime(1,1,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 /* */ (0);
SELECT  total(1)p FROM y AS y1, y  AS1, y  AS y1, y AS y y1;


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE strftime(1,1,1,1)-x1.a-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 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 y AS y1, y  A, y  AS1, y  AS y1, y S1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


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


sqltext:
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 y AS y1, y  A, y  AS1, y y1, y S1, y  AS y1, y AS y1, y , y  A, y  AS1, y  AS y1, y AS y y1;


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


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(A)p FROM y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y y1;


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) "a","b"p FROM y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y y1;


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


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(---��------OR---)--4-------w-��------OR---)--4-------wo';o';


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 f || ---��----u-------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�---��----u-------4-------wts3�---��----u-------4-------woo';


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" ORDER BY   "a","b""a","b", "a","b""a","b"%   "a","b" ,"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+(SELECT "000000", "n00b00" FROM "0000" ORDER BY   "a","b"ASC,"b", "a","b""a","b",   "a","b" LIMIT 1)�IS 


sqltext:
BEGIN TRANSACTION;
CREATE TABLE a(i0 INT0000);
INSERT INTO a VALUES(1);
INSERT INTO a VALUES(2);
INSERT INTO a VALUES(3);
CREATE TABLE b(i0 INT0000);
INSERT INTO b VALUES(NULL);
INSERT INTO b VALUES(3);
INSERT INTO b VALUES(4);VALUES(5)INTERSECT
SELECT* FROM a WHERE i0NO);


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a,b a, a,b,'00' a,b FROM t1
UNION
SELECT *,a, a,b,'000' FROM t1
OR@ER B'002' FR


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblob(1)TRANSACTION1)
SELECT avg(1) x FROM i ,I,I? 10;


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblo(1) x FROM i ,I1)
SELECT avg(1) x FROM i ,I,I? 10;


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRABLEd HAVINGS(1,TABLEd jumpiES(1, ng');
SEump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'DEF..........!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.......ERRABLEd jumpiES(1,TABLEd jumpiES(1, ng');
SEump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRABLEd jumpiES(1,TABLEd jud jumpiES(1,TABLEd jumpiES(1, nmpiES(1, ng');
SEump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRABLEd jumpiES(1,TABLEd jABLEd jumpiES(1,TABLEd jumpiES(umpiES(1, ng');
SEump';


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


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


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


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


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


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''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 ��� sqlite_compileoption_used(1)f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH  '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  ' 1=1''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0  random()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''b''c';


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 C00';�


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 - 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�� 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 - strft�� OR - strft�� OR fts4(y,0);
INSERT INTO x V 0';


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e));
SELECT * FROM t0 WHERE a= /* */b=C AND c=A 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)ion(1,1)', ' >=');
INSERT INTO ft VALUES('foo', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH '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 ' 1=1 -1foo 1=1 1=1';


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


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


sqltext:
CREATE VIRTUAL TABLE ft USING fts3( >=, t0o);
INSERT INTO ft VALUES('', 'fo @1o');
INSERT INTO ft VALUES('fo @1o', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' :1o :1o :1o';


sqltext:
CREATE VIRTUAL TABLE ft USING fts3( >=, t0o);
INSERT INTO ft VALUES('', 'fo @1o');
INSERT INTO ft VALUES('fo @1o', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' :1 :1f :1o :1o';


sqltext:
CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 �S 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));


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"NATURAL
JOIN t102 ASANDE JOIN t102  tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102  t
JOIN t102 A0));


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)T INTO T10


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+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 WHECURRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(a);
ANALYZE;
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(1020012001-01-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+.77775777772001-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:
CREATE TABLE t102 (i0 TEXT�UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON( @1i0= t0.i0  /* */ AND t0.i0=t1.oid AND t0.i0=t0.i0));


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


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg(A) "a","b"FROM t002, t001, t000, t002, t001, t002R


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg(A%A)FROM t002, t001, t000, t002, t001, t002 IR, t001, t002 WR


sqltext:
CREATE TABLE t0(a,b,c i,d,e, PRIMARY KEY(a,b,e,c,c,e,c,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/ randomblob(1)-x FROM i LIMIT 90 -7;


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


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


sqltext:
CREATE TEMP TABLE t0001(a�ͫ�00ӝ sqlite_compileoption_get(1),c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[����000';


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES(851120012001501-01-01-01,randomblob(2000));
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;�INSE;


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,a));
SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e= strftime(1<1, printf(1,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>0 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('oneatw��������������������0���������0oBt����������ཽ������������������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('one0000A0');
&R


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


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


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


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


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


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


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


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


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


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","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, x  AS1, y y1, y S1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


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


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


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


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


sqltext:
CREATE TABLE x(y1, y   a,bA, 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 y AS y1, y  A, y  AS1, y y1, y S1, y  AS y1, y AS y1, y  AS y1, y AS y y1;


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


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),"a","b"p FROM y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y y1;


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  DISTINCT "a","b"p FROM y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y y1;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(142001-01-01201E01-0100));
INSERT INTO t0 SELECT 8 FROM t0;
INSERT INTO t0 SELECT sqlite_source_id() x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT round(1,1)
BEGIN;
DELETE FROM t0WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE a(i0 INT0000);
INSERT INTO a VALUES(1);
INSERT INTO a VALUES(2);
INSERT INTO a VALUES(3);
CREATE TABLE b(i0 INT0000);
INSERT INTO a VALUES(NULL);
INSERT INTO b VALUES(3);
INSERT INTO b VALUES(4);VALUES(5)INTERSECT
SELECT* FROM a WHERE i0NO);


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


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


sqltext:
WITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblob(1)TRANSAC1)
SELECT avg(1) x FROM i ,I,I,I,I? 10;


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


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


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('00 bb');
INSERT INTO t0 VALUES('bb cc'ISNULL);
INSERT INTO t0 VALUES(' ;000');
SELECT docid FROM t0 WHERE t0 MATCH  '^0*0*';
END;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('00 bb');
INSERT INTO t0 SELECT('bb cc'ISNULL);
INSERT INTO t0 VALUES(' ; 00');
SELECT docid FROM t0 WHERE t0 MATCH  '^0*0*';
END;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('02001-01-010 bb');
INSERT INTO t0 VALUES('bb cc'ISNULL);
INSERT INTO t0 VALUES(' ; 00');
SELECT docid FROM t0 WHERE t0 MATCH  '^0*0*';
END;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES( 'a''b'' 0 c d c sqsource_id()) FROM ft0 WHElite_com)) FROM ft0 WHElite_compileoption_get(1)f 0 c c d');
SELECT snippet(ft0,  sqlite_source_id()) FROM ft0 WHERE ft0 MATCH  'a''c';


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


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 -200101-01-011 -2001-01-0-01-011 -2001-01-011 -1';


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


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', ' time(1,1,1)foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH ' 1=1 -1foo 1=1 1=1 time(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 ' 1=1foo 1=1 1=1 time(1,1,1foo 1=1 1=1 time(1,1,1)';


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


sqltext:
CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AFT JOIN t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 ASAND
JOIN t102 ASANDE JOIN t102  E JOIN t102  tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT 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:
CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 NATURAL JOIN(t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB  "a"
JOIN t102 ASANDE JOIN t102  tANDE JOIN t102 FT JOIN t102 t102 NATURAL JOIN(t102 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(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,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(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 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,'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 '*000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(OM EN 30 AND 60;


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


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg(A) "a","b"FROM t002, t002, t001, t000, t001, t002 IR, t001, t002 WR


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES(851120012001501-01-01-01,randomblob(2000));
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;�INSE;


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  (1) NATURAL
JOIN t102 AS 
LEFT JOIN t102  t1 ON t1.i0 NATURAL 
JOIN t102 AS t2;


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


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


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE );
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t2 
JOIN t102 ON t2.i0 IN t102 NATURAL
JOIN t102 AS 
LEFT@JOIN t102  t1 ON t1.i0 IN  (1) 
JOIN t102 AS t2;


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


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


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


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


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


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


sqltext:
BEGIN;
CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TABLE TempT000e(Te0tID char(1) PRIMARY KEY, Te0tSt00n0 TEXT);
CREATE TEMP TRIGGER t000000000�AFTER INSERT ON TempT000e BEGIN
INSERT INTO TEMPT000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>3 OR  Te0tID>0 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('ong����������ཽ�Bt���������� total(1)ཽ���������������������������������������0���������������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('ongatwo�gatwoBt����������ҡҽBt���oBt����������ࡽ�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����������ཽ����������ngatwoBt����������ཽ�Bt������������������������0Ͻ������0');
INS1 "separators=aB&);
INS&R


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB&);
INSERT INTO t0 VALUES('ongatwoBt����������ཽ�Bt����������ཽ�����������������������������0�������ocument���������INS1 "separators=aB&);
IN


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


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


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


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


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


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


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"VIEW,"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"time(1,1,1,1 "a","b"(1,1,1,1 "a","b")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 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 -1;
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 AS y1, y  AS y1, y AS y y1;


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


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),"a","b"p FROM y AS y1, y  AS1, x  AS y1, yAS;


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  DISTINCT "a","b"p FROM y AS y1, y  AS1, x  AS y1, yAS;


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   "a","b" "a","b"p FROM y AS y1, y  AS1, x  AS y1, y AS y1, y ;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(142001-01-01201E01-0100));
INSERT INTO t0 SELECT 8 FROM t0;
INSERT INTO t0 SELECT@sqlite_source_id()LIKE x FROM t0;
INS


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO, a.b,O. * ,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�ߞ�b,O. * ,I,i ORDER BY 1)
SELECT x FROM i ,I,I? 10;


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' time(1,1,1)te_compileoption_used(1)f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH  ' (1) -1b''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   ' (1)a''b''a''b''a';


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   ' (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, 7) FROM ft0 WHERE ft0 MATCH   ' (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   'a''b''a''b''b''a''b''c''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption_used(1)f 0 b c a,c d');
SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH   'a''b''a''b''b''a''b''c''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, 6) FROM ft0 WHERE ft0 MATCH   'a''b''a''b''b''a''b''c''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''b''a''b''b''a''b'' (1)';


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c ''b''a''b''b''a''b''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''b''a''b''b''a''b''c''c';


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


sqltext:
CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 AFT JOIN t102 ONt0
LEFT JOIN t102  t1 ON t1.i0 GLOB++++++++++++++++++ANDE JOIN t102  NDE JOIN t102  tDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102  t
JOIN t102 A0));


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY,�b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg(A) "a","b"FROM t002, t002, t001, t000, t001, t002 IR, t001, t002 WR


sqltext:
CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c);
CREATE TABLE t001(p INY KEY, q, r);
CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z);
EXPLAIN QUERY PLAN
SELECT avg(A%Y) "a","b"FROM t002, t002, t001, t000, t001, t002 IR, t001, t002 WR


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


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


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


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


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


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


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


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


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"+OT,1,1,1 "a"NOTTULL,"b"(1,1,1"';


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"( "a"time(1,1,1,1 "a"N1,1,1,1)ime(1,1,")"';


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


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


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


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


sqltext:
CREATE TABLE x(y1, y   a,bA, 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 


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(A),"a","b"p FROM y AS y1, y  AS1, x;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(142001-01-01201E01-0100));
INSERT INTO t0 SELECT 8 FROM t0;
INSERT INTO t0 SELECT@sqlite_source_id()LIKE zeroblob(1) x FROM t0;
INS


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO, a.b,O. * ,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�ߞ�b,O. * ,I,i ORDER BY 1)
SELECT x FROM i �I,I? 10;


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' tie(1,1,1)te_compileoption_used(1)f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1,62) FROM ft0 WHERE ft0 MATCH  ' (1)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   'A(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, 6) FROM ft0 WHERE ft0 MATCH   'A(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   'compileoption_used(1)f 0  (1)a''d''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, 8) 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 tion_used(1)f 0 c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH   'compileoption_used(1)f   (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   '!''b''a''b''b''a''b''c''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   '!''b''a''b''b''a''b''c''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   '!''b''a''b''b''a''b'' a,b';


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


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


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


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


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


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(A),"a", a,b FROM y AS y1, y  AS1, x;


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d strftime(1,1,1,1)tion_used(1)f 0 b c a,b d');
SELECT snippet(ft0, '0', '0', '', -1- 2) FROM ft0 WHERE ft0 MATCH   'A(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', '', "a","b" -1- 2) FROM ft0 WHERE ft0 MATCH   'A(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  a,ba,b d');
SELECT snippet(ft0, '0', '0', '', -1, 6) FROM ft0 WHERE ft0 MATCH   'A(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   'A( -11)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 f');
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 0 b c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,10) 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   '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,12) FROM ft0 WHERE ft0 MATCH   '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, 7) FROM ft0 WHERE ft0 MATCH   '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, 8) FROM ft0 WHERE ft0 MATCH   '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,b0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  last_insert_rowid() FRCURRENT_TIMESTAMPx2 WHERE changes();
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y y1, yS1, y y1AS1, y y1, y S1, y  A, y AS y1, y  AS y1, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  last_insert_rowid() FRCURRENT_TIMESTAMPx2 WHERE changes();
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, y S1, y  A, yAS y1, y  AS y1, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT last_insert_rowid() FRCURRENT_TIMESTAMPx2 WHERE changes();
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, y S1, y  A, y AS y1, y  AS y1, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  last_insert_rowid() FRCURRENT_TI, y S1, y y1AS1, y y1, y S1,S y1, y  A, y  AS1, y y1, y S1, y y1AS1, y y1, y S1, y  A, y AS y1, y  AS y1, y AS y y1;


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT  total(A) a,b,"a", a,b FROM y AS y1, y  AS1, x  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) FROM x Aa;
SELECT  total(A),"a", a,b FROM y AS y1, y  AS1, x  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) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT  total(A),"a", a,b FROM y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y1, y  AS y1, y AS y y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SeLECT  total(A),"a", 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(1) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT  total(A),");
CREATE VIEW y AS
a", a,b FROM y AS y1, y   x1, x  AS y1, y MS y1, y >=S y1, y AS y y1;


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


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT a,b a, b, *FROM t1
UNION
SELECT *,a, a,b, '000' a,b FR,b,'000' FROM t1
ORDER BY U, �,S, '00I', b,$����,S, '000', b,�'002' FR


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  s strftime(1,1,1,1)qlite_compileoption_used(1)f 0 b 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 0  (1)a''b''a''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption strftime(1,1,1,1)_used(1)f 0 b 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 0  (1)a''b''a''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sq0 b 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 0  (1)a''b''a''b''b''cATCH  ';


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


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


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  A, y  AS1, x  A,y  AS y1, y AS y y1;


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT  total(A),"a", a,b FROM y AS y1, y  AS1, x  AS y1y1, y AS y1, y  AS  y1, y  AS y, y AS y1, y  AS  y1, y  AS yy1, y AS y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SeLECT  total(A)"a", 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(1) FROM x AS x1, x AS x2 WHERE x1.a;
SeLECT  total(A),"a", a,b FROM y A, y  ASy1, y  AS1, x AS;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SeLECT  /* */(A),"a", 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(1) FROM x AS x1, x AS x2 WHERE x1.a;
SeLECT(A),"a", a,b FROM y A, y  ASy1, y  AS1, x  A AAS 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', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH   ' -1pileoption�used(1)f OR (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,12) FROM ft0 WHERE ft0 MATCH   ' -1pileoption_used(1)f OR (1֞��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,12) FROM ft0 WHERE ft0 MATCH   ' -2001-01-01n_used(1)f OR (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,12) FROM ft0 WHERE ft0 MATCH   ' -1p -1option_used(1)f OR (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,12) FROM ft0 WHERE ft0 MATCH   ' -1pileoption_used(1)f OR AUTOINCREMENT''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES('0 c d  sqlite_compileoption_used(1)f 0(1)f OR (1)a''b''a''b'' b c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH   ' -1pileoption_used(1)f OR (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,02) FROM ft0 WHERE ft0 MATCH   ' -1pileoption_used(1)f 0  OR)a''b''a''b''c';


sqltext:
CREATE TABLE t000(c0  a,c000,INT0,ba,b,�,I, a,b0);
CREATE TABLE t002(c000,I "a","b"NT0000);
SELECT c000.* FROM t002 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(c0  a�ba,b�,I, a,b0);
CREATE TABLE t002(c000,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,b0);
CREATE TABLE t002(c000,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,b0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) 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 x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT  total(A),"F", a,b FROM y AS y1, y   A, y AS y1, y  A1, x  A, y A 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 , y  A 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 A, y  , 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) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT  /* */(A),"a", a,b FROM y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y1, y  AS y1, y AS y,y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT  /* */(A),"a", a,b FROM y AS y1, y AS y1, y   y1, y  AS1, x  AS y1, y AS y1, y= AS y1, y ?S y1, y  AS y1, y AS y y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT  /* */(A),"a", a,b FROM y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y1, y AS y1, y AS y1, y   AS y1, y AS y y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT  /* */(A),"a", a,b FROM y  y1, y AS y1, y  Aqlit, y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y1, y  Aqlit, y AS y y y1;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a;
SELECT b FROM y AS y1, y  AS1, x  AS y1, y AS y1, y  AS y1, y AS y1, y , y  AS y1, y AS y y y1; AS y1, y AS y 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,02) FROM ft0 WHERE ft0 MATCH   ' -1pileoption�used(1)f OR (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   ' -1pileoption�used(1)f OR (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 ct0 WHERE ft0  a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH   ' -1pileoption�uTed(1Bf OR (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,02) FROM ft0 WHERE ft0 MATCH   ' -1pileoption_used(1)f OR (1֞��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 2001-01-01c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH   ' -1pileoption_used(1)f OR (1֞��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 (1)f OR (1֞��b''a''bc a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH   ' -1pileoption_used(1)f OR (1֞��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,12) FROM ft0 WHERE ft0 MATCH   ' -1p1pileoption_used(1)f OR (1֞��ileoption_used(1)f OR (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,02) FROM ft0 WHERE ft0 MATCH   ' -1p -1option_used(1)f OR (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,12) FROM ft0 WHERE ft0 MATCH   ' -1p -2001-01-01ed(1)f OR (1)a''b''a''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_cokpileoption_used(1)f 0 bE ft0 USING fts4;
INSERT INTO ft c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH   ' -1p -1option_used(1)f OR (1)a''b''a''b''c';


sqltext:
CREATE TABLE t000(AUTOINCREMENTI, a,b0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(c0  a�ba,b,�,I, a,b0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c0T NATURAL JOIN t000 AS c00�NATUR0 NATURAL JOIN t000 AS c000;


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


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT  /* */(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 TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT  total(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 x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT  total(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 x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT $total(A),"a", a,b FROM y  y1, y  AS y1, y   A, y AS y1, y  A1, 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  y1, y y1, y   A, y AS y1, y  A1, 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, total(A),"a", a,b FROM y  y1, y  AS y1, y   A, y AS y1, y  A1, 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   A, y AS y1, y  A1, x  A, y AS y1, y  AS y1, y AS y1, y  AS y1, y , y  A y1; 1;


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) Fa;
SELECT  /* */(A),"a", a,b FROM y  y1, y  AS y1, y   A, y AS  A, y AS y1, y  A1, x y1, y  AS �1, 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  y1, y  AS y1, y   A, y Ay1, y   A, y AS y1, y  A1, x  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  y1, y  AS y1, y   A, y Ay1, y , y   A, y AS y1, y  A1, x  1,


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


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


sqltext:
CREATE TABLE t000( 'a''b'c0  UNIQUE,�,I, a,c0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t002 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 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),"a" a,b FROM y  y1, y y1, y   A, y AS  A, y AS y1, y  A1, y AS y1, y  A1, x x y1, y  AS �1, 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  y1, y  AS y1, y   A, y Ay1, y , y   A, y AS y1, y  A1, x  1,


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t000( 'a''b'c0, UNUE,�,I, a,c0);
CREATE TABLE t002(c000,I,J0000);
SELECT c000,* FROM t002 LATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATS  


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)INSERT1;
INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1;
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 1002


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


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


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


sqltext:
ATTACH''AS noname;
ATTACH':memory:' AS ��name;
ATTACH':memory:' AS ine;
ATTACH':memory:' AS memmem;
BEGIN;
CREATE TABLE noname.n00000(x);
CREATE TABLE inmem�i0000(y);


sqltext:
ATTACH''AS noname;
ATTACH':memory:' AS ��name;
ATTACH':memory:' AS ine;
ATTACH':memory:' AS memmem;
BEGIN;
CREATE TABLE noname.n00000(x);ANALYZE TABLE inmem.i0000(y);


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 b DESC,d DESC, e DESC, b,  e DESC, b, c, a DESC;


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,2,20000);
INSERT INTO t5 ;


sqltext:
CREATE TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE x=99;
PRAGMA automatic_index=OFF;
SELECT * FROM t0a �EFT JOIN t0b ON (x=99)AND /* */ x;


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


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


sqltext:
CREATE TABLE t1(x, y DEFAULT(date(CURRENT_TIMESTAMP)));
INSERT INTO t1(x)VALUES(1);INSERT INTO t1(x)VALUES(1);
SELE
SELECT x, length(y),FROM t1;


sqltext:
PRAGMA journal_mode = off;
PRAGMA journal_mode = in0000d;
PRAGMA journal_mode = off;
PRAe = in0R00d;


sqltext:
CREATE TABLE t010(a, CHECK( m000.t010.a>00));
CREATE TABLE �011(b, CHECK( x000y.t011.b BETWEEN 0 AND 10 ));


sqltext:
CREATE TABLE t010(a, CHECK( m000.t010.a>00));
CREATE TABLE t011(b, CHECK( x000y.t011.b BETWEEN 0 AND 10 ));VACUUM


sqltext:
CREATE TABLE t0 (a primary key, b, c);
INSERT INTO t0 values (0,00, 3);
CREATE TRIGGER a0000l��������������������������������������������������������������������������������������������������� AFTER UPDATE ON t0 BEGIN
UPDATE OR IGNORE t0 SET a0=  "a","b" = 00;
END;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
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 avg(?) x FROM t0;
BEGIN;
DELETE FROM t0 WHERE rowid%2;
PRAGMA incremental_vacuum(4);
ROLLBACK;ANALYZE


sqltext:
SAVEPOINT s00;
SAVEPOINT s00;
SAVEPOINT s00;
SAVEPOINT s00;
RELEASE sAVEPOINT s00;
SAVEPOINT s00;
SAVEPOINT s00;
RELEASE s000;


sqltext:
PRAGMA auto_vacuum = incremental;
PRAGMA page_size=1000;
PRAGMA journal_mode=off;
CREATE TABLE t1(a, b);
INSERT INTO t1 VALUES(:eroblob(5000), zeroblob(4000));
DELETE FROM t1;
PRAGMA incremental_vacuum;


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE ASC��������������������������������������������������������������������������������������������������������������������������13 USING fts3;VACUUM VAL


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE ASC�����������������鶶������������������13 USING fts3;VACUUM VAL


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE ASC������������׶������Ƕ����13 USING fts3;VACUUM VAL


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE ASC����������ٶ��������Ѷ����13 USING fts3;VACUUMVAL


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE A�����������������������������������������������������������������13 USING fts3;VACUUM VAL


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE ASC���ֶ������������Ͷ�������13 USING fts3;VACUUM VAL


sqltext:
PRAGMA encoding =  'UTF-16';
CREATE VIRTUAL TABLE ASC��������������������������13 USING fts3;VACUUM 'UTF-16';
CREATE VIRTUAL TABLE ASC��������������������������13 USING fts3;VACUUM VAL


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE ASC��������C��������������������������13 USING fts3;VACUUM VALs3;VACUUM VAL


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


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


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


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 =-'00E-';
COMMIT;


sqltext:
CREATE TABLE FOO(bar int0000);
CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN
SELECT CASE WHEN ( 'a''b'.bar BETWEEN 0 AND 20)
THEN raise(rollback, '000000') END;
END;
INSERT INTO Voo(bar)SELECT CASE WHEN ( 'a''b'.bar BETWEEN 0 AND 20)
THEN raise(rollback, '000000') END;
END;
INS VALUES (0);


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


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:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1,0,1) x FROM i LIMIT 903


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(?,1,0,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,0E1) x FROM i LIMIT 90;


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


sqltext:
CREATE TABLE blob0(k, v �LOB);
INSERT INTO blob0 VALUES( ?19, zeroblob(length(CAST($::0000 AS BLOB))));
INSERT INTO blob0 VALUES( ?19, zeroblob(length(CAST($::0000 AS BLOB))));
;


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 ON 00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql='CREATE TABLE@00(a NOT(00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql='CREATE TABLENULLCURL,0);
PRAGMA writable_schema=ORENT_TIMESTAMPt1';
PRAGMA �ma=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


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,"b"


sqltext:
CREATE TABLE t00b AS SELECT 4 AS '', 5 A__________________________R���������������������������������������������������_______________________R��������������������������������������������OM t00b;


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]ABLE 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(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,6,20000);REINDEX


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


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


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:
CREATE TABLE t1(a,b,c);
INSERT INTO t1 VALUES(1,2,3);
INSERT INTO t1 VALUES(-1,-2,-3);
INSERT INTO t1 VALUES('000','000','000');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0%f0%c',?/b,c) FROM t1 ORDER BY rowid;


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


sqltext:
 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRa)'
WHERE name='t1a';
UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)'
WHERE name='t1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t1 ;
PR


sqltext:
CREATE VIEW x1 AS SELECT 100 AS '', 300;
SELECT * FROM x1'';
SELECT'', 200 AS '', 300;
SELECT * FROM x1'';
SELECT * FROM x1;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1( "a"UNIQUE,"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(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 replace(1,1,1) a FROM t1 WHERE a<10);
DROP INDEX i1;
DELETE FROM t1;
COMMIT;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1( "a"UNIQUE,"b" int, c int);
CREATE INDEX i1 ON t1(a,c);
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 replace(1,1,1) a FROM t1 WHERE a<10);
DROP INDEX i1;
DELETE FROM t1;
COMMIT;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(A"a"UNIQUE,"b" int, c int);
CREATE INDEX i1 ON t1(a,a);
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 replace(1,1,1) a FROM t1 WHERE a<10);
DROP INDEX i1;
DELETE FROM t1;
COMMIT;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1( "a"UNIQUE,"b" int, c int);
CREATE INDEX i1 ON t1(a,a);
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 >= (SELECT replace(1,1,1) a FROM t1 WHERE a<10);
DROP INDEX i1;
DELETE FROM t1;
COMMIT;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1( "a"UNIQUE,"b" int, c int);
CREATE INDEX i1 ON t1(a,a);
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 ( datetime(1,1,1),1,1) a FROM t1 WHERE a<10);
DROP INDEX i1;
DELETE FROM t1;
COMMIT;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1( "a"UNIQUE,"b" int, c int);
CREATE INDEX i1 ON t1(a,a);
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 replace(1,1,1) a FROM t1 WHERE a<10);EXPLAIN
DROP INDEX i1;
DELETE FROM t1;
COMMIT;


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 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE a=1;
SELECT i FROM t4 WHERE b=2;
SELECT i FROM t4 WHERE g=3;
SELECT i FROM t4 WHERE d=4;
SELECT i FROM t4 WHERE e=5;
SELECT i FROM t4 WHERE f=6;
SELECT i FROM t4 WHERE g=7;
SELECT i FROM t4 WHERE h=8;


sqltext:
CREATE 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 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 FR40000 10000 2000 600 100 40 10');
ANALYZE sqlite_master;
SELECT i FROM t4 WHERE a=1;
SELECT i FROM HERE 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(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 t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sql1
VA


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 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 W;
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 FROHERE 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 �4all 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 600LECT 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;
ScLECT i 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;
SELE8T i FROM t4 WHERE g=7;
ScLECT i FROM t4 WHERE h=8;


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, zeroblob(1) b FROM t1;
INSERT INTO t1 SELECT a+2, b FROM t1;
INSERT INTO t1 SELECT a+4, b FROM t1;
INSERT INTO t1 SELECT a+8, b FROM t1;
INSERT INTO t1 SELECT a+16, printf(1,1)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, avg(1) b FROM t1;
INSERT INTO t1 SELECT a+8, b FROM t1;
INSERT INTO t1 SELECT a+16, printf(1,1)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+8, avg(1) b FROM t1;
INSERT INTO t1 SELECT a+16, printf(1,1)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+8, b FROM t1;
INSERT INTO t1 SELECT a+16, printf(1,1)b FROM t1;
INSERT INTO t1 SELECT a+32, round(1,1)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+8, b FROM t1;
INSERT INTO t1 SELECT a+16, printf(1,1)b FROM t1;
INSERT INTO t1 SELECT a+32, group_concat(1,1)b FROM t1;
INSERT INTO t1 SELECT a+64,b FROM t1;
ANALYZE;


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


sqltext:
CREATE TABLE t0(a INT PRIMARY KEY, b, c, UNIQUE(b, a)) WITHOUT rowid;
CREATE TABLE t2(e REFERENCES t0, f);
CREATE TABLE t3(g, h, i, FOREIGN KEY (h, i) REFERENCES [a]b, 


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


sqltext:
SELECT 200101-0110000002001-01-010110000002001-01-01000001-0110000002001-01-0100001-0110000002001-01-01;


sqltext:
PRAGMA freelist_count /* */;
PRAGMA feelist_count /* */;
PRAGMA freelist_count /* */;
PRAGMA freelist_count;
eelist_countreelist_count /* */;
PRAGMA freelist_count;
eelist_count;


sqltext:
CREATE TABLE t12a(a,b,c,d,e,f,g);
INSERT INTO t12a VALUES(100,2,3,4,5,6,7);
CREATE TABLE t12b(x, a,ba,b);
INSERT INTO t12b(x,rowid,x,x,x,x,x) SELECT * FROM t12a;
SELECT rowid, x FROM t12b;


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


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


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


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


sqltext:
PRAGMA auto_vacuum=1;
CREATE TABLE t1(a load_extension(1,1));
DROP TABLE t1;
PRAGMA integrto_vacuum=1;
CREATE TABLE t1(a load_extension(1,1));
DROP TABLE t1;
PRAGMA intity_checj;


sqltext:
CREATE TABLE t0(a, b);
CREATE TABLE log(x);
INSERT INTO t0 VALUES(0,0);
INSERT INTO t0 VALUES(0,0);
INSERT INTO t0 VALUES(0,0);
CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN
INSERT INTO log VALUES(old.b || '0000' 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 '0000' IN new.b IN '0' ||nges() );
END;
C


sqltext:
BEGIN;
CREATE TABLE A�00(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));EXPLAIN
CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 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, 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));ANALYZETABLE I0(O, 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(C000xt(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, I00000000000ext 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 te


sqltext:
CREATE TABLE t1(a, b, PRIMARY KEY(a,b));
INSERT INTO t1 VALUES(1,1),(1,2);
CREATE TABLE t2(x, y, PRIMARY KEY(x,y));
INSERT INTO t2 VALUES(3,3),(4,4);
SELECT a,CURRENT_DATE- round(1%Y)x FROM t1, t2 ORDER BY 2, 2;


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


sqltext:
CREATE TABLE t1(a, b);
PRAGMA auacuuY=O00;
PRAGMA synchronous=NEATou$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$C$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCABLE t1(a, b);
PRAGMA auacuuY=O00;
PRAGMA syEXCLUSIVE;
PRAGMA journal_mode=TRUNC;
�RAGMA journal_mode=TRUNCAT 2);


sqltext:
CREATE TABLE t1(a, b);
PRAGMA auacuuY=O00;
PRAGMA synchronocs=N00000;
PRAGMA page_size=1000;
PRAGMA lockin�onous=N00000;
PRAGMA page_size=1000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA journal_mode=TRUNC;
PRAGMA journ_mode=EXCLUSIVE;
PRAGMA journal_mode=TRUNC;
PRAGMA journal_m000;
PRAGMA lockingonous=N00000;
PRAGMA page_size=1000;
PRAGMA locking_mode=EXCLUSIVE;ode=TRUNCAT 2);


sqltext:
CREATE TABLE t1(a randomblob(1),b);
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),( 1=1,0),( 1=1,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='CREATE TABLE 00(a NOT NULL,b)'
WHERE name='t1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PRAGMA integrity_check


sqltext:
CREATE TABLE t0(a);
INSERT INTO t0 VALUES('a');
SELECT a< CAST(a AS blob000��������������������������������������������������������������������������������� blob) FROM t0;


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


sqltext:
CREATE TABLE t10(a, u00000000 DEFAULT 0);
CREATE TRIGGER t00000 BEFORE UPDATE OF CURRENT_TIMESTA2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222MPa ON t10 BEGIN
UPDATE t00 SET u0= u00000000+1 WHERE r00000= o00.r0000;
END;
INSERT INTO t10(a)VALUES('000');


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(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(12001-01-0100), 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 


sqltext:
SELECT 1000000006100000000000000.,00000000.,0000000000000006000000.,00000000000.,00000000.,000000000000000000000060000.,00000000000.,00000000.,00000000000000000000006000000.,00000000 ,00000,0000000000M0000000000060000.


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;
-------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);
DROP TABLE t0;
PRAGMA integrity_check;
-------BLE t0;
PRAGMA integrity_check;
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 t0 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 max_page_count = 1000000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(1, 2, 3);
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT avg(1)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a| last_insert_rowid()|b||c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a, b, c FROM abc;
INSERT INTO abc SELECT b, a, c FROM abc;
INSERT INTO abc SELECT c, b, a FROM abc;


sqltext:
SELECT group_Doncat(1,1) NOT IN (10 ,1) NOT IN (10 IN (10,10),11) NOT IN (10 ,1) NOT IN (10 IN (10,10),1,10)AS,10)AS0


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


sqltext:
SELECT  1000000%000000060060000100000600000001000000%0000000600600001080000%00001006000000010001000000%0000000600600001000000%0000000600000001000000%0000000600000%0000000600000001000000%0000000600600001080000%00000006000000010001000000%0000000600600001000000%0000000600000001000000%0000000600600001000000%00000;


sqltext:
SELECT  1000000%0++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


sqltext:
SELECT quote(likely(x'005000BBBB8888000BBBB888888888888888888888BB88888888888888888BBBBBBB000000'));


sqltext:
SELECT.19999999990 EXCEPT SELECT 20 ORDER BY 1 COLLATE s999999999999999999999E99999990 EXCEPT SELECT 20 ORDER BY 1 COLLATE s00000;


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


sqltext:
CREATE TABLE blob0(k, v BLOB);
 VALUES(1, zeroblob(length(CAST( -10000 AS BLOB))));
 VALUES(1, zeroblob(length(CAST( -10000 AS BLOB))));


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(90 ));
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(200);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-01-0100);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
GROUP BY 	01,1);
CE;


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) "a","b"FROM t2)MATCH min(1,1)FROM t1
GROUP BY 	01,1);
CE;


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


sqltext:
SELECT CASE WHEN CASE WHEN -0X33333 -0X33333333333333333 THEN  CASE WHEN CASE WHEN -0X33333 -0X33333'0�ND;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME) 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 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 mORDER 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 t0(m CHAR(2));
INSERT INTO t0 VALUES(' -100');
INSERT INTO t0 VALUES('b0' -1);
INSERT INTO t0 VALUES('c0');
SELECT count(*), substr(m,2,M) AS00 FROM t0 GROUP BY m ORDER BY 1, 2;


sqltext:
CREATE TABLE t00a(a,b);
INSERT INTO t00a VALUES(0,0);
CREATE TABLE t00b(n);
CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN
SELECT 0 FROM t00a  "a","b"n0000 UNION ALL
SELECT 0 FROM t0 a WHERE 0>new>x ORDER BY 0 LIMIT 0;
END;
INSERT INTO t00b VALUES(6);


sqltext:
CREATE TABLE t00a(a,b);
INSERT INTO t00a VALUES(0,0);
CREATE TABLE t00b(n);
CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN
SELECT 0 FROM t00a  "a","b"n0000 UNION ALL
SELECT 0 FROM t00 "a","b"a WHERE 0>new>x ORDER BY 0 LIMIT 0;
END;
INSERT INTO t00b VALUES(6);


sqltext:
CREATE TABLE t0(a);
INSERT INTO t0 VALUES('a');
SELECT a< CAST(a AS �nt�����������������������������������������������������������������������0000) FROM t0;


sqltext:
CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(b) VALUES('000');REPLACE INTO t0000(b) VALUES('000TRIGGER t000 AFTER INSERT ON t00 BEGIN
INSERT INTO t0000(b) VALUES(000000');
INSERT INTO t0000(b) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('00000000 BEGIN
INSERT INTO t0000(b) VALUES(000000');
INSERT INTO t0000(b) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('00');
SELECT * FROM t0000 ORDER BY a;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(500));
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;


