# xsql

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


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


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1, CURRENT_TIME) x FROM i LIMIT 200


sqltext:
CREATE TABLE t0(a TEXT, b TEXT);
INSERT INTO t0 VALUES('0','0');
INSERT INTO t0 VALUES('0','2');
INSERT INTO t0 VALUES('0','3');
SELECT a FROM t0 WHERE /* */(SELECT zeroblob(A)>b FROM t0 ORDER BY b);


sqltext:
CREATE TABLE t0(a TEXT, b TEXT);
INSERT INTO t0 VALUES('0','0');
INSERT INTO t0 VALUES('0','2');
INSERT INTO t0 VALUES('0','3');
SELECT a FROM t0 WHERE b IN (SELECT zeroblob(A)> randomblob(1)b FROM t0 ORDER BY b);


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


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


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('2�01-0B>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-01f00', '000');


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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', oid, '000', b, a,b, '000', 3,a, '000',$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 randomblob(1), oid, '000', b, a,b, '000', 3,a, '000', 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,oid, '000', oid, '000', b, a,b, '000', 3,a, '000', b, a,b, '000' FR


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts3( a,bpoi, a0 a,00, notindexeQ=p00, notindexed=+0, notindexed=pdexe, notindexed=00, notindexed=ed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p0�d=00,a,bpoi, a0 a,00, not notindexe�=p0,00,  otindexed=p000, notindexed=a,00, notinde�ed=p,00, notindexed=p000, notindexed=a,00, notindexed=poi);


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0�c d  sqlite_compileoption_used(1)f 0 b c a,b d');
SELECT	snippet(ft0, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f"0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a"0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0" (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0 "(1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compile strftime(1,1,1,1)leoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0 ''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''B''b''ption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS ame;
ATTACH':ry:' AS �inminmee;
ATTACH'�me:' AS R


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


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


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


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, sqlite_compileoption_used( load_extension(1,1));
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, sqlite_compileoption_used( load_extension(1,1));
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, yS1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT quote(1)p, sqlite_compileoption_used( load_extension(1,1));
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT min(1,1)p, sqlite_compileoption_used( load_extension(1,1));
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, sqlite_compileoption_used( load_extension(1,1));
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1,  y S1, y  ASy1, y S8, y yy, y  RS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S8, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  0XADD02FOR-01=01;
PRAGMA automatic_index=OFF;
SELECT (x) WHERE  0XADD02FOR-01=01;
R


sqltext:
CREATE TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  0XADD02F01=01;
PRAGMA automatic_index=OFF;
SELECT * FROM t0a LEFT JOIN t0b ON - 1=1) OR


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


sqltext:
#TTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS ��oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS imemm��name;ANALYZE'TEMP';ANALYZE;


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t1( [a]a char(1),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%p0%s',a,b,c) FROM t1 GROUP BY 00001;


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


sqltext:
CREATE TABLE t01(x, y);
CREATE TABLE t02(x, y);
CREATE VIEW v0 as
SELECT x, y FROM t01
UNION ALL
SELECT x, y FROM t01
UNION ALL
SELECT x, y FROM t02;
CREATE INDEX t000 ON t01(x);
CREATE INDEX t00x ON t02(x);
EXPLAIN QUERY PLAN
SELECT * FROM v0 WHERE x?'0'I)


sqltext:
CREATE TABLE t01(x, y);
CREATE TABLE t02(x, y);
CREATE VIEW v0 as
SELECT x, y FROM t01
UNION ALL
SELECT x, y FROM t01
UNION ALL
SELECT x, y FROM t02;
CREATE INDEX t000 ON t01(x);
CREATE INDEX t00x ON t02(x);
EXPLAIN QUERY PLAN
SELECT * FROM v0 WHERE x<'0'I)


sqltext:
CREATE TABLE t01(x, y);
CREATE TABLE t02(x, y);
CREATE VIEW v0 as
SELECT x, y FROM t01
UNION ALL
SELECT x, y FROM t01
UNION ALL
SELECT x, y FROM t02;
CREATE INDEX t000 ON t01(x);
CREATE INDEX t00x ON t02(x);
EXPLAIN QUERY PLAN
SELECT * FROM v0 WHERE x>'0'I)


sqltext:
CREATE TABLE t01(x, y);
CREATE TABLE t02(x, y);
CREATE VIEW v0 as
SELECT x, y FROM t01
UNION ALL
SELECT x, y FROM t01
UNION ALL
SELECT x, y FROM t02;
CREATE INDEX t000 ON t01(x);
CREATE INDEX t00x ON t02(x);
EXPLAIN QUERY PLAN
SELECT * FROM v0 WHERE -1'0'I)


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c
INSERT INTO x1(docid,a,b,c) VALUES$0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');
INsERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '; U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L','M 0 K A V', 'Q W 0 T J');
INSERT INTO�1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O UTO x1(docid,a,b,c) VALUES(4 A Q');
INSERT INTO x1(docid,a,b,c V-LUES(5, 'L X L U', '0 _ N X S', '0 Q A N Y');
INSERT INTO 'M(docid,a,b,c) VALU/S(6, 'M R G T', 'U V I Q P', 'X Y;N L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'YNTO x1(docid,a,b,c) , 'N W L M R')E
INSERT INTO x1(docid,a,b,c) VALiES(9, 'Z 0 F N P',b00 0 X 0 U',  0 E ^ A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
I 'a''b'NTO x1(docid,a,b,c/VALUES(11, '0 E Q 0', ' U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'TP F W H', 'A M 0 J Q')*
INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C ���豱���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������1���������������������������ͱ��������������������������������������������������������������������˱�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������d��ʱ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������@��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 'a''b'��������������������������Z', '0 W E % J');
INSERT IN7O x1(doIid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T');
INSERT INTO x1(docid�a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y');
INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'WB 0 Y N', 'V J P E C');
INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N');
INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P ;


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


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, [);
INSERT INTO x1T�� 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a�b,c) VALUEE(4, 'J C Y N', 'R 0 0 XV', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', ' Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W LJM R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W�0 X 0 U', 'V 0 E Q A');
INSERT INTO x1(doc�d,a,b<<<<<<UES(10, '0 I 0 M', 'N 0 K 0'A H SERT INTO x1o INTO x1(d�cid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSE2, 'E S V U', 'T P F W HES(2, '0 M O I', 'R  'A M 0 J Q');
INSERT INTO x1(docid,a,b,c) VALUT [a], 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F');
INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C ������������������������������������������������������������ñ����������������N X S', ' Y');
INSERT IN��������������������������������������ⱱ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������5����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������@������������������������������������������������������������������������������������������������������������������������ʱ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������DROP����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Z', '0 W E H J');
INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z :  INTO i1(docGd,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0'  'B 0 I H Y');
INUERT INTO x1(docid,��, 'W B 0 Y N', 'V J P E C');
INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N');
INSERT INTO ocid,a,b,c) VALUES(19, 'T 0 0 P 0'w '0 V Y B X', 'L Z 0 N 0');


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


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


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


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


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


sqltext:
CREATE TABLE t91(x); INSERT INTO t91 VALUES(1);
CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b);
INSERT INTO t92 VALUES(1,2,3);
SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT 3 FROM t91 �EFT JOIN t92 ON (y=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 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 ?= b=3


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


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


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2 -1,0),(3 -1,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= zeroblob(1);
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
VACUUM ink


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


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


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


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


sqltext:
ATTACH''AS noname;
SELECT' load_extension(1,1):memory:' AS inmemmem;VACUUM;
CREATE TABLE noname.n00000(x);VACUUM;
CREATE TABLE n(y);VACUUM


sqltext:
ATTACH''AS noname;
SELECT' load_extension(1,1):memory:' AS inmemmem;VACUUM;
CREATE TABLE noname.n00000(x);VACUUM;
CREATE TABLE n(y);ANALYZE


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2(a, b);
CREATE VIEW a002 AS SELECT DISTINCT*, "a","b"AS m FROM t2 ORDER BY a;
EXPLAIN QUERY PLAN
SELECT t1.z, a002.m
FROM t1 JOIN a002 ON t1.y ORDER BY a;
EXPBAIN 


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'separator leparator lioely(1)');
SELECT row WHERE cot MATCH 'runp';


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 
JOIN t102 AS 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON t1.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR t1.i0=+t0.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 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON t1.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR t1.i0= t0.i0 OR tT.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 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON t1.i0= t0.i0 OR t1.i0= t1.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR t1.i0= t0.i0 OR t2.i0=t1.oid);


sqltext:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2( a,ba, b);
CREATE VIEW a002 AS SELECT *,+a,b a,b,"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 NULL "asu0b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNIO;
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT load_extension(1,1)


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


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


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


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


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 511*0012001-01-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;
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( 51120012001501-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;
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:
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('one0OϿ�0eatwo�tύ00');
RTBLE t0


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
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  y y1;


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


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


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


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


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


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (  a,ba,ba,q);
CREAT y1.q=y2.q;
SELEC


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0st USING fts4 (k00000d sqpileoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH '" time(1,1E1,1 "a","b"(1,1,1,1,"b"(1,1,1,1)i)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 time(1,1,q)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, 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 time(1,1,1)IS /* */x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y  AS y1, y AS y y1;


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


sqltext:
CREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL);
INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1);
INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2);
INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2);
SELECT DISTINCT "n0"WHERE+(SELECT "000000", "n00b00" FROM "0000" GROUP BY   "a","b"LIKE"b"ESCAPE"b""a","b",   "a","b" LIMIT 1)�IS 


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


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('0���bb c00', 'bbb 0
0');
SELECT * FROM x where y MATCH 'bbb OR - strft� OR L  OR L strft*� OR 0';
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""""""�� OR - sdrft�� OR 0';


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


sqltext:
CREATE TABLE t0(a, b);
SeLECT DISTINCT "a","ba","b",count(*)WHERE(SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","ba","y","b", round(1,1)"ba","b",count(*)a FROM t0) )FRO;


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


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


sqltext:
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�ٹ���������������ٹ˹������������������������������������������������ٹ˹����=un�");
RT 


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a TEXTGER NRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+57777%777772001-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(1020012001501501-01-01,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+	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:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5777757-7772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(c FROM EN 30 AND 60;


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


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1) FROM x AS x1, x AS x2x1, x AS x2 WHERE x1.a;
SELECT  total(A)"a",$a,b FROM y AS y1, y  AS1, x  AS yy1, y AS y1, y  A1, y AS y1, y AS y1, y  A1, y Ay  AS y1, y AS y y 


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT avg(1444444444444444444444444) Fa;
SELECT(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:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(2001.01-011) x FROM i LIMIT 90;


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(2001.01-011) x FROM i LIMIT 200


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(2001.01-01333333333333333333331) x FROM i LIMIT 10;


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


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 D00(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(N0000000000000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null);
0


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


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


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, CURRENT_TIME) x FROM i LIMIT 200


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1,  zeroblob(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,  zeroblob(1)) x FROM i LIMIT 30;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1,1,  zeroblob(1)) x FROM i LIMIT 200


sqltext:
CREATE TABLE t0(a TEXT, b TEXT);
INSERT INTO t0 VALUES('0','0');
INSERT INTO t0 VALUES('0','2');
INSERT INTO t0 VALUES('0','3');
SELECT a FROM t0 WHERE /* */(SELECT zeroblob(A)>b FROM t0 Ob);


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT CURRENT_TIME FROM i ORDER BY 1)
SELECT x FROM i LIMIT  16


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


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


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


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('2001-0??????????????????????????1>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>N>>>>>&>TEMPORARY>>>>>>>>>-01f00', '000');


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('2001-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>N>>>>>&>TEMPOR###########>-01f00', '000');


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATEXVICATing Gnnning ant jgnt MATing Gnt juBETWEEN VALUEERE contenEEN VALUEERE content MATing Gnt MATing Gnt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VICATing Gnnning ant jgnt MATing Gnt juBETWEEN VALUEERE contenEEN VALUEEREent EATE VICATing G content MATing Gnt MATing Gnt jumping');
CCH 


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


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


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


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


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


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


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


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


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


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


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


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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used"1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0 "(1)a''b''a 0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleo"""""""""""""""""""""ption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0 "(1)a''b''a 0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used "(1)a''b''a 0  (1)a''b''a''B(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0 "(1)a''b''a 0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   ' min(1,1)option_used(1)f 0 OR (1)a''b''a 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''B''b''ption_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, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)f 0 OR (1)a''b''a 0  OR)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  (1)a''b''a 0  (1)a''b''a''B''b''ption_used(1)f 0  (1)a''b''a 0  (1)a''b''a''b''b''c';


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT 200 FROM i ORDER BY 1)
SELECT strftime(1,1, -1.00 ||X-01) x FROM i LIMIT 50;


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t�ϐ����������������������S('ab0������������������S('ab0')');


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'separator leparator lioely(1)arator lioely(1)');');
SELECT row WHERE cot MATCH 'runp';


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


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


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 
JOIN t102 AS 
LEF102 
JOIN t102 AStT JOIN t102   tT JOIN t102  t1 ON t1.i0 LIKE 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0=+t0.i0 OR t1.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 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON t1.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR tT.i0= t1.i0 OR t2.i0=t1.oid);


sqltext:
SELECT NULL "a����" UNION SELECT "b"O;
SELECT 1 UNION SELECT 2 NNUNIO;
SELECT 1 UNION SELECT 2 NNULL<UNION
SELECT 1 UNION SELECT load_extension(1,1)


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,A,UES��00S��000,/,bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH 'bbb NEAR/6 0DDDDIRTUAL TABTE VIRTUAL TABLE x USING ftsLE x U strftime(1,1,1,1)b4(y,';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,A,UES��00S��000,/,bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH ':memory:/6 0DDDDIRTUAL TABTE VIRTUAL TABLE x USING ftsLE x USIN:::::::������ftb4(y,';


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


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


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


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *, /* */ *FROM x AS �1, x AS x2 USING  ( a,ba,q);
CREAT y1.q=y2.q;
SELECT * 


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *, /* */q FROM x AS �1, x AS x2 USING  (  [a],q);
CREAT y1.q=y2.q;
SELECT * 


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *, /* */q FROM x AS �1, x AS x2 USING  ( a, a,ba,q);
CREAT y1y2.q;
SELECT * 


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *, /* */q FROM x AS �1, x AS x2 USING  ( a,ba,q,ba,q);
CREATE VIEW | AS
SELE);
CREAT y1.q=y2.q;
SELECT * 


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, q= /* */q FROM x AS �1, x AS x2 USING  ( a,ba,q);
CREAT y1.q=y2.q;
SELECT * 


sqltext:
CREATE TABLE x( aba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  ( a, [a]);
CREAT y1.q=y2.q;
SELECT * 


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


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


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


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


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE+time(1,1,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y  AS y1, y A, y  AS1, y 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 time(1,1,1)IS /* */x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, yy1,1;


sqltext:
CREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL);
INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1);
INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2);
INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2);
SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" GROUP BY   "a","b"LIKE"b"ESCAPE"b""a","b",   "a","b" LIMIT 1)�IS 


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


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""OR""�� OR - sdrft�� OR 0';


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


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(1020012001501501-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 c+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+	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:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a&2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5777757-7772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);�REINDEX;
SELECT(c FROM EN 30 AND 60;


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000');
SELECT * FROM t0st WHERE k00000d MATCH ' /* */ "a"time(1,1,1,1 "a"NOTNULL,"b"( "a"NOTNULL,"b1a"NOTNULL,"b"( "a"NOTNULL,",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"NOTNULL,"b"( "a"NOTNULL,"b1a"NOTNULL,"b"( "a"NOTNULL,",1,1,1)ime(1,1," randomblob(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 s  "a"time(1,1,1,1 "a"NOTN,"b"( "a"NOTNULL,"b1a"NOTNULL,"b"( "a"NOTNULL,",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"NOTNULL,"b"( "a"N>TNULL,"b1a"NOTNULL,"b"( "a"NOTNULL, s  "a"time(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"NOTNULL,"b"( "a"NOTNULL,"b1a"NOTNULL,"b"( "a"NOTNULL,",1,1,1)ime(1,1"NOTNULL,"b"( "a"NOTNULL,",������������������������������1,1,,")"';


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(2001.01-01333333333333333333331) x FROM i LIMIT 90;


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT total(1) i ORDER BY 1)
SELECT zeroblob(2001.01-01333333333333333333331) x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT   * FROM i ORDER BY 1)
SELECT zeroblob(2001.01-01333333333333333333331) x FROM i LIMIT 200


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 D00(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 int0L000000 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 E0ON0000000000(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, A00���������������������������0000000000 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 ext(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE I000000(C0000 8888888888888888888888888888, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0E\TID 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(N0000000000000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null);
0


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1)
SELECT strftime(1<1, CURRENT_DATE) x FROM i LIMIT 200


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min( @1)  +1 FROM i ORDER BY 1)
SELECT-x FROM i LIMIT  84


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT min( @1)  +1 FROM i ORDER BY 1)
SELECT-x FROM i LIMIT  24


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATEXVICATing Gnnning ant jgnt MATing Gnt juBETWEEN VALUEERE contenEEN VALUEERE c EATEXVICATing Gnnniontent MATing Gnt MATing Gnt jumping');
CCH 


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t0000(a INTEGER DEFAULT KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


sqltext:
CREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER UPDATE ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


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


sqltext:
CREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;EXPLAIN
INSERT INTO t0000(b) VALUES('0000');


sqltext:
CREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEY KEY UNIQUE,UTOIEFOREER t��0001 BRY KEY UNIQUE,UTOIEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('0;
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


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


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


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


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


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


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


sqltext:
CREATE TABLE t0(a, b);
SELECT DISTINCT oid,"b""""a","ba","b",a F,oid"a","b","ba","b",a F,oid"aa","b",a FROM (SELECT #ount(*)a FROM t0) WHERE aA=0;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(100000006000000000, '02001-01-010');
INSERT INTO t0(docid, x) VALUES(0, '02 ;001-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(10000000.000000000, '02001-01-010');
INSERT INTO t0(docid, x) VALUES(0, '02001-01-012 ;001-01-01b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'sepseparator leparator IMMEDIarator leparator IMMEDIATE');
SELECT row WHERE cot MATCH 'runp';


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���"""""""""""""""""";
INSERT INTO t1""""1"""""""""""""""""""""""""""""""1"ru"""""""""""""""""n """"""""""""""""""""""run """""""""""""""""""""""""""""""1"""""""""jump';


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


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


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


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


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


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 
JOIN t102 LEF10 
JOIN t102 AS 
LEF102 
JOIN t102 AStT JOIN t102   tT JOIN t102  t1 ON t1.i0 LIKE 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0=+t0.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 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON t1.i0 GLOB 'a0'
LEFT JOIN t102 LEFT
JOIN t102 AS t2 ON(t1.i0= t1.i0 OR 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 
LF102 
JOIN t102 ASEF102 
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 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 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON t1.i0 GLOB 'a0'
LEFT JOIN t102 
AS t2 ON(t1.i0= t1.i0 OR 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  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t1.i0< t2.i0 OR 50 AND t0.i0=t1.i0 AND t0.i0=t2.i0) AND t2.i0<t1.i0));


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


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��00S��000,/,bbT,RE000,/,,/,bbT,GEXP'bbb');
SELABTE VIRTUAL TABLEUSIN:�:::::������ftb4(y,';


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


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


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


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


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


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, A,  [a]/q FROM x AS �1, x AS x2 USING  ( a,ba,q);
CREAT y1.q=y2.q;
SELECT * 


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  strftime(1,1,1,1) q FROM x AS x1, x AS x2 WHERE+time(1,q,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, 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+time(1,q,Q)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y(A, 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+time(1,q,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y  AR1, y  AS1, y y1, y 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=1+time(1,1,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, yy1,1;


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


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""OR""�� OR -2001-01-01 sdrft�� 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""OR""�� OR""OR""�� OR - sR - sdrft�� 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""OR""�� O""OR""OR""�� R - sxrft�� OR 0';


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


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


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


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


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


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


sqltext:
CREATE TABLE t0000(a blobGER DEFAULT KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


sqltext:
CREATE TABLE t0000(a blobGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;REPLACE INTO t0000(b) VALUES('0000');


sqltext:
CREATE TABLE t0000(a blobGER PRIMARY KEY UNIQUE,UFOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


sqltext:
CREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIRIMARY KEY UNIQUE,UTOINCRPRIMAMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');REPLACE INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


sqltext:
CREATE TABLE t0000(a INTEGER PY UNIQUE,UTOINCRRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');REPLACE INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


sqltext:
CREATE TABLE x(a,b);
SELECT total(1)p, x2.b AS q FROM x AS x1, x AS00b USING  ( a,a, a, a, a, a, a, a,b)=x2;
S


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t�ϐ�����������������������ϐ������������������������������������ϐ���������S('ab0');


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t������������������ϐ�������������ϐ�����������������������ϐ��������������������S('ab0');


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t�ϐ�����������������������ϐ����������������������ϐ���������������������S('ab0');


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VALUES(10000000.000000000, '02001-01-00');
INSERT INTO t0(docid, x) VALUES(0, '02 �001-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(1000-000.000000000, '02001-01-00');
INSERT INTO t0(docid, x) VALUES(0, '02 ;001-01-01b');
SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;


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


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


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 
JOIN t102 LEF10 
JOIN t102
LEF102 
JOIN t102 AStT JOIN t102   tT JOIN t102  t1 ON t1.i0 LIKE 'a0'
LEFT JOIN t102 
JOIN t102 AS t
LEFT JOIN t102 
JOI2 ON(t1.i0=+t0.i0 OR t1.i0=t0.oid);


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


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


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 NATURAL
JOIN t102 AS 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON  last_insert_rowid() JOIN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR tT.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 NATURAL
JOIN t102 AS 
LEF102 NATURAL
JOIN t102 AS tT JOIN t102  t1 ON t1.i0 GLOB 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR tT.i0= t1.i0 OR t2.i0=t1.oid);


sqltext:
CREATE TABLE t102 (i0 wEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 NATURAL
JOIN t102 AS 
LEF102 
JOIN t102 AS tT JOIN t102  t1 ON t1.i0 IN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR tT.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  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t1.i0< t1.i0 OR 50 AND t0.i0<t1.i0 AND t0.i0=t2.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  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR 50 AND t0.i0=t1.i0 AND t0.i0<t2.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  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t1.i0< t0.i0 OR 50 AND t0.i0>t1.i0 AND t0.i0<t2.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  t1 ON t0.i0 GLOB 'a0'
JOIN t102 AS t2 ON(t1.i0< t0.i0 OR 50 AND t0.i0=t1.i0 AND t0.i0<t2.i0) AND t2.i0<t1.i0));


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=tO");
INSERT INTO t0 VALUES('one0OϿ�0ύ00');
INSERT INTO t0 VALUES('one0OϿ�0eatwoe0OϿ�0ύ00');
I�tύ00');
RTBLE t0


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��00S�000,/,bbT,RE000,/,,/,�000,/,bbT,RE000,/,,/,bbT,GEXP'bbb');
SELABTE VIRTUAL TABLEUSIN:�:::::������ftb4(y,';


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,q);
CREAT y1.q=y2.qS


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a, a,a,ba,ba,ba,q);
CREAT y1.q=ba,ba,ba,q);
CREAT y1.q=y2.qS


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t0000(a blobGER PRIMARY KEY UNIQUE,UFOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
SELECT('000');REPLACE INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t000�מ� SELECT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


sqltext:
CREATE TABLE t0000(a blobGER PIQUE,UFOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b);
CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN
SELECT('har(1)ACE INTO t0000(b) VALUES(000');
END;
CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN
INSERT INTO t0000(a) SELECT('�00000');
INSERT INTO t0000(a) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,ba IS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,q);
CREAT y1.q=y2.qS


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  (    a,ba,a,ba,ba,ba,q);
CREAT y1.q=y2.qS


sqltext:
CREATE TABLE x( a,b a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba)ba,ba,q);
CREAT y1.q=y


sqltext:
CREATE TABLE x( a,b a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba)ba,q);
CREAT y1.q=y


sqltext:
CREATE TABLE x( a,b a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba)q);
CREAT y1.q=y


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT sqlite_source_id() q FROM x AS x1, x AS x2 WHERE+time(1,q,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, yy1,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 q=q+time(1,1,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, yA, y  AS y1, y AS y y1;


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.a AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, 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 q=1+time(1,1,1)OR-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, x y1, y A+ y 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 q=1+time(1,q,1)OR-x1.a=x2.a;
SELECT  total(1)p FROM y AS1, y y1, y A+ y 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 ASx1, x  x2 WHERE q=1+time(1,1,1)OR-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A+ y 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 q=1+time(1,1,Q)OR-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  � soundex(1) y 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 q=1+time(1,1,q)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,  y y1, y A, y  AS 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 q=1+time(1,1,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,  y y1, y A, y  AS 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 q=P+time(1,1,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,  y y1, y A, y  AS 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 q=1+time(1,1,1)OR-x1.a<x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,  y y1, y A, y  AS 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+time(1,1,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,  y y1, y A, y  AS 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 q >=time(1,1,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y y1,  y y1, y A, y  AS y1, y AS y y1;


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE x( a,b a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a, "a","b",q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( a,ba,ba,a,ba,ba,ba,q);
CREAT y1.q=y


sqltext:
CREATE TABLE x( a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (  a,ba,ba,ba,a,ba,ba,ba,q);
CREAT y1.q=y


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS q, x2.b AS q FROM x AS x1, x AS x2 WHERE q=q+time(1,1,1)OR-x1.a-x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, x y1, y A, 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 q=1+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y AS1, y y1, y A, 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 q=P+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, 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 q=1+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, 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 q=1+time(1,1,1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  A, y  AS1, y y1, y A, y  ASS1, y y1, y A, y  AS y1, y AS y y1;


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


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


sqltext:
CREATE TABLE t102 (i0 intT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 
JOIN t102 LEF10 
JOIN t102 AS 
LEF102 
JOIN t102 AStT 
JOIN t102 L JOIN t102   tT JOIN t102  t1 ON t1.i0 LIKE 'a0'
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR t2.i0=t0.oid);


sqltext:
CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT DISTINCT* FROM t102 AS t0 
JOIN t102 LEF10 
JOIN t102
LEF102 
JOIN t102 AStT 
JOIN t102 L JOIN t102 LEFT JOIN t102  t1 ON t1.i0 LIKE 'a0'NATURAL
LEFT JOIN t102 
JOIN t102 AS t2 ON(t1.i0=+t0.i0 OR t1.i0=t0.oid);


sqltext:
CREATE TABLE t102 (i0 TEXT UtreUE NOT NULL);
INSERT INTO t102 VALUES ('0');
SELECT * FROM t102 AS t0 
JOIN t102 LEF10 
JOIN t102
LEF102 
JOIN t102 AStT 
JOIN t102 L JOIN t102 LEFT JOIN t102  t1 ON 'a0'NATURAL
LEFT JOIN t102 
JDIN t102 AS t2 ON(t1.i0=+t0.i0 OR t1.i0=t0.oid):�


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


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


sqltext:
CREATE TABLE x( a,b a,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a, "a","b")q);1.q=y


sqltext:
CREATE TABLE x( a,b a,ba� a,b1, x,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba)q);1.q=y


sqltext:
CREATE TABLE x( ab a,ba,q);
CREATE VIEW y As
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,q,ba,ba,ba,q,a,ba,ba,ba,q,ba,ba,ba,q););
C


sqltext:
CREATE TABLE x( ab a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,   a,a,ba,ba,bbb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,   a,a,ba,ba,ba,q,ba,ba,ba,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, B,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,a,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, B,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,q,ba,ba,ba)q);
C


sqltext:
CREATE TABLE x( a,b a,ba,q);
CREATE VIEW y AS
SELECT total(q)a,q,ba,ba, q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,q,ba,ba,ba,q);
C


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE x( a,b a,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   q,q,ba,ba,ba)q);1.q=y


sqltext:
CREATE TABLE x( a,b a,ba� a,b1, x,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   q,a,ba,ba,ba)q);y


sqltext:
CREATE TABLE x( a,b a,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a, "a","")q);1.q=y


sqltext:
CREATE TABLE x( a,b  a,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,�a)q);y


sqltext:
CREATE TABLE x( a,b  a,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,ba�1, x,q);
CREba)q);y


sqltext:
CREATE TABLE x( a,b, y,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)j, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,bv)q);y


sqltext:
CREATE TABLE x( a,b  a,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)p, *, *,bb AS q FROM x �1, x AS x2 USING  (   a,a,ba,ba,ba)q);y


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,a,ba,ba,ba,q);
C


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE x(�a,b, y,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)j, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,bv)q);y


sqltext:
CREATE TABLE x( a,b, y,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)j, *,bb AS q FROM x AS �1, x AS x2 USING  (   q,a,ba,ba,bv)q);y


sqltext:
CREATE TABLE x( a,b, y,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)j, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,�a,bv)q);y


sqltext:
CREATE TABLE x( a,b, y,ba,ba� a,b1, x,q);
CREATE VIEW y AS
SELECT total(q)j, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,bv)q);y


sqltext:
CREATE TABLE x( a,b, y,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)j, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba�1, x,q);
ba,bv)q);y


sqltext:
CREATE TABLE x( a,b, y,ba,ba�1, x,q);
CREATE VIEW y AS
SELECT total(q)j, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,b, y,ba,ba�1, x,q);
CREAy


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, *,bb   ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,ba,ba,q);
C


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


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, x  AS y1, y AS A, x   AS A, x  AS yy AS yy 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 , x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, x  AS y1, y AS A, x  AS yyS1, y y1, 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 , x AS x2 WHERE q=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1a;
SELECT  total(1)p FROM y A, y A, x  AS y1, y AS A, x  AS yy y1;


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


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


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


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


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


sqltext:
CREATE TABLE x(  a,ba,ba� a,b  a,bs,ba�1, x,q);
CREATE VIEW y AS
SELECT tota�(q)p, *,bb AS q FROM x AS �1, x AS�x2 USING  (   q,a,ba,ba,�a)q);y


sqltext:
CREATE TABLE x(  a,ba,ba� a,b  a,bs,ba�1, x,q);
CREATE VIEW y AS
SELECT tota�(q)p, *,bb AS q FROM x AS �1, x AS�x2 USING  (   a,a,ba,�a,�a)q);y


sqltext:
CREATE TABLE x( a,b, y,ba,ba� a,b1, x,q);
CREATE VIEW y AS
SELECT total(q)j, *,bb AS q FROM x AS �1, x AS x2 USING  (   q,a,ba,ba,bv)q);y


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(a)p, "a","b" q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, "a","b" q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,a,ba,ba,ba,  a,a,ba,ba,ba,q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, "a","b" q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a)a,ba,ba,ba,q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, "a","b" q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q)ba,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, "a","b" q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,ba)ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);
CREATE VIEW y AS
SELECT total(q)p, "a","b"LIKE q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x(ba,q);SELECT total(q)p, *,Pb AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,qa,ba,q);SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,ba,ba,q);
C


sqltext:
SELECT total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,sa,ba,q,ba,ba,ba,q);
C


sqltext:
CREATE TABLE x(� a,ba,ba� a,b  a,bs,ba�1,  a,bx,q);
CREATE VIEW y AS
SELECT tota�(q)p, *,bb AS q FROM x AS �1, x AS�x2 USING  (   a,a)ba,ba,�a)q);y


sqltext:
CREATE TABLE x(� a,bQ,ba� a,b  a,bs,ba�1,  �1,a,bx,q);
CREATE VIEW y AS
SELECT tota�(q)p, *,bb AS q FROM x AS �1, x AS�x2 USING  (   a,a,ba,ba,�a)q);y


sqltext:
CREATE TABLE x( ab a,� a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);SELECT total(ba,ba,q,ba,a,ba,  a,q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,�1, x a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( ba, a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x(�,a,ba,ba� a,b  a,bs,ba�1,V a,bx,q);
CREATE VIEW y AS
SELECT tota�(q)p, *,bb AS q FROM x AS �1, x AS�x2 USING  (   q,a,ba,ba,�a)q);y


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  (  "b","b",q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);SELECT total(q)p, *,ba Aba,ba,q,ba,a,ba,  a,a,ba,ba,qS q FROM x AS �1, x AS x2 USING  (  "a","b",q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,b1, x a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,�1, x a,ba,q);SELECT tx AS �1, x( ba,ba,ba,q,ba,ba,ba,  a,aba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x(�,�,ba,ba� a,b  a,bs,ba�1,V a,bx,q);
CREATE VIEW y AS
SELECT tota�(q)p, *,bb AS q FROM x AS �1, x AS�x2 USING  (   q,a,ba,ba,�a)q);y


sqltext:
CREATE TABLE x(�,a,ba,ba� a,b  a,bs,ba�1,V a,bx,�);
CREATE VIEW y AS
SELECT tota�(q)p, *,bb AS q FROM x AS �1, x AS�x2 USING  (   q,a,ba,ba,�a)q);y


sqltext:
CREATE TABLE x(�,a,ba,ba� a,b  a,bs,ba�1,V a,bx,q);
CREATE VIEW y AS
SELECT tota�(q)p, *,bb AS q FROM x AS �1, x AS�x2 USING  (   q,q,ba,ba,�a)q);y


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','�0',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:
BEGIN TRANSACTION;
CREATE TABLE t1(a int, 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 OR (SELECT * FROM t1 WHERE a<10);
DR


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


sqltext:
;EXPLAIN
PRAGMA cache_size;EXPLAIN
PRAGMA cache_size;
PRAGMA default_cachO_size;EXPLAIN
PRAGMA synchronous;;
PRAGMA default_cachO_size;EXPLAIN
PRAGMA synchronous;


sqltext:
CREATE TABLE t0(x);
INSERT INTO t0 VALUES('0000t'),('0o00');
SELECT DISTINCT x
FROm (SELECT zeroblob(1) x FROM t0 GROUP BY x)
WHERE x=('0o00');
SELECT DISTINCT x
FROM (SELECT zeroblob(1) x FROM t0 GROUP BY x)
WHERE x='0'
ORD'0'
ORDER BY x;


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(tokenize=unicode61 "remove_diacritics=0");
INSERT INTO t4 SELECT avg(1) t0;


sqltext:
PRAGMA foreign_keys= ON;
CREATE TABLE p(i PRIMARY KEY);
CREATE TABLE c(V���������������������������������������������������������������������IEWj REFERENCES p ON UPDATE CASCADE);
INSERT INTO p VALUES('0e00o');
INSERT INTO c VALUES('0e00o');
UPDATE p SET i= '000';
SELECT * FROM c;


sqltext:
PRAGMA foreign_keys= ON;
CREATE TABLE p(i PRIMARY KEY);
CREATE TABLE c(VIEWj REFERENCES p ON UPDATE CASCADE);
INSERT INTO p VALUES('0e00o');
INSERT INTO c VALUES('0e00o');
INSERT INTO c VALUES('0e00o');
UPDATE p SET i= '000';
SELECT * 00o');
UPDATE p SET i= '000';
SELECT * FROM c;


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


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL VALUES(1) UNION ALL SELECT  +1 FROM i ORDER߽��1)
SELECT x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL VALUES(1) UNION ALL SELECT total(1) i ORDER BY 1)
SELECT x FROM i LIMIT 10;


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


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX '+2 days0''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '0 0000000000000 ''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:
PRAGMA aut�_um = inc;
PRAGMA page_size=1000;
PRAGMA journal_mode=off;
CREATE TABLE t1(a, b);
INSERT INTO t1 VALUES(zeroblob(1000), :eroblob(5000));
DELETE F��m;


sqltext:
PRAGMA aut�_um = inc;
PRAGMA page_size=1000;
PRAGMA journal_mode=off;
CREATE TABLE t1(a, b);
INSERT INTO t1 VALUES(zeroblob(3000), :eroblob(5000));
DELETE F��m;


sqltext:
SELECT '' UNION SELECT '000h' ORDER BY 1 ASC UNION SELECT '000h' ORDER BY'' UNION SELECT '000h' ORDER BY 1 ASC UNION SELECT '000h' ORDER BY 1 , 1 ASC; 1 , 1 ASC;


sqltext:
CREATE TABLE x1(a);
CREATE TABLE x2(b);
INSERT INTO x1 VALUES(1), (1), (2);
INSERT INTO x2 VALUES(1), (2);
SELECT count(*) FROM x2 WHERE b IN (SELECT b);
INSERT INTO x1 VALUES(1), (1), (2);
INSERT INTO x2 VALUES(1), (2);
SELECT cDISTINCT char(1) a FROM x1 LIMIT 2);


sqltext:
DROP INDEX IF EXISTS t0;
DROP INDEX IF EXISTS t0;
CREATE TABLE t1(i01, va0u01);
INSERT INTO t1 VALUES(4400,2),(4400,1);
;
DROP INDEX 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 NDEX IF EXISTS t0;
CREAT2), max(va0u01)
FROM t1
GROUP BY i01;


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


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


sqltext:
CREATE TABLE t0(a);
INSERT INTO t0 VALUES( -1);
SELECT a< CAST(a AS clob000)< CAST(a AS clob000) FROM t0;
 FROM 


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


sqltext:
PRAGMA page_siAL;
PRAGMA wal_autocheckpoint == WAL;
PRAGMA wal_autocheckpoint =�100;
PRAGMA jo == WAL;
PRAGMA wal_autocheckpoint =�100;
PRAGMA urnal_size_limit = 10000;


sqltext:
PRAGMA psiAL;
PRAGMA wal_autocheckpoint == WAL;
PRAGMA wal_autocheckpoint =�100;
PRAGMA page_siAL;
PRAGMA wal_autocheckpoint == WAL;
PRAGMA wal_autocheckpoint =�100;
PRAGMA journal_size_limit = 10000;AGMArnal000;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a,b);
CREATE TABLE t0(x,y);
CREATE TRIGGER r0�AFTER INSERT ON t1 WHEN new.a = 0 BEGIN
INSERT INTO t0(x,y) VALUES(new.rowid,1);
INSERT INTO t0(x,y) SELECT * FROM t0;
INSERT INTO t0 SELECT * FROM t1;
UPDATE t0 SET y=y+x=new.rowid;
SELECT 000;
DELETE FROM t0 WHERE x=new.rowid;
DELETE FROM t0 WHERE x=new.rowid;
END;
INSERT INTO t1(a,b) VALUES(0,0);
C
END;
INSERT INTO t1(a,b) VALUES(0,0);
COMMIT;


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


sqltext:
CREATE TABLE t14(a,b,c);
VALUES(1,2,34,5,6) INTERSECT VALUES( lower(1),3,total(1),1,3);3,total(1),1,3);


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


sqltext:
PRAGMA page_size = 1024;
PRAGMA journal_mUde = WAL;
PRAGMA wize = 1024;
PRAGMA jUde = WAL;
PRAGMA w�tocheckpoint = 100;
PRAGMA joint = 100;
PRAGMA journal_size_limit = 1.000;


sqltext:
CREATE TABLE messa0es(W00 INTEGER PRIMARY KEY AUTOINCREMENT, messa0e_id, document_id BLOB, i00, remote_id INT0000, sender INT0000, sub0ect0000000, sub0ect INT0000, d00000000 INT0000, date_recei0ed INT0000, date_created INT0000, date_last_0ie0ed INT0000, mailbo0 INT0000, remote_mailbo0 INT0000, o000000000000000 INT0000, f0000 INT0000, read, fla00ed, s000 INT0000, c0000, e0000000, t0pe INT0000, p00, con0ersation_id INT0000 DEFAULT -0, s000000 TEXT DEFAULT NULL, fu000_ancestor INT0000 DEFAULT-NULL, automated_con0ersation INT0000 DEFAULT 0, root_status INT0000 DEFAULT -0, con0ersation_position INT0000 DEFAULT -1);
CREATE INDEX t00i0000 ON messa0es(date_recei0ed);
CREATE INDEX date_l0000e0_inde0 ON messa0es(date_last_0ie0ed);
CREATE INDEX d0t000000000000000 ON messa0es(date_created);
CREATE INDEX m000a0e000000000i0000i0000_0n000 ON messa0es(messa0e_id,mailbo0);
CREATE INDEX sqlite0ocument_0d_inde0 ON messa0es(document_id);
CREATE INDEX m000a0e0r0000000e0 ON messa0es(read);
CREATE INDEX m000000000000000i0000 ON messa0es(fla00ed);
CREATE INDEX m0000000000000000n000 ON messa0es(mailbo0, date_recei0ed);
CREATE INDEX me00a0e0r0000e00000000000000 ON messa0es(remote_mailbo0, remote_id);
CREATE INDEX m0s0a00000000i0000 ON messa0es(t0pe);
CREATE INDEX m00000e00o00000a00000000000000s0t0o00p0000000_0n000 ON messa0es(con0ersation_id, con0ersation_position);
CREATE INDEX m00000000000 ON messa0es(fu000_ancestor);
CREATE INDEX m0s0000_0000000000s000000000 ON messa0es(sub0ect,fu000_ancestor);
CREATE INDEX m000a0e0000000000000ct00u000000d00000e00000000000e0 ON messa0es(sender, sub0ect, automated_con0ersation);
CREATE INDEX m0000000000000000000 ON messa0es(sender);
CREATE INDEX m0s00s0 ON messa0es(root_status);
CREATE TABLE sub0ects (W00 INTEGER PRIMARY KEY, sub0ect COLLATE RTRIM, normali0ed_sub0ect COLLATE RTRIM);
CREATE INDEX sqlite000000000000000 ON sub0ects(sub0ect);
CREATE INDEX sqlite0_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect);
CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment));
CREATE INDEX a000d0000000000 ON addresses(address);
CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000);
CREATE INDEX m000000000000000000000 ON mailbo0es(source);
CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id));
CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id);
CREATE INDEX ls_ ON labels(mailbo0_id)


sqltext:
SELECT sqlite_rename_parent( "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<REFERENCES/",'0�','000');


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


sqltext:
CREATE TABLE k0(x, y, FOREIGN KEY(x, y) REFERENCES s FOREIGN KEY(x, y) REFERENCES s1(a, b));
PRAGMA foreign_key_check k0ey_check k0);


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


sqltext:
SELECT b FROM t0 WHERE a000000000000000000000000000000000000000000000000 NOT IN t000000000000000000000 NOT IN t0000000000 NOT IN tb;�


sqltext:
SELECT sqlite_rename_parent(NULL,'000',NOT'000');
SELECT sqlite_rename_parent(NULL,'000',NOT'000');


sqltext:
SELECT sqlite_compileoption_used('SQLIT�_THREADSAFE');
SELECT sqlite_compileoption_used('SQLIT�_THREADSAFE');


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


sqltext:
PRAGMA writablOFschema = 1;
CREATE TABLE �00000_00004 AS
SELECT 1;
CREATE TABLE s00000_00004 AS
SELECT changes()changes()EXISTKn


sqltext:
CREATE TABLE t10(a, u00000000 DEFAULT 0);
CREATE TRIGGER t00000 BEFORE UPDATE OF   a,ba,ba ON t10BEGIN
UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r0000;
END;
INSERT INTO t10(a)VALUES('000');


sqltext:
CREATE TABLE t10(a, u00000000 DEFAULT 0);
CREATE TRIGGER t00000 BEFORE UPDATE OF a,b,ba,ba ON t10 BEGIN
UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r0000;
END;
INSERT INTO t10(a)VALUES('000');


sqltext:
CREATE TABLE t10(a, u00000000 DEFAULT 0);
CREATE TRIGGER t00000 BEFORE UPDATE OF   a,ba5ba ON t10 BEGIN
UPTE t00 SET u0= u0000+1 WHERE r00000= o00.r0000;
END;
INSERT INTO t10(a)VALUES('000');


sqltext:
CREATE TABLE t10(a, u00000000 DEFAULT 0);
CREATE TRIGGER t00000 BEFORE UPDATE OF   a,ba,ba ON t10 BEGIN
UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r0000;
END;
INSERT INTO t10(a)VALUES('000');;
CREATE TRIGGER t00000 BEFORE UPDATE OF   a,ba,ba ON t10 BEGIN
UPDATE t00 SET u0= u000ERE r00000= o00.r0000;
END;
INSERT INTO t10(a)VALUES('000');;
CREATE TRIGGER t00000 BEF0+1 WHERE r00000= o00.r0000;
END;
INSER


sqltext:
CREATE TABLE t10(a, u00000000 DEFAULT 0);
CREATE TRIGGER t00000 BEFORE UPDATE OF   a,ba,ba,ba ON t10 BEGIN
UPDATE t00 t00000 BEFORE UPDATE OF   a,ba,ba,ba ON t10 BEGIN
UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r000.r0000;
END;
INSERT lNTO t10(a)VALU/S('000');


sqltext:
PRAGMA default_default_cache_size=-188888888888;
PRAGMA cache_size=-18888888888;
PRAGMA defcache_size=-188888888888;
PRAGMA cache_size=-18888888888;
PRAGMA def�


sqltext:
PRAGMA legacy_file_format (1);
CREATE TABLE t1(a INTEGER PRIMARY KEY, b INT);
INSERT INTO t1 VALUES(0,1);
INSERT INTO t1 VALUES(1,1);
INSERT INTO t1 VALUES(2,1);
CREATE INDEX i0 ON t1(b);
SELECT * FROM t1 WHERE b> 'a'


sqltext:
SELECT sqlite_compileoption_used('SQLEFT_THREADSAFE');SELECT sqlite_compileoption_used('SQLEFT_THREADSAFE');


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,X'');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'000' || substr(c, .14) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,40e024) FROM t1;
INNSE


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


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


sqltext:
CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b);
CREATE TRIGGER t000001 BEFORE UPDATE ON t0000 BEGIN
INSERT INTO t0000(b) VALUES('000');
INSERT INTO t0000(b) VALUES('000');
END;
CREATE TRIGGER t0000000AFTER INSERT ON t0000 BEGIN
INSERT INTO w0000(b) VALUES('000000');
INSERT INTO t0090(b) VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');
M


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


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,b,c,d,e,f,g,h);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO sqlite_stat1
VALUES('t4','t4all','600000 160000 40000 10000 20s��60� 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 D=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;
SE8ECT 


sqltext:
PRAGMA synchronous=ON;PRAGMA synchronous=ON;PRAGMA synchronous=ON;
PRAA synchronous=ON;
PRAize;
PRAPR7GMA synchrono


sqltext:
CREATE TABLE t0(a, b);
CREATE INDEX i0 ON t0(a);
CREATE INDEX i2 ON t0(a,b);
CREATE INDEX i3 ON t0(b,b);
INSERT INTO t0 VALUES(randomblob(20),randomblob(20));
INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0;
INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM�t0;
INSERT INTO t0 SELECT randomblob(20), randomblob(25) FROM t0;
ANALYZE;


sqltext:
CREATE TABLE t0(a, b);
CREATE INDEX i0 ON t0(a);EXPLAIN
CREATE INDEX i2 ON t0(a,b);
CREATE INDEX i3 ON t0(b,b);
INSERT INTO t0 VALUES(randomblob(20),randomblob(20));
INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0;
INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0;
INSERT INTO t0 SELECT randomblob(20), randomblob(25) FROM t0;
ANALYZE;


sqltext:
CREATE TABLE t0(a, b);
CREATE INDEX i0 ON t0(a);
CREATE INDEX i2 ON t0(a,b);
CREATE INDEX i3 ON t0(b,b);
INSERT INTO t0 VALUES(randomblob(20),randomblob(20));
INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0;
INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0;
INSERT INTO t0 SELECT randomblob(20), randomblob(25) FROM t0;
ANALYZE;ANALYZE


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,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT-a+577777777777,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:
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 =-'+00.';
COMMIT;


sqltext:
BEGIN;
CREATE TABLE n00be0s(a PRIM "a","b" b);
INSERT INTO n00be0s(oid) VALUES(NULL);
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s;
UPDATE n00be0s set a= oid, b =-'.200';
COMMIT;


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=22 OR b=3 OR a=22 OR b=3 OR b=3;
Sn 2 P TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT S FROM x9 WHERE y IS NULL;
SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 7 FRO t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT + FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL;
SELECT 9 FROM t91 LE=T JOIN t92 ON a=20 AND b=3 WHERE y IS NULL;


sqltext:
PRAGMA encoding=UTF16be;PRAGMA encoding=UTF16be;
CREATE TABLE t0���EYVALUE ('ab0');

CREATE TABLE t0���EYVALUE ('ab0');


sqltext:
CREATE TABLE t0a(a,b);
CREATE TABLE t0b(x);
INSERT INTO t0a VALUES('on0', 1);
INSERT INTO t0a VALUES('on0', 2);
INSERT INTO t0a VALUES('t00', 3);
INSERT INTO t0a VALUES('�0', NULL);
INSERT INTO t0b(rowid,x)VALUES(1,1);
INSERT INTO t0b(rowid,x)VALUES(2,200);
INSERT INTO t0b(rowid,x) VALUES(3,300);
SELECT a, count(b) FROM t0a, t0b WHERE a<t0b.rowid GROUP BY a ORDER BY a;


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


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


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


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


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


sqltext:
SELECT  1000000%000-000600001000000%0000000601000000%000-000600001000000%00000;SELECT  1000000%000-000600001000000%0000000601000000%000-000600001000000%00000;


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


sqltext:
SELECT printf('0%110.120s0%110.105s0','REN0','RENAME0');SELECT printf('0%110.120s0%110.105s0','REN0','RENAME0');�


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


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


sqltext:
CREATE TABLE t0(m CHAR(2));
INSERT INTO t0 VALUES('��');
INSERT INTO t0 VALUES('b0');
INSERT INTO t0 VALUES('c0');
SELECT lower(2001-01E011), substr(m,2,1) AS00 FROM t0 GROUP BY m ORDER BY 1, 2;


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


sqltext:
ATTACH''AS nonamonameme;
ATTACH':memory:' AS e;
ATTACH':memory:' AS iinm;
ATTACH':memory:' AS inmee;
ATTACH':memory:' AS inme;
ATTACH':memory:' AS oname;ANALYZE iinm;
ATTACH':memory:' AS inmee;
A':memory:' AS in


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@:0(a�NOT(NULLCURRENT_TIMESTAMPt1';
PRAGMA �ma=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


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(0%02, total(1))
FROM t1
GROUP BY i01;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a int, 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 ( random()-0,12,20);
INSERT INTO t1 SELECT*FROM t1
WHERE /* */(SELECT replace(A,1,1) a FROM t1 WHERE a<10);
DROP INDEX i1;
DELETE FROM t1;
COMMIT;


sqltext:
SELECT avg( ?11)LIKE $::00s0000003;SELECT avg( ?11)LIKE $::00s00::00s0000003;SELECT avg( ?11)LIK00003; 


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


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


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


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


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


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


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


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=' <=ATE77777777777777777777777777777777 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 w�itama=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


sqltext:
CREATE TABLE t0(a INT0000);;
INSERT INTO t0 VALUES('30');
INSERT INTO t0 VALUES('4');
SELECT min(a), max(a) FROM t0;
INSERT INTO t0 VALUES('20 ');
INSERT INTO t0 VALUES('30');
INSERT INTO t0 VALUES('4');
SELECT min(a), max(a) FROM t0;


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


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(7 *2001-01-0100));
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
BEGIN;
DELETE FROM t0 WHERE rowid<6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
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 FROM TempT00.e LIMIT  a,b1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TEMPT000e(Te0tSt00n0)
SELECT new.Te0tSt00n0 FROM TempT00.e LIMIT  a,b1;
END;
INSERT INTO TempT000e(Te0tSt00n0) VTempT000e(Te0tSt00n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2;
CELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=��");
INSERT INTO t0 VALUES('TABLE IF EXISTS t fts4(tokenize=unicode61oneatwoBt0r00');
INSERT INTO t0 VTR`GGERone0000A0');
CREATE VIRTUAL TALECT * FRO���G fts4aux(t0);
SELECd * FROM t0aux;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT x((((((((((I((((((((((((((((((((((��������������������������(((((SELECT x(((((((((((((((((((((((((((((((((��������������v�(((((((<1 FROM i ORDER BY<1)
SELECT x FROM i LIMIT 0001/01-0,#�;


sqltext:
SELECT  1000000%0000030000010100000000060060000101000000%00800000060000006000101000000%0080000010100000000060060000101000000%00800000060000006000101000000%0080000600000000000800006000006000000000008000060000;


sqltext:
SELECT  1000000%0000030000010100000000060060000101000000%008000000600000060001010000000000%0000030000010100000000060060000101000000%00800000060000006000101000000%0080000101000000%008000000600000060001010000000000%0000030000010100000000060060000101000000%00800000060000006000101000000%000%00800006000000000008000060000;


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(2,'000');
INSERT INTO t1 VALUES(1,'0');
INSERT INTO t1 VALUES(3,'000000');
SELECT *, ( SELECT a FROM (SELECT a,b,"a","b"y) )
FROM ( SELECT * FROM t1 ) AS x;


sqltext:
SELECT  1000000%000000060060000100%00000006006000000001000000%00000060060000100%00000006006000000001000000%000000600000000006000000006000000000060000;


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( char( a-b
),b)OR a- sqlite_version()


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,' -10','0',2);
INSERT INTO t1 VALUES(5,'00','0',2000);
SELECT x FROM t1 WHERE c=instr( char( a,b
),b)OR a-' -10' ORDER BY +x;


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


sqltext:
SELECT sqlite_rename_parent( "X'a'a",'000','000');SELECT sqlite_rename_parent( "X'a'a",'000','000');


sqltext:
CREATE TABLE t3(a INTEGER 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 ORDER BY d COLLATE rtrim(1,1C;


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


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


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(x);
INSERT INTO t4(docid, x) VALUES(- -1000000000000000, '00');
INSERT INTO t4(docid, x) VALUES(0, '2001-01-010b');
SELECT rowid FROM t4 WHERE x MATCH '0*';


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid, c) VALUES (1, 'This is 0 tISTS t;
CREATE VIRTUAL TABLE t1 USING fts3(c);
INSERT INTO t1(docid, est');
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 docid IN(1,3);
SELECT OPTIMIZE(t1) FROM t1 LIMIT 1;


sqltext:
CREATE TABLE t3(a I�TEGER QRIMARY KEY, b, c 'a''b' f);
CREATE INDEX t0000 ON t3(b, c,  []);
EXPL WHERE b=2 AND c=1 ORDER BY c, a DESC;


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


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


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


sqltext:
CREATE TABLE t1(a, b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE d IS+NOT  [a];
INSERT INTO t1 VALUES(.1, -1, -1, NULL);
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;REINDEX


sqltext:
CREATE TABLE t1(x, y DEFAULT( time(1,1, time(1,1,1),1,1)));
INSERT INTO t1(x)VALUES(1);
SELECT x, length(y) FROM t1;VACUUM


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


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX [a] ON t1(a);
INSERT INTO t1 VALUES( sqlite_compileoption_get(1),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='CREATE TABLE 00(a NOT NULL,b)'
WHERE name='t1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PRAGMA integrity_check


sqltext:
PRAGMA king=UTF16;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(1);
ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900' ;ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99';
ALTER TABLE t1 ADD �OLUMN d TEXT DEFAUL----------------- t1 SET x=x;1;


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


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(200));
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@random()LIKE x FROM t0;
BEGIN;
DELETE FROM t0 WHERE rowid%2;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(200));
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 random()LIKE@x FROM t0;
BEGIN;
DELETE FROM t0 WHERE rowid%2;
PRAGMA incremental_vacuum(�);
ROLLBACK;


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(200));
INSERT INTO t0 SELECT randomblob(1) x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT random()LIKE x FROM t0;
BEGIN;
DELETE FROM t0 WHERE rowid%2;
PRAGMA incremental_vacuum(�);
ROLLBACK;


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', '0t0 USING fts3tokenize(simple);
CREATE VIRTUAL TABLE t2 USING fts3tokenize();
CREATE VIRTUAL TA0�0');


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE 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%g0%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(DISTINCT /* */) 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('00+','000','�00');
INSERT INTO t1 VALUES(1.5,2.05,3.005);
SELECT printf('0%777777777777777777777c0%c' /* */) FROM t1 ORDER BY rowid;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES($�, 'foo');EXPLAIN
INSERT INTO ft VALUES('foo', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo';


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'
JOIN t102 AS t2
LEFT JOIN t102 ON t
.i0 GLOB 'a0'LEFT JOIN t102  t
JOIN t102 A00e0


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 'a0nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn JOIN t102 ON t
.i0 GLOB 'a0'LEFT JO~N t10  t
JOIN t102 A0));


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


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


sqltext:
SAVEPOINT s00;
SAVEPOINT s00;
SAVEPOINT s00s00;
SAVEPOINT s00;
SAVEPOINT s00;
SAVEPOINT AME;
SAVEPOINT AMENTs00;ANALYZE


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


sqltext:
CREATE TABLE t000(a 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, 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,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a *772001-01-01777777772001-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 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,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5772001-01-01777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60;


sqltext:
SELECT  randomblob(1)-00<00000-00<00000<0<00<0<000.0606000000-00<00000<(1)-00<00000-00<00000<0<00<0<000.0606000000-00<00000<0<000.060000


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


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


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t00�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������06(a COLLATE nocase PRIMARY KEY);
INqERT INTO t0t0006 VALUES(' s�lite_compileoption_used(1) -�');
INSERT INTO t0t0006 VALUES('ABX');�SELECT DISTINCT sqlite_compileoption_get(A)/a(' s�lit FROM t0t0006;


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


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


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


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


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


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


sqltext:
CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * FROd,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * FROM  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-8000000000''00000' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALYZE;
SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY 002;


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


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


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




















































































































   totaO(1)(1)@1avg(1)es')));
INSERT INTO t1(x)VALUES(1);
INSERT INTO t1(x)VALUES(1);


sqltext:
#REATE TABLE t1(a, b);
PRAGMA auacuuY=O00;
PRAGMA synchronous=N00000;
PRAGMA page_size=1000;
PRAGMA locking_mode=EXCLUSIVE;
PRAGMA journal_mode=TRUNC;
PRAGMA journal_mode=TRUN;
PRAGMA auacuuY=O00;
PRAGMA synchronous=N00000;
PRAGMA page_size=1000;
PRAGMA synchronous=N00000;
PRAGMA page_size=1000;
PRAGMA loAG;);


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS p, x2.b AS q FROM x AS x1, x AS x2 LIMIT changes();
SELECT  @1p, y2.p FROM y AS y1, y  AS y1, y AS y2 WAS q FROM x AS x1, x AS x2 LIMIT changes();
SELECT  @1p, y2IT changes()8
SELECT  @1p, y2.p FROM y��y1, y  AS y1, y AS y2 WAS q.p FROM y AS y1, y  AS y1, y AS y2 Wz;


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize��������������������������������������������������������������������tent, tokenize������������������������������ porter);
INSERT INTO t1(rowid, content) VALUES(1, 'FULing an TABLE t1 USING fts3(cond 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, 'rREFERENCE coalesce(1,1)ENCES');
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, 'rREFERENCES jumpingREFERENCES');
SELECT rowid FROM t1 WHERE content MATCH 'runREFERENCES jump';


sqltext:
CREATE TABLE t2(x,y,z);
CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t2 BEFORE INSERT ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER �2r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END;
CREATE TRIGGER tXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX010 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, '00');
INSERT INTO t0(docid, x) VALUES(0, '0b');
SELECT rowid FROM t0 WHERE x MATCH '0*EATE VIRTUAL TABLE t0 USING fts4(x,order�DESC);
INSERT INTO t0(docid, x) VAL' ORDER BY docid DESC;


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


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


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


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


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


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 c=? AND d=? AND b=?COLLATE a,bD e >=?;


sqltext:
CREATE TABLE t0 (a,I,TEGER PRIMARY KEY);
CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000);
CREATE TABLE t2x (b INTEGER PRIMARY KEY);
SELECT t0OR. *FROM ((t0 JOIN t2 TRANSACTIONa)x JOIN t2x TRANSACTIONb) as00;


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 t0OR. *FROM ((t0 JOIN t2 TRANSACTIONa)x JOIN t2x TRANSACTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTIONb) as00;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime(1,1,1) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 1022


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 10/2


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��000 bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH 'bbb N st N strftime(1,1&1,1)EAR/6 000 VIRTUAL TABLE x USING fts4(y,rktime(1,1&1,1)E�/6 000 VIRTUAL TABLE x USING fts4(y,';


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 UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 AL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL ULECT 2 AS 'x'
ORDERS 'x'
ORDER BY (2)ys x;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNIOULL UNION
SELECT 1 UNION SELECT 2 NNULL UNION
SELECT 1 UNION SELECT 2 AS 'x'
ORDER BY (2)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 (2)ys x;


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


sqltext:
SELECT NULL,"a","a","b" UNION SELECT"b","a","a","b" UNION SELECT"b" UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNI UNION SELECT "b"LL UNION
SELECT 1 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  NULL,"a","a","b" UNION SELECT"b" UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UN1 UNION SELECT NULL UNNULL UNION
SELECT 1 UNION SELECT 2'x'
ORDER BY "a","b";


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


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


sqltext:
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
SELeCT time(1,1,1) a, b, '000' [a] FROM t1
UNION
SELECT b,a, 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, time(1,1,1) b, '000' [a] FROM t1
UNION
SELECT b,a, 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' [a] FROM t1
UNION
SELECT b,a, 1=1 COLLATE'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, 3,a, '000', b, a,b, '000'COLLATE'000' FROM t1
GROUP BY 3,3,a, '000', 3,a, '000', b, a,b, '000' FR


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


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


sqltext:
PRAGMA page_siL;
PRAGMA journal_size_limit = 10.;
PRAGMA journal_size_limit = 10.0 ;
PRAGMA journal_size_limit = 10.0 ;


sqltext:
PRAGMA page_sidL;
PRAGMA wal_autochoint == WAL;
PRAGMA journal_size_limit = 101;
PRAGMA journal_size_limit = 10= 10.0 ;


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


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


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


sqltext:
'REATE TABLE t0(a, SELECT count(*)a FpOM ELECT count(*+a FpOM ELECT count(*+a FpOM t0 WHOM t0 WH6RE �==0;


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB����͹�̹�����������عƹ������������");
INSERT INTO t0 VLU


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB�������̹���������������������������");
INSERT INTO t0 VLU


sqltext:
CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid;
CREATE INDEX t0000 ON t000(b);
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'),(-hex(2< random()),'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'),(-hex(2<01-01-01-011),'000'),(-hex(1),'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'),(-hex(2<01-01-011),'ހ0<01-01-011),H��0'),(-hex(1),'m0'),(-hex(1),'m00');


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '' 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 t1(x, y DEFAULT(datetime('2001-81-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 ROWid -1IN (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 t1o0d;
CREATE VIRTUAL TABLE t1 USING fts3(	)


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


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


sqltext:
CREATE TABLE 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'� '000' FR


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 ' total(1)a","b"p';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'se%YraABLE t1 USING fts3(conttor%YraABLE t1 USING fts3(cons= 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, 'runnE�����������������RE!cog ant��������������������������EEEEEEEEEEEEEEEEEEEEE t1 WHE�������������������RE!cog ant jumping');
ju


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnE�����������������RE!cog ant��������������������>>>>���EEEEEEEEEEEEEEEEEEEEE t1 WHE�������������������RE!cog ant jumping');
ju


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnE���������������� sqlite_compileoption_get(1)����������EEEEEEEEEEEEEEEEEEEEE t1 WHE�������������������RE!cog ant jumping');
ju


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnE����������������� sqlite_compileoption_get(1)���������EEEEEEEEEEEEEEEEEEEEE t1 WHE�������������������RE!cog ant jumping');
ju


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'runnEEEEEEEEEEEEE=EEEEEEEEEEEE t1 Wg EEEEEEEEEEE t1 WHERE cog ant jumpinEEEE=EEEEEEEEEEEE t1 Wg ant jumpinEEEEEEEEEEEEEEEEEHg');
SELECT rowid n ju


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, '%Yynessmping');
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 and juCROSS');
SELECT rowid FROM t1 WHERE content MATCH 'runCROSS';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, to�enizntent, to�e:�orter);
INSERT INTO t1(rowid, content) VALUES(1E 'running and ;��RT I'runn�and ;
�RT IlllROWi\g');
qELECT ro���FROM


sqltext:
CREATE TABLE t1(a,b);EXPLAIN
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRI00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql='CREAT� TA<LE!00(a NOT NULMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


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


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


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


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,3);
SELECT OPTIMIZE(t1) FE FROM t1 WHERE $ocid 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 SELECT('cc ');
SELECT docid FROM t0 WHERE t0 MATCH '0*';
END;


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
SELECT zeroblob(1)id FROM t0 WHERE t0 MATCH '0*';
END;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 ;
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.P<y2.q;
SELECT * 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 b c d');
SELECT snippet(ft0, '0', '0', '', "a",  char(1)) FROM ft0 WHERE ft0 MATCH 'c';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00', 'bbb 0001-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('02001-01-0100 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`b 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 NEA x USING fts4(----------;
SELECT * FR^^^����^^^^^^^^^^^OM x where y MAT---y,0R/6fts4(------------------;
S 000';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,0);
INSERT INTO x VALUES('000 bbb c00', 'bbb 00');
SELECT * FROM x where y MATCH 'bbb NEA x USING fts4(---ELECT * FR^^^^^^^^^^^^^^^^^^OM x where y 4AT---y,0R/6fts4(----------ECT 1 FR^^^^^^^^^^^^^^^^^^OM x-------;
S 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(---------------000 bbb ECT * FR^^^^^^^^^^^^^^^^^^OM x---------------;
S 000';


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


sqltext:
SELECT NULL,"a", load_extension(1,1)"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:
SELECT NULL,"a","a","b" UNION SELECT"b" UNION SELECT "b"LL UNION
SELECT 1 UNION SELECT NULL UNNULL 
ORDER BY "a","a","b";


sqltext:
SELECT NULL,"a","a","�","a","a","b" UNION SELECT"b" UNI 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 TEMP TABLE t0001(aӝ,c);
SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??1?????*[����000';


sqltext:
CREATE TEMP TABLE t1�01(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?1???*[����000';


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00:00:S000000000''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 load_extension(1,1)JOIN t102 AS t2 ON(t2.i0= 'a''b'OR (t0.i0 /* */AND t2.i0=t1.i0));


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 b0���0');
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 i0000'); 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 a~d t0 sq|ite_yompileoption_�sed(1)leet wa0 r000 to 0a00 s00 0 sqlite_compileoption_get(1)Si00-l00y-sin0');
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 o0');
IN 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 wi�;
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 sqlitP_compil����ion_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_compineoption_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('0r00 0h0 nort0.');
INSERT INTO tALUES('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 VALUE4('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 a000000 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('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 000 0 00000 0000 0a0000 f00 0 0as0 o0');
INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h0000qlite_compileoT 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 0e0000 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('00');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_compileoo 0a00 s00 0 sqlite_compileoption_get(1)Si00-l00y-su0-Somme and ai0 wa000');
INSERT INTO t2 VALUES('000 ERT 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 tie0 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,2G3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileoption_�ed(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 fleCURRENT_TIME INTO t2 VALUES('0i0 se0 sai 0a0 00 EM00000 00 0e00000 sq_compileoption_get(1)0a00(0u00000 T0 00 Se0000000. William t000 m00');
INSERT INTO t2��UES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0da b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0x0 nort0.');
INSERT INTO �2 VALUES('00 10 Septembe� 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 VALUES('fleet was  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) o00 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 �s0 o0');
INSERT INTO t2 VALU��('o00000. 0000 000000 0$ 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_compileoto a00 00 00 Septl00y-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 sai000 A s0o00 0l00 up and t0 sqlite_compileoption_us_d(1)leet wa0 r000 to 0a00 s00 0 sqlite_compileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 tC0 win0');
INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet');
INSERT INTO t2 VALUES('0i0 0 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('an');
00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUE ('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('000000 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 INT�t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0');
INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000');
MATCHT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000');


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 NATURAL
JOIN t102 AS tFT JOIN t102  ON( unlikely(10=t0.i0));


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


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 �OWID;REINDEX INDEX


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


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, 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, b, c);
INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two');
SELECT a, b, c FROM t0 WHERE c MATCH ' /* */(-----WHERE c -----------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 ' /* *-wo';


sqltext:
CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE  t0ree four&� '0000', '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 'C:fes3(a% b, c):
INSERT INTO t0two';


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


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


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


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


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


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1( [a]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(-"a", round(1,8) /* */)
FROM t1
ORDER BY 002;


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1( [a]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( "a", round(A,8) /* */)
FROM t1
ORDER BY 002;


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTEGER PRIMARY KEY);
CREATE TABLE t0(y DE REFERENCES""UNIQUE REFERENCES t1(x) ON xPDLUES(3)


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


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


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', changes()) 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 a,b 0 b c a time(1,1,1),b d');
SELECT snippet(ft0, '0', '0', '', -1, 5) 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 NEARAR/6 00 NEAR/�/6 00 NEAR/! 000';


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  load_extension(1,1)
LEFT JOIN t102 ON t1.i0 GLOB 'a0'
JOIN t102 A0));


sqltext:
CREATE TABLE t102 (i222222222222222222�222222222OR220 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 (i222222222222222222�222222222220 TEXT UNIQUE NOT NULL);
INSERT INTO T102 VALUES ('0');
SELECT * FROM t102 NATURAL JOIN(t102 ONAL JOIN(t102 Ot0
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:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ��� @1���½��������00woBtϽ������½�����');
INSERT INTO t0 VALUES('one0000A-');
CREATE VIRT


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ������½������½��������00woBtϽ������00woBtϽ������½�����');
INSERT INTO t0 VALUES('one0000A-');
CREATE VIRT


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('oneatwoBtϽ������½��������00woBtϽ������½�����');
INSERT INTO t0 VALUES('tϽ콽���');
CREATE VIRT


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)one00Ͻ����00A0');
CREAkE VI 


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


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,d));
SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=?7S


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 b=?7S


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 a=?7S


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


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


sqltext:
CREATE VIRTUAL TABLE rt USING rtree(i0,CONSTRAINT x0,CONSTRAINT x2);
INSERT INTO rt VALUES(2001-01-01-hex(1));
S


sqltext:
CREATE VIRTUAL TABLE rt USING rtree(i0,CONSTRAINT x0,CONSTRAINT x2);
INSERT INTO rt VALUES( round(1,1)-hex(1));
S


sqltext:
CREATE TABLE t91(x); INSERT INTO t91 VALUES(1);
CREATE TABLE t92(y �NTEGER PRIMARY KEY, [a]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 CT 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 �NTEGER PRIMARY KEY, [a]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=y~~~~~~~~~~~~~~~~~~~1 LEFT JOIN t92 OCT 5 CT 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" "n00b00" FROM "0000" GROUP BY   "a","b""a","b", "a","b""a","b",   "a","b" LIMIT 1)�IS 


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


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


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


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(7,randomblob(50));
INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT [a]L,randomblob(2001-01-0150)FROM t1;�INSE;


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


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


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB");
INSERT INTO t0 VALUES('dneatwoBtϽ����߽����
�����������޽����NOTN������޽���� total(1)NOTNULL00');
ALUEI 


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  AS1, x  AS y1, y AS y1, y  A1, 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 y1, y S1, y  AS y1, y AS y1, y  AS y1, y y1, y S1, y  AS yAS 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)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-4100));
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 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-01501E01-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 t0 WHERE rowid%6;
PRAGMA incremental_vacuum(�);
ROLLBACK;


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


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 ORSERT INTO  - strft�� OR$- strft�� OR 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 =b AND c=? AND ~~~~~~~~~~~~~~~d=E AND e OROR?;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1,1)', 'foo');
INSERT INTO ft VALUES('f2001-01-01oo', 'foo');
SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2001-01-012001-01-011 -2001-01-011 -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 -2001-01-012001-01-011 -2001-01-011 -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 sqlite_version()=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 sqlite_version()';


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT length(1) FROM i ORDER BY 1)
SELECT  1=1/ randomblob(1)- random()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)- random()x FROM i LIMIT 400-7;


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


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


sqltext:
CREATE TABLE t0(a, b);
SeLECT DIST,"b""""a","baa","ba","b". *,ru nE�����idA"b""a",bs","b", *,"ba","b",count(*)FROLECT DIST,400"""a","baa","bi",M (SELE%T "ba","b""""i","boreign,"b",oid,"b""a","ba","b",coaa" FROMa==0;


sqltext:
CREATE TABLE t0(a, b);
SeLECT DISTINCT*,"ba","b",oid,"b""a","ba","b" "a","b""""a","baa","ba","b", *,"ba","b",oid,"b""a","ba","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""i","ba","b","b",oid,"b""a","ba","b",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 bloboid,"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"bab"����������id,"b""a
","b",oid,"b",oid,"b""a","ba","b", *FROM t0) WHERE a==0;


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


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(' ; 00');
SELECT docid FROM t0 WHERE t0 MATCH  '^0*a,b*0*';
END;


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


sqltext:
CREATE TABLE t102 (i0t0006 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:
#REATE 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","a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0;


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t0(a, b);
SELECT DISTINCT "a""ba","b", *,"ba","b",oid,"b""a","ba","b", *FROM (SELECT group_concat(1,1)oi�,"g",oid,"b""a","""ba","b", *,"b""""a","ba","�b���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""""a","ba","b",oid,"b", *FROM (SELECT group_concat(1,1)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 "a",1,1 "a"OR,"b"(1,1,1,1)ime(1,1," total(1))"';


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


sqltext:
CREATE TABLE x(y1, y  A,  a,ba,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 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 t000(c0  a,ba,b,�,I, a,���������������������������,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(c0  a,ba,b,�,INATURAL J, a,b0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c time(1,1,1) 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 t000(c0  UNIQUE, 'a''b'b0);
CREATE TABLE t002(c000,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;c000;


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 FROM y A, y  ASy1, y  AS1, x  AS y1, y AAS y;


sqltext:
CREATE TABLE t000(c0  a,c000,�NT0,ba,b,�,I, a,b0);
CREATE TABLE t002(c0,�NT0,ba,b,�,I, a);
SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000;


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqlite_compileoption_used(1)f 0 b c a,b d');
SELECT	snippet(ft0, '0', '0', '', -1,02) FROM ft0 WHERE ft0 MATCH   ' -1p -1option_use����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   ' -1p2001-01-01used(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   ' -1p -2001-01-01ed(1)f OR (1)a''b''a''b''c';


sqltext:
CREATE TABLE t000( 'a''b'c0  UNIQUE,�,I, a,c0);
CREATE TABLE t002(c000,INT0000);
SELECT c00 .* FROM t000,t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 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 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   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,b FROM y  y1, y  AS y1, y   A, y Ay1, y   A, y AS y1, y  A1, x  AS y1, y At y y1;


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


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


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','000��',90);
INSERT INTO t1 VALUES(4,'0','0',2);
INSERT INTO t1 VALUES(5,'00','�',2000);
SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B)


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o�00');
INSERT INTO t1 VALUES(60, 1,X'0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'��0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c, -14) FROM t1


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE Axxxxxxxxxxxxxxxxxx�xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxSC�ն�����������������������13 USING fts3;VACUUM VAL


sqltext:
PRAGMA encoding = 'UTF-16';
CREATE VIRTUAL TABLE Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx����������������������SC��������������������������13 USING fts3;VACUUM VAL


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,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 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 blob0(k, v BLOB);
INSERT INTO blob0 VALUES(1-0, zeroblob(length(CAST( hex(:001-01-011) AS CLOB))));


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


sqltext:
SELECT  1000000%0000000600600001000000%0000000600000001000000%000000060060000100000%0000000600000001000000%0000000600600001000000%0000000600000001000600600001000000%000%0000000600000001000600600001000000%000000060000000100 000%0000000600600001000000%00000006000000000;


sqltext:
SELECT  1000000%0000000600600001000000%0000000600000001000000%000000060060000100000%0000000600000001000000%0000000600600001000000%0000000600000001000600600001 || 00%000%0000000600000001000600600001000000%0000000600000001000000%0000000600600001000000%00000006000000000;


sqltext:
SELECT  1000000%0000000600600001000000%0000000600000001000000%000000060060000100000%0000000600000001000000%0000000600600001000000%0000000600000001000600600001000000%000%000000060 || 001000600600001000000%0000000600000001000000%0000000600600001000000%00000006000000000;


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


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


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


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


sqltext:
SELECT sqlite_rename_parent( " a.b>>>>>>>>>>0|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||��|||||||||�|||��|||es�>>>>>>X",'000','000');


