# xsql

sqltext:
SELECT sqlite_rename_parent( " a.b>>>>>.>>>>0|||||||||||h|||||���||||||| |�||||||||f|||�||||||||�|||�|||||||||�||�|||||esX",'000','000');


sqltext:
SELECT sqlite_rename_parent( " a.b>>>>>>>>>>0|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||",'000','000');


sqltext:
SELECT sqlite_rename_parent( " a.b>>>>>>>>>>0||||||||||||sqlite_rename_parent( |||||||||||||||||||||||||�|||||||||||||||||||||||||||||||||||||||||||||||||es>///////>>B>>X",'000','000');


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


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


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


sqltext:
PRAGMA encoding=UTF16le;
CREATE TABLE t0t0006(a CLLLATE nocase PRIMARY KEY);
INSERT INTO t0t0006 VALUES(' sqlcompileoption_used@1)��1');
INSERT INTO t0t0006 VALUES('ABX');
SELECT DISTINCT sqlite_compileoption_get(A) "a","b",a FROM t0t0006;


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING our}}}}�}}}}}}}}fts3(cniag and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}NG fts3(cning and jum mi}}}}}}}}}}}}}}}}}}��}}}}}}}}}}}}}}EXCEPT}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1}}}}}}}}}}}}}our}}}}�}}}}}}}}}}}}}}}}}}}}}n(1,1)ping');
SELECT rowi^ FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLP t1 USING fts3}}}}}}}}}}}}}}}}}}}}}}}}}NG ft3(cning and jum miize porter);
INSERT INTO}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}����������������������}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1)png');
SELECT r�wid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING fts3(cning and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}NG fts3(cning and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}p}}}}}n(1,1�}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1)p}}}}}n(1,1�}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1)ping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE tum mi}}}}}}}}}}=}}}}}}}�}}}}}}}NG fts(}}}}}}�}}}}}}}NG fts(cn}}} and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n}}} and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n+1,1}}}}}}}}}}} tum mi}}}}}}}}}}=}}}}}}}}}}}}}}}}�1,1)ping');
SELECT rowid FROM t1 WHERE content MATCH 'run ju-p';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING fts3(Ining and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}NG fts3(cning and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}�}}}}}}}}}}LE t1 USING fts3(Ining }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1)ping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING fts3(cning and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}NG fts3(cning and jum mi}}}}}}}}}}}}}}}}}}�}}}}}}}}}}}}}}}}}}}}}}}}}�}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}1,1}}}}}}�}}}}}}}}}}}}}}}}}}}}}}}}}}}}}l}}}}}�}}n(1,1)ping');
SELECT rowid FROM t1 WHERE content MATCH 'ruNTO t1(rowid, conten jump';


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING fts3(cning and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}NG fts3(cning a TABLE t1 USING fts3}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}������}}}}}}}}}}}}}}}}}}}}}}}}}}}t1 USING fts3}}}}}}}}}}}�}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1)ping');
SELECT rowid FROM t1 WHERE content MATCH 'run jump';


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


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


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


sqltext:
CREATE TABLE t000(c0  a�ba,b,�,I, a sqlite_compileoption_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_compileoption_get(1)UNIQUE,INT0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


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


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


sqltext:
CREATE TABLE 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, f, c, b, c, b, b


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


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


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM�t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(22001-01-8100);REINDEX


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


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


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


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


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4( /* */d,g,g,g,g);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;ANALYZEFROM s


sqltext:
CREATE TABLE t4(a,b,c,d,e, 'a''b'f,g,h,i);
CREATE INDEX t4all ON t4( /* */d,g,g,g,g);
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;
DELETE FROM sqlite_stat1;
INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9);
ANALYZE;ANALYZE FROM s


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c,b,a,d,e));
SELECT * FROM t0 WHERE a=E AND b=7 AND c=? AND d=A AND b=? 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, 'yyyeing %Yyyeing yyyeing %Yyyeing aANALYZEing');
SELECT M t1 WHERE cot MATCH 'runp';


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE [sill0 0 0a0e](a, b, c);
CREATE INDEX '+2 daysuTC' ON [sill0 0 0a0e](a, b);
CREATE INDEX '00000000000 000 ''00000' ON [sill0 0 0a0e](c);
INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3);
INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);
ANALYZE;
SELECT idx, date(1,idx) stat FROM sqlite_stat1 GROUP BY 002;


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(b) VALUES('00');
END;EXPLAIN
INSERT INTO t0000(b) VALUES('0000');


sqltext:
ATTACH''AS nooname;
ATTACH':ry:' AS ��naname;
ATTACH':memory:' AS �ooname;
ATTACH':ry:' AS ��na�oname;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS imemm��name;ANALYZE ��nanamname;
ATTACH'�me:' AS me;


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 imemm��name;ANALYZE  imemm��name;ANALYZE ��nanamname;
ATTACH'�me:' AS me;


sqltext:
ATTACH''AS noon��nanamename;
ATTACH':memory:' AS ��nanamname;
ATTACH'�me:' AS me;
ATTACH'�me:' AS m;
ATTACH':my:' AS imemm��name;ANALYZE ��nanamname;
ATTACH'�me:' AS me;


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(q);
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, yS1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, lower(1)q FROM x CURRENT_TIMEx2 WHERE likely(q);
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,NOT lower(1)q FROM x AS x1, x AS x2 WHERE likely(q);
SELECT $total(1)p FROM x AS y1, y  A, y  AS1, y S�y1, y  A, y  AS1, y y1, y S1, y y, y y1, y, y  AS1, y S�y1, y  A, y  Ad1, y y1, y S1, y y, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  "a","b"p, sqlite_compileoption_used(1) x2 WHERE likely(P);
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 y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT total(1)p, sqlite_compileoption_used(1) x2 WHERE likely(P);
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 HAVING y S1, y y, y y1, y S1, y y1, y S1, y  ASy1, y S1, y y, y y1, y S1, y  AS y1, y


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE 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 ');
INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 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 T7S 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 0P 0', '0 V Y B X', 'L Z 0 N  ');


sqltext:
CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c);
INSERT INTO x1(docid,a,b,c) VALUES(0, 'H T', 'V M 0 Y K', '0 Z N Q S');
INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0');
INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E');
INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J');
INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q');
INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y');
INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');
INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V');
INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R');
INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A');
INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z');
INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R');
INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 ? 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');
IfSERT 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,a,b,c,d,a,b,c)) WITHOUT ROWID;
CREATE INDEX t0a ON t0(b,b,c,c, b,c,b,c)000000


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


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
PRAGMA page_size=0000;
PRAGMA cache_size=00;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(:eroblob(900));
INSERT INTO t0 VALUES(zeroblob(100));
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT 0 FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT 8 FROM t0;
DELETE FROM t0 WHERE rowid>100;ANALYZE;


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


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


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


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


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


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


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


sqltext:
#REATE Ta,b,c);
 VALUES(1,2,3),(4,5,6) ,(4,5,6) INTERSECT VALUES( lower(8888881),3,1),( total(1),1,3);


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


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


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


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


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


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x || avg(1) +1)TRANSACTION01 FROM i)
SELECT x FROM i LIMIT 203


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x || randomblob(1) +1)TRANSACTION01 FROM i)
SELECT x FROM i LIMIT 203


sqltext:
WITH i(x) AS ( VALUES(1) UNION SELECT (x || +1)TRANSACTION01 FROM i)
SELECT time(1,1,1) x FROM i LIMIT 203


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1( [a]i01, va0u01);
INSERT INTO t1 VALUES(4400400,1);
CREATE TABLE t2 (va0u02);
INSERT INTO t2 VALUES(1);
SELECT(SELECT sum(va0u01=va0u01)FROM t2), max( "a","b"-"a","b" /* */)
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(4400400,1);
CREATE TABLE t2 (va0u02);
INSERT INTO t2 VALUES(1);
SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a","b"-"a","b" / [a])
FROM t1
ORDER BY 002;


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2( a,ba, b);
CREATE VIEW a002 AS SELECT *, *,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:
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE TABLE t2( a,ba, b);
CREATE VIEW a002 AS SELECT round(1,1)AS m FROM t2 ORDER BY  a,ba;
EXPLAIN QUERY PLAN
SELECT t1.z, a002.m
FROM t1 JOIN a002 ON t1.y=a002.m
WHERE t1.x IN a002,3)


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDi0 hiDDENDINCT x2INCT i0 hiDDENDi0 hiDDENDINCx2, v1, y2);


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDi0 hiDDENDIDDENDi0 hiDDENDINCT x2INCNCT x2INCT x2, v1, y2);


sqltext:
CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDi0 hiDDENDINCT x2INCi0 hiDDENDi0 hiDDENDINCT x2IT x2, v1, y2);


sqltext:
CREATE TABLE t91(x); INSERT INTO t91 VALUES(1);
CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b);
INSERT INTO t92 VALUES(1,2,3);
SELECT?1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3;
SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3;
SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL;
SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND ~~~~~~~~~~20 OR~~~~~~~~~~~~~~~~~~~~~~~~~~a=:0 OR~~~~~~~2 OR ?1OR~~~~~~~~~b=3) AND y IS NULL;
CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?1;;
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=:0 OR~~~~~~~2 OR ?1OR~~~~~~~~~~2 OR ?1OR b=3


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t000( ''AUTOINCREMENT�,I, a,c0);
CREATE TABLE t002(c000,I,J0000);
SELECT c000,* FROM t002 LAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATS  


sqltext:
CREATE TABLE t000( ''CURRENT_TIMESTAMP a,c0);
CREATE TABLE t002(c000,I,J0000);
SELECT c000,* FROM t002 LAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATS  


sqltext:
CREATE TABLE t000( ''c0 load_extension(1,1));
CREATE TABLE t002(c000,I,J0000);
SELECT c000,* FROM t002 LAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATS  


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


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


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   'compiueleoption_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('� 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(5)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"ATE VIRTUAL TABLE f  (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  (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 0 OR (''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  (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)f 0 OR (1)  (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''af 0 OR (1)a''b 0  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a   (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 TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  2001-01-01-01=01;
PRAGMA automatic_index=OFF;
SELECT * FROM t0a LEFT JOIN t0A aub ON - 1=1) OR


sqltext:
CREATE TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  -01=01;
PRAGMA automatic_index=OFF;
SELECT * FROM t0a LEFT JOIN t0A aub 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;ANALYZE'TEMP';;
ATTACH':my:' AS imeom��name;ANALYZE'TEMP';END;


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


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


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


sqltext:
CREATE 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(?2, '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(2001-01-0112, '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 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 '0 O T H V');
INSERT INTO x1(docS(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 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 '0 O T  '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', � 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 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', 'e 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 '0 O T H V');
INSERT INTO x1(�ocS(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,l,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 ITO x1(docid,a,blc) 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(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 TABLE t1(x, y DEFAULT(datetime('  				� @1av')));
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:
CREATE TABLE t1(x, y DEFAULT(datetime('  					-@1av')));
INSERT INTO t1(x)VALUES(1);
INSERT INTO t1(x)VALUES(1);


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


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


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


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


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


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 || 77777777777777777) FROM i GROUP BY 1)
SELECT x FROM i LIMIT 90;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1 || 77777777777777777) 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 || 77777777777777777) FROM i GROUP BY@1)
SELECT x FROM i LIMIT 10;


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


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


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


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 AND c=? =? AND b AND d=? OR?;


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


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


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


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA page_size = 1000;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
INSERT INTO t1 VALUES( 511*8012001-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 SELEC�NULL,randomblob(5F)FROM t1;
INeERT `LTO t1 SELECT NULL,randomblob(50)FROM t1;
DELETE FROM t1 HERE a=1;


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


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


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


sqltext:
CREATE VIRTUAL TABLE 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('@00 bbbb NEAR/6 00bb c00', 'bbb 000');
SELECT * FROM x where x MATCH 'bbb NEAR -1/6 00 NEAR/6 000';


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,A,MES��00S��000,0,bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH 'bbb N`AR/6 0:::x USING f:G fts4(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 0::::G fts4(y,';


sqltext:
CREATE TABLE t102 (i2222222222222222222��2222222OR220 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 VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1' 'remove_diacritics=1' 'remove_diacritics=1'""1'""seXa');


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


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


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


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


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


sqltext:
CREATE TABLE t0( a,ba,b,c,d,e, P UiIQUE,bI a,be, PRIMARY KEY(a,b,p,a,ba,b,a,d,e,d,a,bI,a,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(q,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 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) >=/* */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, x AS x2 WH1, 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 e(1,1,1)IS /* */x2.a;
 total(1)p FROM 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 time(1,1,1)IS /* */x2.a;
SELECT  total(1)p FROM y AS AS1, y y1, y A, y  ASy1, y  AS1, y y1, y A, y  AS y1, y AS y y1;


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


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


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(2001-01-0120,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


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(2001-01-0120,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+977775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(c FROM EN


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(2001-01-0120,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '*000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(c FROM EN


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


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(2001-01-0120,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+57777577-772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDMX;
SELECT(c FROM EN


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, L0000(00000 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:
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, P00000000400000 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 int000000000000 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));
CRE�TE 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((0) 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) nit 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 int0null, 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 textnull, 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 te~t(50) null);
0


sqltext:
BEGIN;
CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50)UNIQUE not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID));
CREATE TABLE A00000000000000000(L0 UNIQUE, Q00 int not null, N000000 text(50)UNIQUE not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID));
CREATE TABLE 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, C00000000$00 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 Wext(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 primar��y (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 n_ll, 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:
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 textPIENTNODEID 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:
BEGIN;
CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50)UNIQUE not null, PARTICIPANTID text(50) not null,tSt00000000 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 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:
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 P00000000000000);
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, V000�3 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, S000000000000 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 ��������������000 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 te�t(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, 9000000000000000000L 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  ll, 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) nul{, 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:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('200????????�-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>N>>>>>&>TEMPORARY>>>>>>>>>-01f00', '000');


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


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('200??????#?1-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,7)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc;
IO  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| random()|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,2001-01-014)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,200|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:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a;
SELECT 0 "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 x(a,b);
CREATE VIEW y AS
SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a;
SELECT   "a", avg(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 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, a, b, a, d, e);
EXPLAIN c, b, b


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, a, a, d, e);
EXPLAIN QU, b, c, b, b


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 OR c=3 ORDER BY b, c, b, b,c, b, b


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 x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(1,1))LIMIT "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM y AS y1, y, y  AS y1)p FROM x AS y1, y  � AS y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(1,1))LIMIT "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 TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */( nullif(1,1))LIMIT "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 TABLE x(a,b);
CREATE VIEW y AS
SELECT /* */( nullif(1,1))LIMIT "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y, y  A)p FROM y


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


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 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 IJTO 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)nVALUES(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, hhh'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:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x INTERRABLE REFERENCES t1GER PRIMARY KEY DEFERRABLE REFERENCES t1(x) ON UPDATE SET DEFAULT REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13);
I


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`bNEAR/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/b/B 0006 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,b/B 0*NEAR/6 000';


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,A,UES��00S��000,0,bbb REGEXP'bbb 000');
SELECT * FROM x where y MATCH 'b N`AR N`AR/6 0:::/6 0:bb N`AR N`AR/6 0:::/6 0::::G fts4(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 N`AR/6 0::: N`AR/6 0:::/6 0:::/6 0::::G fts4(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 t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,ba,bI,c,p,a,ba,b,c,b,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,ba,bI,c,p,a,ba,b,c,d,e,d,a,bI,c,p,a,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,be, P,ba,b,c,d,a,d,a,bI,c)) WITHOUT ROWID+R


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"OTNULL,"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"( L,",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"( "aNOTNULL,",1,1,1)ime(1,1,")"';


sqltext:
CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpSEToption_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,"b1a"NOTN,1,1)ime(1,1,")"';


sqltext:
CREATE TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  NULL;
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 t0000(a,INTEGER PRIMARY KEY UNIQUE,UTOINCREY UNIQUE,UTOINCREEMPRIMARY 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 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 x USING fts4(y,ALUES��00S��000,/,bbb,R,GEXP'bbb');
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,ALUES��04S��0ppppppppppppppppppppppp00,/,bCb,REGEXP'bbb');
SELECT * FROM x where y MATCH ':memory:/6 0DDDDIRTUAL TABTE VIRTUAL TABLE x USING ftsLE x USIN:�:::::���ftb4(y,';


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(t0.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;


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( unlikely(1) 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  t1 ON t0.i0 LIKE 'a0'
JOIN t102 AS t2 ON(t1.i0= t0.i0 OR 50 AND t2.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 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:
#EGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 �b');
INSERT INTO t0 VALUES('2001-05b cc');
INSERT INTO t0 SELECT('5555555555555555555555555551-01bb cc');
INSERT INTO t0 SELECT('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '0*2*01-01-01';
END;


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


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 203


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 203


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 253


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


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 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<19) 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  0XADDA2001FOR-01;
PRAGMA automatic_index=OFF;
SELECT * FROM t0a LEFT JOIN t0b ONT JOIN t0b ON -1 (M


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:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 �b201�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 �b2w0s01-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';
;


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('�1 �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*201-01';
END;


sqltext:
CREATE VIRTUAL TABLE x USING fts4(yALUES:memory:USIN:�:�:::GEXi'bbb');
SELECT * FROM x where y MATCH 'b6 0DDDDIRAL TA���ftb4(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=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.b AS q FROM x AS x1, x AS x2 WHERE q=q+time(1,1,1)OR-x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y  AS1, y y1, y A, y  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 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�x1;


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


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, "a","b"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, "a","b"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")WHER,(SELECT"b""a","ba","b",count(*) a, "a","b"t0) )NOTNULL;


sqltext:
CREATE TABLE t5(a, b);
SeLECT  group_concat(1,1)"b",count(*)WHERE(SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","ba")WHERE(SELECT"b""a","ba","b",count(*) a, "a","b"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", replace(1,1,1) "a","b"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", "a","b" a, "a","b"t0) )NOTNULL;


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES(' load_extension(1��)', 'foo');
INSERT INTO ft VALUES(' @1nsion(131)', ' @1');
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';f


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


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 a,ba,q,ba,total(q)p, *,bb AS q FROM x AS �1, x AS x2 USING  (   a,a,ba,ba,ba,q,ba,ba)ba,q);
C


sqltext:
BEGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('01 201-01-01��01-01-01');
INSERT INTO t0 VALUES('2001-01-01bb cc');
INSERT INTO t0 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 201-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 201-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 201-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*0*';
END;


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS q, total(1)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 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   AS y1, y AS A, x  AS yy y1;


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT x1.b AS q, x2.b AS a FROM x AS x1, x AS x2 WHERE q=1+time(q,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(q,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 AS a FROM x AS x1, x AS x2 WHERE q=1+time(q,1,11,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(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,ba,ba� a,G  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,bx,q);
�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, q,q,ba,ba,q,ba,ba,bv)q);y


sqltext:
CREATE TABLE x(� a,ba,ba� a,a� a,bs,ba�1,  a,bx,q);
CREATE VIEW y AS
SELECT tota�(q)p, *,bbp, *,bb Ap, *,bb AS Ap, *,bb AS q FROM x AS �5, x ASS q RENAME


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  (  "a","b",q,ba,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,b);
C


sqltext:
CREATE TABLE x( a,b a,� a,ba,q);SELECT total(q)p, *,ba ASa,ba,ba,  a,a,ba,ba,ba,q,ba,a,ba 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, x1, 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:
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 || 20);
INSERT INTO t1 SELECT*FROM t1
WHERE a IS (SELECT * FROM t1 WHERE a<10);
DR


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 IS EXISTS(SELECT * FROM t1 WHERE a<10);
DR


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 GROUP BY 002;


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


sqltext:
PRAGMA auto_vacuum=2;
CREATE TABLE t1(a, b);
CREATE INDEX i ON t1(a);
CREATE TABLE t0(a);BEGIN
;
CREATE INDEX x ON t1(b);
DROP TABLE t0;
PRAGMA integrity_check;
DROP TABLE t0;grit


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 unic1)0 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 = NORMA;
PRAGMA page_size = 1024;
PRAGMA journal_mode = WAL;
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
PRAGMA wal_checkpoint;EXPLAIN
INSERT INTO t1 VALUES(randomblob(800));EXPLAIN
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*   2 */
INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*  16 */
SAVEPOINT one;
INSERT INTO t1 SELECT randomblob(800) Ft1; INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 128 */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 256 */
ROLLBACK TO one;
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /*  3INTO t1 SELECT randomblob(800) FROM t1;   /*  64 */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* */
INSERT INTO t1 SELECT randomblob(800) FROM t1;   /* 256 */
COMMIT;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(0)) i GROUP BY 1)
SELECT x FROM i LIMIT 10;


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


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


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


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


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


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


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='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:
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 <=ATE77777777777777777777777 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 t3(a INTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(c, c, f, e);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE d=2 AND c=3 ORDER BY d COLLATE rtrim(1,1C;


sqltext:
CREATE TABLE t1(a, b, c, d);
CREATE INDEX i0 ON t1(a, b) WHERE /* */NOT  [a];
INSERT INTO t1 VALUES(.1, -1, -1, NULL);
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*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* unicode(1)a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;
INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;REINDEX


sqltext:
CREATE TABLE x( [a]a,b);
CREATE VIEW y AS
SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE  (1)=x2.a;
CREATE VIEW z AS
SELECT y1.p, y2.p FROM y AS y1, y AS y2 LIMIT "a","b"+changes(DISTINCT);
SELECT * from z;


sqltext:
CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c);
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 t4 USING fts4(a, b, c, notindexed=b);
INSERT INTO t4 VALUES('�ext 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 x0 USING fts4(0, b);
INSERT INTO x0 VALUES('CURRENT_�IME0 b c', 'd  f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 VALUES('CURRENT_TIME0 b c', 'd e f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;VACUUM


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

INSERT INTO x0 SELECT * FROM x0;REINDEX


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

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE 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,c,d,e,c,d,d,b,c,d,e,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX rtrim(1,1)? AND d=? AND e=?;


sqltext:
PRAGMA page_siAL;
PRAGMA wal_autochecwal_autocheckpoint =�100;
PRAGMA journal_size_limit = 000e2001-01-0


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;EXPLAIN
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:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 90/2


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 50/2


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 30/2


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 18/2


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 10/3


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 10/4


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


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


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 ORDER BY+a DESC, avg(1), b,+last_insert_rowid(),C;


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 ORDER BY a DESC, avg(1) -1,+last_insert_rowid(),C;


sqltext:
SELECT NULL "a","b" UNION SELECT "b"TL UNION
SELECT 1 UNION SELECT NULL UNION
SELECT 1 UNION SELECT 2 NNUL UNION
SELECT 1 UNIOLL 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;I


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'COLLATE FR


sqltext:
CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid;
CREATE INDEX t0000 ON t000(a);
INSERT INTO t000 VALUES('s','s0'),(-hex(2401-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%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( likely(1)-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'),( group_concat(1,1)-hex(2<01-01-01-011),'000'),(-hex(1),'000'),(-hex(1),'m00');


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'running ai0eH��ntent Mrnt jgggggggt1 WHER���ntent Mrecei0eH��ntent MrecERE content Mrecei0edt jumping');
CCH 


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'ruyness andCROSS juCROSS');
SELECT rowid FROM t1 WHERE content MATCH 'runCROSS';


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


sqltext:
CREATE TABLE t1(a,b);
CREATE INDEX t1a ON t1(a);
INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0);
PRAGMA writable_schema=ON;
UPDATE sqlite_master SET sql='CRINDEX t00/////////<>//////////////ter SET� TABLE!00(a NOT 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(1 -100000000, '002001-0�-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 WHCURRENT_TIMESTAMP;
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 zeroblob(1)id FROM t0 WHERE t0 MATCH '0*';�END;


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('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 '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 000');
SELECT * FROM x where y MATCH 'bbb NEA x USING fts4(----------;
SELECT * FR^^^����^^^^^^^^^^^OM x wheT * FR^^^����^^^^^^^^^^^OM -------------;
S 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 002;


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


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


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


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='9,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileopdion_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_compile0000 o0 00 Se0000000. William t000 m00');
INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he');
INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0');
INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');
INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.');
INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0');
INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he');
INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00');
INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0');
INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet');
INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000');
INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000');
INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e');
INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0');
INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000');
INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000');


sqltext:
CREATE VIRTUAL TABLE t2 USING fts4(prefix='1 1=1,2,3');
INSERT INTO t2 VALUES(NOT'00 and');
INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileopdion_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_compile0000 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_compileopdion_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_compile0000 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');REINDEX


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC);
INSERT INTO t0(docid, x) VALUES(1000000000-0.00000, '02001-01-0T0%)�
INSERT 00.0000(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(A,2) /* */)
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 UPDATE SET DEFAULT);
CREATE TABLE t3(y REFERDE REFERENCES""UNIQUE  NULL);REPLACE INTO t1 VALUES(13);VACUUM
I


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


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


sqltext:
CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a /* */,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 ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 ; �� random()�c sqlite_compileoption_get(1)f 0 c c d');
SELECT snippet(ft0,  sqlite_source_id()) FROM ft0 WHERE ft0 MATCH 'c';


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=a�");
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������޽����ORNOTNULLtϽ����߽��00');
AL


sqltext:
CREATE TABLE t102 (i0 TEXU 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:
CREATE TABLE t102 (i0 TEXT�UNIQUE NOT NULL);
INSERT INTO t102 
SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102  t1 ON t0.i0 LIKE 'a0'
JOIN t102 i0= 


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 t102 NATURAL
JOIN t102 AAS t2;


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   'a''d(1)a''b''c';


sqltext:
CREATE TABLE t000(c0  a,ba,b,�,I, a,��,���������������������������,I000);
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 c00c00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(DEFERREDa,b000,INT0,ba,b,�,I, ab�������������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(c0  a,c a,b000INT0,ba,b,�,I, a,b�������������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00000 NATURAL JOIN t000 AS c000;;


sqltext:
CREATE TABLE t000(c0  a,c a,b000,INT0ba,b,�,I, a,b�������������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00000 NATURAL JOIN t000 AS c000;;


sqltext:
CREATE TABLE t000(c0  a,c a,b000,INT0,ba,b�,I, a,b�������������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00000 NATURAL JOIN t000 AS c000;;


sqltext:
CREATE TABLE t000(c0  a,c a,b000,INT0,ba,b,�,I, a,b�,�����������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00000 NATURAL JOIN t000 AS c000;;


sqltext:
CREATE TABLE t000(c0  a,c a,b000,INT0,ba,b,�,I, a a,b�����������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00000 NATURAL JOIN t000 AS c000;;


sqltext:
CREATE TABLE t000(c0  a,c a,b000,INT0,ba,b,�,I, a,b�����������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000;;


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


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


sqltext:
CREATE TABLE t4(a,b,c,d,e,f,g,h,i);
CREATE INDEX t4all ON t4(a,c,g,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:
SELECT fts3_tokenizer('00aer0', fts3_tokenizer('simple')) IS  fts3_tokenizer('IN00a0', fts3_tokenizer('simple'))NULY;


sqltext:
SELECT sqlite_rename_parent( "REFERENCES>>>>0|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||esREFERENCES>>>>>>X",'000','000');


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


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


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


sqltext:
CREATE TABLE t000(c0  a,ba,b,�,I, a blobte_compileoption_get(1)UNIQUE,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 blobte_compileoption_get(1)UNIQUE,INT0000);
SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT  a,b/( VALUES(B,1))q FROM x;
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y  A, y  CS1, y y1, y S1, y y, y y1, y S1, y  AS y1)p FROM x AS y1, y  A, y CS1y


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
#REATE Ta,b,c),b,c);
 VALUES(1,2,3),(4,5,6) ;
 VALUES(1,2,3),(4,5,6) ,(4,5,6) I2,3),(4,5,6) ;
 VALNTERSECT VALUES( lowe888�81),3,1),( total(1),1,3);


sqltext:
PRAGMA encoding=UTF16be;
CREATE TABLE t4t��q�������������U�S('abTF16be;
CRE.TE TABLE t0t�ϐ��0');VACUUM


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


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


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


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


sqltext:
DROP TABLE IF EXISTS t;
CREATE VIRTUAL TABLE t1 USING fts4(c);
INSERT INTO t1(docid,c)VALUES(1,'i0 0 teoci������������������������0s 0 te00');
INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test');
DELETE FROM t1 WHERE docid IN (1,3);
DROP TABLE IF EXISTS t;
ALTER TABLE t1 RENAME TO t1o0d;
CREATE VIRTUAL TABLE t1 USING fts4(c);REPLACE INTO t1(docid,c) SELECT zeroblob(1)id, c FROM t1o0d


sqltext:
DROP TABLE IF EXISTS t0;
DROP TABLE IF EXISTS t0;
CREATE TABLE t1( [a]i01, va0u01);
INSERT INTO t1 VALUES(4400400,1);
CREATE TABLE t2 (va0u02);
INSERT INTO t2 VALUES(1);
SELECT(SELECT sum(va0u01=va.u01)FROM t2), max( "a","b"-"a","b" /* */)
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(44.0400,1);
CREATE TABLE t2 (va0u02);
INSERT INTO t2 VALUES(1);
SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a","b"-"a","a" /* */)
FROM t1
ORDER BY 002;


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


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUDS��000,bbb REGEXP'bb0');
SELECT * FROM x where y MATCH 'bbb NEARE x US:::::: x where y:::SING fts4(ING fts4(y,ALU x Y::::::::: x where y:::SING fts4(y,';


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
INSERT INTO t1(rowid, content) VALUES(1, 'DIR3jumpiED(1,TABLEd jumpiEpiED((cEd jumpiED(1,TABLEd jumpiEFERR3(cEd jumpiED(1,TABLEd jumpiEpiED(1,TABLEd jumS(1, ng');
SEu


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  ��������REpileoption_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  (1)a''b''a''b''b''on_used(1)f 0  (1)a''b''a 0  (1)f 0  (1)a''b''a 0  (1)a''b''a 0 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 0 OR (''b''b''c';


sqltext:
CREATE VIRTUAL TABLE ft0 USING fts4;
INSERT INTO ft0 VALUES(' 0 c d  sqliteScompileoption_used(1)f 0 b c a,b d');
SELECT	snippet(ft0, '�', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH   'compileleoption_used(1)& 0 OR (1)a''b''D 0  (1)a''b''a''b''b''on_used(B)f  0 OR (1)a''b''D 0  (1)a0  (1)a''b''a 0  (1)a''b''a''b''b''option_used(1)f 0  _used(1)f 0 b c aa''b''a''B''b''ption_used(1)f 0  (1)a''b''a 0  (1)a''b''a 0 OR (''b''b''c';


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


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


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


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1' 'remove_diacritics=1' 'remove_diacritics=1'""1'�"seXa');


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


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=������Ͻ���ڽ�Ľ���������ν���aB");
INSERT INTO t0 VALUES('oneatw������ν��(tokeni�ڽ�Ľ���������ν��������ν����������00');
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(1020012001501501-01-01,1,'0000');
INSERT INTO t1 VALUES(2001-01-0120,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(502001-01-01, 1, 'o000');
INSERT INTO t1 VALUES(60, 1, '0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1, 'o000');
INSERT INTO t1 VALUES(90, 1, 'o0000');
INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a/2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(c FROM EN


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(2001-01-0120,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(502001-01-01, 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,'o0*' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDEX;
SELECT(c FROM EN


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(2001-01-0120,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+57777577-772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(a);
REINDMX;
SELECT(c FROM EN


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(2001-01-0120,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+57777577-772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP;
CREATE INDEX t0b ON t1(a);
REINDMX;
SELECT(c FROM EN


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('200??????#?1-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>||||||`||||||||||||||||||||||-01f00', '000');


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('200??????#?1-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>||||||||`||||||||||||||||||||-01f00', '000');


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('200????||||||||||||||||||||||-01f??#?1-01>>>>J>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|||||||||||||||||||||||||||||-01f00', '000');


sqltext:
SELECT SQLITE_RENAME_TABLE(0,0);
SELECT SQLITE_RENAME_TABLE(00,20);
SELECT SQLITE_RENAME_TABLE('200??????#?1-01>>|||||||||||||||||||||||||-01f>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|||||||||||||||||||||||||||||||||||||||||||||||-01f00', '000');


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(0, 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||a||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(0,-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(0, 2,.3);
INSERT INTO abc SELECT a||b||c,  [a]||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:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */( nullif(1,1))LIMIT "a","b";
SELECT $tota|(SELECT $tota|81)p FROM x AS y1, y, y  A y   y


sqltext:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */( nullif(1,1))LIMI, "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 TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */( nullif(1,1))LIMIT "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y, y  A, y, y  AS �1)p FROM y  � AS y


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


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


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


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


sqltext:
CREATE TABLE t102 (i0 intT 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(t2.i0=+t0.i0 OR t1.i0= t2.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(t2.i0=+t0.i0 OR t1.i0= t2.i0 OR t2.i0= @1oid);


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE x USING fts4(y,ALUES��00S��000,/,bbb,R,GEXP'bbb');
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,/);
INSERT INTO x VALUES('0���bb c00', 'bbb 000');
SELECT * FROM x where y MATCH 'bbb ""OR""OR""�� OR sdrft�� OR -f|s4(y,0);
INSERT INTO x sdrft�� OR 0';


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


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


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 /* */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:
#EGIN;
CREATE VIRTUAL TABLE t0 USING fts4(order=desc);
INSERT INTO t0 VALUES('0 �b');
INSERT INTO t0 VALUES('2001-01-01bb cc');
INSERT INTO t0 SELECT('cc 01');
SELECT docid FROM t0 WHERE t0 MATCH '00*01-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*0*01-01-00*01-01-01';
1';
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*0*01-0*0*01-01-01';1-01';
END;


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t0a(x);
CREATE TABLE t0b(y);
INSERT INTO t0a(x)VALUES(1);
CREATE INDEX t000 ON t0a(x) WHERE  0XADD /* */OR
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 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 t0a ONT JOIN t0b ON -1 (M


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;EXPLAIN
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');
VALUES('00');
END;
INSERT INTO t0000(b) VALUES('0000');


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


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(q,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 datetime(1,1,1) AS q FROM x AS x1, x AS x2 WHERE q=q+time(q,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  group_concat(1,1) q FROM x AS x1, x AS x2 WHERE q=q+time(q,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 x AS y1, x  AS1, y y1, y A+ y 1;


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


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0o);
INSERT INTO ft VALUES('1load_extension(1��)', ' @1');
INSERT INTO ft VALUES(' @1nsion(131)', ' @1');
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��)', ' @1');
INSERT INTO ft VALUES(' @1nsion(131)', ' @1');
INSERT INTO ft VALUES(' load_extension(131)', ' @1');
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');
INSERT INTO ft VALUES(' @1nsion(131)', ' @1OR');
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 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 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 q, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=q+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y   AS y1, y AS A, x  AS yy y1;


sqltext:
CREATE TABLE x( a,b a,� a,b1, x1, x a,ba,q);SELECT total(q)p, *,ba AS q , *,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,b1, x1, x ,qa,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:
PRAGMA auto_vacuum=2;
CREATE TABLE t1(a, b);
CREATE INDEX i ON t1(a);
CREATE TABLE t0(a);BEGIN
;
CREATE INDEX x ON t1(b);
DROP TABLE t1;
PRAGMA integrity_check;
DROP TABLE t0;grit


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,d,e,b),UNIQUE(a,b,c,e,b),UNIQUE(a,b,c,e,b),UNIQUE(a,b,c,e,f),�
(a,b,c,e,f),�


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 unoc1)0 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:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(0)) i GROUP BY@1)
SELECT x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(0))FROM i GROUP BY 1)
SELECT x FROM i LIMIT 10;


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(2001-01-011))FROM i GROUP BY 1)
SELECT x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(12001-01-01))FROM i GROUP BY 1)
SELECT x FROM i LIMIT 10;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(1))FROM i GROUP BY 1)
SELECT x FROM i LIMIT 002


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f);
CREATE INDEX t00000 ON t3(c, c, f, e);
EXPLAIN QUERY PLAN
SELECT a FROM t3 WHERE d=d COLLATE rtrim(1,


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','1߃| '),('t1','t1b','߀ '),('t1','t1b','1߃| ');
ANALYZE sqlite_master;
SELECT*,'0'FROM t1 WD 8 OR@b


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(idx,idx,stat)VALUES('t1','t1a','1߃| '),('t1','t1b','�� '),('t1','t1b','1߃| ');
ANALYZE sqlite_master;
SELECT*,'0'FROM t1 WD 8 OR@b


sqltext:
PRAGMA page_siAL;
PRAGMA wal_autochecwal_autocheckpoint =�100;
PRAGMA journal_size_limit = 000e032001-01


sqltext:
PRAGMA page_siAL;
PRAGMA wal_autochecwal_autocheckpoint =�100;
PRAGMA journal_size_limit =0000e2001-01-0


sqltext:
PRAGMA page_siAL;
PRAGMA wal_autochecwal_autocheckpoint =�100;
PRAGMA journal_size_limit = 000e2001501-0


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;EXPLAIN
CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END;EXPLAIN
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:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT x FROM i LIMIT 14/3


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT rtrim(1,1) x FROM i LIMIT 10/3


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=a�");
INSERT INTO t0 VALUES('dneatwoB�Ͻ����߽����
�����������޽����NOTN������޽����ORNOTNULL00');
AL


sqltext:
CREATE TABLE t102 (i0 TEXT� "a","b"UNIQUE NOT NULL);
INSERT INTO t102 
SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102  t1 ON t0.i0 LIKE 'a0'
JOIN t102 i0= 


sqltext:
CREATE TABLE t000(c0  a,ba,b,�,I, a,� a,b����������������������,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00c00 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 c00c00 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 c00c0c00 NATURAL JOIN t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(D,FERREDa,b000,INT0,ba,b,�,I, ab�������������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000;


sqltext:
CREATE TABLE t000(c0  a,c a,b000,INT0,ba,b,�,I, a,b�,�����������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c0000000000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000;;


sqltext:
SELECT sqlite_rename_parent( "REFERENCES>>REFERENCES>>0|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||esREFERENCES>>>>>>X",'000','000');


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


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


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


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);
INSERT INTO t1 VALUES(randomblob(900));
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM�t1;
INSERT INTO t1 SELECT randomblob(900) Ft1;
INSERT INTO t1 SELECT randomblob(900) FR1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(72001-01-0100);REINDEX


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


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


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


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


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


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


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> randomblob(1) OR Te0tId/0&
Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


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


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


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


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


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


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


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


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


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


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


sqltext:
CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(C /* */,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 d=? AND e OR?AND c=? AND e OR?AND c=? AND c=? d=?


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


sqltext:
CREATE TABLE t0(a,b,c,d,e blob, PRIMARY KEY(E /* */,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 d=? AND e OR?AND c=? AND e OR?AND c=? AND c=? d=?


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=������Ͻ���ڽ�Ľ���������ν���aB");
INSERT INTO t0 VALUES('oneatw������ν��(tokeni�ڽ�Ľ���������ν��������ν�OR���������00');
RT


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=������Ͻ���ڽ�Ľ���������ν���aB");
INSERT INTO t0 VALUES('oneatw������ν��(tokeni�ڽ�Ľ���������������ν������ν��������ν����������00');
RT


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=������Ͻ���ڽ�Ľ���������ν���aB");
INSERT INTO t0 VALUES('oneatw������ν��������ν��������ν����������0(tokeni�ڽ�Ľ���������ν��������ν����������00');
RT


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=������Ͻ���ڽ�Ľ���������ν���aB");
INSERT INTO t0 VALUES('oneatw������ν��(toks=������Ͻ���ڽ�Ľ����������ν����������00');
RT


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=������Ͻ���ڽ�Ľ���������ν���aB");
INSERT INTO t0 VALUES('oneatw������ν�Ͻ���ڽ�Ľ���������ν���aB");
��(tokeni�ڽ�Ľ���������ν��������ν����������00');
RT


sqltext:
PRAGMA max_page_count = 10.0000;
CREATE TABLE abc(a, b, c);
INSERT INTO abc VALUES(0, 0,.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(C,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(0, 0,.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(0, 0,.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(0, 0,.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,7)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc;
IO  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(0, 0,.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(0, 0,.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(0, 0,.3);
INSERT INTO abc SELECT a||b||c, b| "a","b"||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(0, 0,.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 -1|| round(A,4)c, b||c||a, c||a||b FROM abc;
INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc;
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 int);
INSERT INTO abc VALUES(0, 0,.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:
CREATE TABLE x(a,b);
CREATE VIEW y AS
SELECT DISTINCT/* */( nullif(1,1))LIMI, "a","b";
SELECT $tota|(SELECT $tota|(1)p FROM y AS y1, y, y  AS y1)p FROM x AS y1, y  � AS y


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


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


sqltext:
PRAGMA foreign_keys = 1;
CREATE TABLE t1(x �NTEGER PRIMARY KEY DEFERRABLE REFERENCES t1(�) DEFERRABLE REFERENCES t1(x) ON UPDATE 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 DEFERRABLE REFERENCES t1(x) DEFERRABLE REFERENCES t1(x) ON UPDATE SET DEFAULT REFERENCES t1 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13);
I


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


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


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


sqltext:
CREATE TABLE t102 (i0 intT 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(t2.i0= t0.i0 OR t1.i0= t2.i0 OR t2.i0=t1.oid);


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


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


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


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


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


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


sqltext:
CREATE VIRTUAL TABLE ft USING fts3(o00, t0��;
INSERT INTO ft VAL@E����load_extension(1��)', ' @1');
INSERT INTO ft VALUES(' @1nsion(131)', ' @1');
INSERT INTO ft  ALUES(' load_extensdon(131)', '5000);
INSERT INTO ft VA UCS('xtension(��', ERT RNTO ft VALUES('foo', ' @1');VALUES('foo', ' @1');
SELECT offsets(ft) FROM WHERE ft MATBH ' @1*@1*1*1';f


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, x A WHERE 1=1+time(1)OR
x1.a=x2.a;
SELECT  total(1)p FROM y AS y1, y   AS y1, y AS A, x  AS yy y1;


sqltext:
CREATE TABLE x( a,b a,� a,b1, x1, x a,ba,q);SELECT total(q)p, *,ba AS q , *,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,b1, x1, x a,ba,q);SELECT total(q)p, *,ba AS q , *,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,ba,q,ba,a,ba,  a,a,ba,a,a,ba,ba,q);
C


sqltext:
CREATE TABLE x( a,b a,� a,b1, x1, x a,ba,q);SELECT tottotal(q)p, *,ba AS q , *,baal(q)p, *,ba AS q , *,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,b1, x1, x ,qa,ba,q);SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,a,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, x1, x ,qa,ba,q);SELECT total(q)p, *,ba AS q FROM x AS �1, x AS x2 USING  ( ba,ba,ba,q,ba,ba,ba,  q,a,ba,ba,ba,q,ba,a,ba,  a,a,ba,ba,q);
C


sqltext:
CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,e,f),UNIQUE(a,b,c,e,b),UNIQUE(a,b,c,e,f)UNIQUE(a,b,c,e,f),�
,�


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 a=3 OR a=22 OR a=3 OR a=22 OR a=3 OR b=22 OR a=3 OR b=3;
 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 LEFE 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 GROM t91 LE=T JOIN t92 ON a=20 AND b=3 WHERE y IS NULL;


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(1))FROM i GROUP BY 1)
SELECT x FROM i LIMIT 004


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


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


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE VIRTUAL TABLE x0 USING fts3(0, b);
INSERT INTO x0 VALUES(NOT'CURRc', 'd  f');
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
INSERT INTO x0 SELECT * FROM x0;
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;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1)
SELECT rtrim(1,1) x FROM i LIMIT 1013


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


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


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


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


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


sqltext:
CREATE TABLE t000(D,F,RREDa,b000,INT0,ba,b,�,I, ab�������������������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000;


sqltext:
SELECT sqlite_rename_parent( "REFERENCES>REFERENCES|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||esREFERENCES>�>>>>X",'000','000');


sqltext:
SELECT sqlite_rename_parent( "REFERENCES>REFERENCES|REFERENCES||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||esREFERENCES>>>>>>X",'000','000');


sqltext:
PRAGMA cache_size = 10;
CREATE TABLE t1(x PRIMARY KEY);EXPLAIN
INSERT INTO t1 VALUES(randomblob(900));
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) FROM t1;
INSERT INTO t1 SELECT randomblob(900) Ft1;
INSERT INTO t1 SELECT randomblob(900) Ft1;
INSERT INTO t1 SELECT randomblob(900) FR1;
INSERT INTO t1 SELECT sqlite_compileoption_get(1)   /* 64 rows */
BEGIN;
UPDATE t1 SET x = randomblob(72001-01-0100);REINDEX


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


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


sqltext:
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 0;
END;
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1');
INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');
UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID> randomblob(1) OR Te0tId/0&
Te0tId=2;
CEFROM Re00T000e ORDER BY 1;


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


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


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=������Ͻ���ڽ�Ľ���������ν���aB");
INSERT INTO t0 VALUES('oneaeni�ڽ�Ľ���⽽ @1���ν��������tw������ν��(tokeni�ڪ�Ľ���⽽ @1���ν��������ν����������00');
RT


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


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


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


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


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


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


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


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


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 a=3 OR a=22 OR a=3 OR a=22 OR a=3 OR a=22 OR a=3 OR b=3;
 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 LEFE 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 GROM t91 LE=T JOIN t92 ON a=20 AND b=3 WHERE y IS NULL;


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 a=3 OR a=2 ||  a=3 OR a=22 OR a=3 OR b=22 OR a=3 OR b=3;
 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 LEFE 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 GROM t91 LE=T JOIN t92 ON a=20 AND b=3 WHERE y IS NULL;


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(0))FROM i GROUP BY 1)
SELECT x FROM i LIMIT 003


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(1))FROM i GROUP BY@1)
SELECT x FROM i LIMIT 003


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(1))FROM i GROUP BY 1)
SELECT x FROM i LIMIT 503


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(2001-01-011))FROM i GROUP BY 1)
SELECT x FROM i LIMIT 003


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


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

INSERT INTO x0 SELECT * FROM x0;


sqltext:
CREATE TABLE t000(c0 UNIQUE,b000,INT0,ba,b,�,I, a,b�,���������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000000 NATURAL JOIN t000 AS c000;;


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(  zeroblob(1))FROM i GROUP BY@1)
SELECT x FROM i LIMIT 005


sqltext:
CREATE TABLE t000(c a,b0 UNIQUE,b000,INT0,ba,b,�,I, a,b�,���������������0,INT0000);
SELECT c000,* FROM t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000;;


sqltext:
CREATE TABLE t000(c a, 'a''b'b0 UNIQUE,b000,INT0,ba,b,�,I, a,b�,���������������0,INT0000);
SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000;;


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


sqltext:
CREATE TABLE t000(c a,b0 UNIQUE,b000,INT0,ba,b,�,I, a,b�,���������������0,INT0000);
SELECT c000.* FROM t000 NATUJURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000;;


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


sqltext:
PRAGMA auto_vacuum=INCREMENTAL;
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(zeroblob(900));
INSERT INTO t0 VALUES(zeroblob(990));
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT x FROM t0;
INSERT INTO t0 SELECT @1FROM t0;
INSERT INTO t0 SELECT@sqlite_source_id()LIKE x FROM t0;
BEGIN;
DELETE FROM t0 WHERE rowid%2;
PRAGMA incremental_vacuum(4);
ROLLBACK;


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a,b load_extension(1,1),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 t0;
UPDATE t0 SET y=y+1 WHERE x=new.rowid;
SELECT 000;
DELETE FROM [a]WHERE x=new.rowid;
END;
INSERT INTO t1(a,b) VALUES(0,0);


sqltext:
BEGIN TRANSACTION;
CREATE TABLE t1(a,b load_extension(1,1),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 t0;
UPDATE t0 SET y=y+1 WHERE x=new.rowid;
SELECT 000;
DELETE FROM t0 WHERE x=new.rownew.rowid;
SELECT 000;
DELETE FROM tid;
END;
INSERT INTO t1(a,b) VALUES(0,0);


sqltext:
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(1);
INSERT INTO t0 VALUES(3);
INSERT INTO t0 VALUES(2);
INSERT INTO t0 VALUES(3);
INSERT INTO t0(rowid,x) SELECT nullif(x || 0,14), x+100 FROM t0;
SELECk rowid, x FROM t0;


sqltext:
CREATE TABLE teeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee13(a PRIMARY KEY CHECK(?!=2)) WITHOUT rowid;
BEGINS(1);


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='CREATEINDEX t00 ON 00(a)'
WHERE name='t1a';
UPDATE sqlite_master SET sql='CREATE TABLE 00([ NOT NULLCURRENT_TIMESTAMPt1';
PRAGMA writable_schema=OFF;
ALTER TABLE t1 RENAME TO t10;
PR


sqltext:
CREATE TABLE epis0de ( i0000000e integer primary key, i00000 int0000,c00 text,c01 text,c02 text,c03 text,c04 text,c05 text,c06 text,c07 text,c08 text,c09 text,c10 text,c11 text,c12 v00char(00),c13 v00char(00),c14 text,c15 text,c16 text,c17 v00char(00),c18 text,c19 text,c20 text,c21 text,c22 text,c23 text, i00h00 int0000);
INSERT INTO "epis0de" VALUES(1,0,'000','000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000','','00000000','','0000000000','00000000000000000000000000000000000','',NULL,'0000','0000000000000','','0','0','','00','00','00','0000000000000000000000000000000000000000000000000000000000000000000000000000000000','0','000000',NULL,NULL,NULL,0);
CREATE TABLE tvsh000inkpath (i000 int0000, i00000 int0000);
INSERT INTO "tvsh000inkpath" VALUES(0,0);
CREATE TABLE seas0ns (d000000 integer primary key, i00000 int0000, s00000 int0000);
INSERT INTO"seas0ns"VALUES(1,0,-0);
INSERT INTO"seas0ns"VALUES(2,0,0);
INSERT INTO"seas0ns"VALUES(3,0,0);
INSERT INTO"seas0ns"VALUES(4,0,0);
INSERT INTO"seas0ns"VALUES(5,0,0);
INSERT INTO"seas0ns"VALUES(6,0,0);
INSERT INTO"seas0ns"VALUES(7,0,0);
INSERT INTO"seas0ns"VALUES(8,0,0);
INSERT INTO"seas0ns"VALUES(9,0,0);
CREATE TABLE art(a00000�INTEGER PRIMARY KEY, m0000000 INT0000, m000000000 TEXT, t000 TEXT, u00 TEXT);
INSERT INTO"art" VALUES(1,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(2,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(3,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(4,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(5,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(6,0,'00000','00000','0000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(7,0,'0','00000','00000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(8,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(9,0,'00000','00000','0000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(10,00,'00000','00000','00000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(11,0,'000000','00','00000000000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(12,0,'000000','000000','000000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(13,0,'0000','000000','00000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(14,0,'0000','000000','00000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(15,0,'0','000000','00000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(16,2,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(17,3,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(18,3,'000000','000000','0000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(19,4,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(20,4,'000000','000000','0000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(21,5,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(22,5,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(23,6,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(24,6,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(25,7,'000000','000000','00000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(26,7,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(27,8,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(28,9,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(29,0,'0000000','00000','0000000000000000000000000000000000000000000000000000');
CREATE INDEX b0000000 ON b0000000 (i0000e, t000);


sqltext:
CREATE TABLE epis0de ( i0000000e integer primary key, i00000 int0000,c00 text,c01 text,c02 text,c03 text,c04 text,c05 text,c06 text,c07 text,c08 text,c09 text,c10 text,c11 text,c12 v00char(00),c13 v00char(00),c14 text,c15 text,c16 text,c17 v00char(00),c18 text,c19 text,c20 text,c21 text,c22 text,c23 text, i00h00 int0000);
INSERT INTO "epis0de" VALUES(1,0,'000','000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000','','00000000','','0000000000','00000000000000000000000000000000000','',NULL,'0000','0000000000000','','0','0','','00','00','00','0000000000000000000000000000000000000000000000000000000000000000000000000000000000','0','000000',NULL,NULL,NULL,0);
CREATE TABLE tvsh000inkpath (i000 int0000, i00000 int0000);
INSERT INTO "tvsh000inkpath" VALUES(0,0);
CREATE TABLE seas0ns (d000000 integer primary key, i00000 int0000, s00000 int0000);
INSERT INTO"seas0ns"VALUES(1,0,-0);
INSERT INTO"seas0ns"VALUES(2,0,0);
INSERT INTO"seas0ns"VALUES(3,0,0);
INSERT INTO"seas0ns"VALUES(4,0,0);
INSERT INTO"seas0ns"VALUES(5,0,0);
INSERT INTO"seas0ns"VALUES(6,0,0);
INSERT INTO"seas0ns"VALUES(7,0,0);
INSERT INTO"seas0ns"VALUES(8,0,0);
INSERT INTO"seas0ns"VALUES(9,0,0);
CREATE TABLE art(a00000 INTEGER�PRIMARY KEY, m0000000 INT0000, m000000000 TEXT, t000 TEXT, u00 TEXT);
INSERT INTO"art" VALUES(1,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(2,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(3,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(4,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(5,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(6,0,'00000','00000','0000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(7,0,'0','00000','00000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(8,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(9,0,'00000','00000','0000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(10,00,'00000','00000','00000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(11,0,'000000','00','00000000000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(12,0,'000000','000000','000000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(13,0,'0000','000000','00000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(14,0,'0000','000000','00000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(15,0,'0','000000','00000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(16,2,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(17,3,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(18,3,'000000','000000','0000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(19,4,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(20,4,'000000','000000','0000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(21,5,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(22,5,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(23,6,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(24,6,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(25,7,'000000','000000','00000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(26,7,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(27,8,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(28,9,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(29,0,'0000000','00000','0000000000000000000000000000000000000000000000000000');
CREATE INDEX b0000000 ON b0000000 (i0000e, t000);


sqltext:
CREATE TABLE epis0de ( i0000000e integer primary key, i00000 int0000,c00 text,c01 text,c02 text,c03 text,c04 text,c05 text,c06 text,c07 text,c08 text,c09 text,c10 text,c11 text,c12 v00char(00),c13 v00char(00),c14 text,c15 text,c16 text,c17 v00char(00),c18 text,c19 text,c20 text,c21 text,c22 text,c23 text, i00h00 int0000);
INSERT INTO "epis0de" VALUES(1,?,'000','000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000','','00000000','','0000000000','00000000000000000000000000000000000','',NULL,'0000','0000000000000','','0','0','','00','00','00','0000000000000000000000000000000000000000000000000000000000000000000000000000000000','0','000000',NULL,NULL,NULL,0);
CREATE TABLE tvsh000inkpath (i000 int0000, i00000 int0000);
INSERT INTO "tvsh000inkpath" VALUES(0,0);
CREATE TABLE seas0ns (d000000 integer primary key, i00000 int0000, s00000 int0000);
INSERT INTO"seas0ns"VALUES(1,0,-0);
INSERT INTO"seas0ns"VALUES(2,0,0);
INSERT INTO"seas0ns"VALUES(3,0,0);
INSERT INTO"seas0ns"VALUES(4,0,0);
INSERT INTO"seas0ns"VALUES(5,0,0);
INSERT INTO"seas0ns"VALUES(6,0,0);
INSERT INTO"seas0ns"VALUES(7,0,0);
INSERT INTO"seas0ns"VALUES(8,0,0);
INSERT INTO"seas0ns"VALUES(9,0,0);
CREATE TABLE art(a00000 INTEGER PRIMARY KEY, m0000000 INT0000, m000000000 TEXT, t000 TEXT, u00 TEXT);
INSERT INTO"art" VALUES(1,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(2,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(3,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(4,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(5,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(6,0,'00000','00000','0000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(7,0,'0','00000','00000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(8,0,'000','00000','0000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(9,0,'00000','00000','0000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(10,00,'00000','00000','00000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(11,0,'000000','00','00000000000000000000000000000000000000000000000000');
INSERT INTO"art" VALUES(12,0,'000000','000000','000000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(13,0,'0000','000000','00000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(14,0,'0000','000000','00000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(15,0,'0','000000','00000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(16,2,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(17,3,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(18,3,'000000','000000','0000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(19,4,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(20,4,'000000','000000','0000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(21,5,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(22,5,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(23,6,'000000','000000','0000000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(24,6,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(25,7,'000000','000000','00000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(26,7,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(27,8,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(28,9,'000000','000000','000000000000000000000000000000000000000000000000');
INSERT INTO "art" VALUES(29,0,'0000000','00000','0000000000000000000000000000000000000000000000000000');
CREATE INDEX b0000000 ON b0000000 (i0000e, t000);


sqltext:
CREATE TABLE t5(a �EXT PRIMARY KEY, b V00CHAR(50)UNIQUE) WITHOUT ROWID;REPLACE INTO t5 VALUES('00000','0000');
SELECT count(*) FROM t5;


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


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


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


sqltext:
CREATE TABLE t0(a);
INSERT INTO t0 VALUES('a');
SELECT a< CAST(a AS blob int000)< CAST(a AS bloX int000) FROM t0;


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


sqltext:
DROP TABLE IF EXISTS t0;
CREATE TaBLE t1(a INTEGER PRIMARY KEY, b, c);
INSERT INTO t1 VALUES(1,1,'0000');
INSERT INTO t1 VALUES(10,1,'0000');
INSERT INTO t1 VALUES(20,1,'o000');
INSERT INTO t1 VALUES(3,1,'0000');
INSERT INTO t1 VALUES(40, 1, 'o000');
INSERT INTO t1 VALUES(50, 1, 'o000');
INSERT INTO t1 VALUES(60, 1,X'0000');
INSERT INTO t1 VALUES(70, 1, '0000');
INSERT INTO t1 VALUES(80, 1,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,0, -14) FROM t1;
INNSE


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,0, -1 || 4) FROM t1;
INNSE


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


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,'���' || substr(c,4) FROM t1;
INSERT INTO t1 SELECT a+2,2001-01-013,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*';
CREATE INDEX t0b ON t1(b);
REINDEX;
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,2001-01-013,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*';
INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*';
INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '���0*';
CREATE INDEX t0b ON t1(b);
REINDEX;
SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60;


sqltext:
CREATE VIRTUAL TABLE t0 USING fts4(prefix=2001-012001-01-01-012001-01-1-01 time(1,1,1) m01 tim01 time(1,1,1) m01 time(1,1,1) min(1,1)M01"");


sqltext:
CREATE TABLE t0(x);
INSERT INTO t0 VALUES(1);
INSERT INTO t0 VALUES(2);
INSERT INTO t0 VALUES(3);
INSERT INTO t0(rowid,x) SELECT nullif(x*2/10,.4), avg(1)FROM t0;
SELECT rowid, x FROM t0;


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


sqltext:
PRAGMA auto_vacuum= incremental;
PRAGMA  auto_vacuum=FULL incremal;
PRAGMA  auto_vacuum= incremeBLE t1(


sqltext:
PRAGMa auto_vacuum= incremental;
PRAGMA  auto_vacuum= incremal;
PRAGMA  auto_vacuum= incremeBncremal;
PRAGMA  auto_vacuum= inLE t1(


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 s000e_0ocument_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 s00000000000000000000 ON sub0ects(sub0ect);
CREATE INDEX sq00000_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, U sqlite_compileoption_used(1));
CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id);
CREATE INDEX ls_ ON labels(mailbo0_id)


