SQLite format 3@ - twte%tablereadmereadmeCREATE TABLE readme( msg TEXT -- Human-readable description of this file )tablexsqlxsqlCREATE TABLE xsql( sqlid INTEGER PRIMARY KEY, -- SQL script id sqltext TEXT -- Text of SQL statements to run )wtabledbdbCREATE TABLE db( dbid INTEGER PRIMARY KEY, -- database id dbcontent BLOB -- database disk file image ) ^|vpjd^toje`[VQLGB=83.)$ |vpjd^XRLF@:4.(" ztnhb\VPJD>82,& REATE ӂzЂvςt΂r͂q̂m˂jȂhǂeƂ`ł_ĂZÂV‚RNKGC=7530.*%!  ~|zwtrkgca][uYtUsRrMqLpFoCnBm=l;k9j7i5h4g3f2e0c,b*a(`"[!Z YTSRPO N MLKHG|FzEyDxCuBqAo@j?gXkps҈!0߂N ?SQL fuzz as of 2015-06-20sa0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('t0 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('eet'ISNULL); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t00 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 Septemberu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleeo 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 000FOREIGNina0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR0000 0o0 0a00''s r00000 f000 t00 n00000'); E E^ACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[EϏ0'; eOCREATE TEMP TABLE NOTNULLt0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[]000'; |}CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('00 02 S00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('eet'ISNULL); INSERT INTO t2 VALUES('0i0 sddressebIBEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX 1 ON t1(c,a)WHERE a in (10,12,20); ; 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*OM t1 WHERE a IN (SELECT a FROM e1 CUR0); DROP INDEX iT; Y]?SELECT sqlite_rename_trigger('E@?0 TR.GGER r0 ON x?CRE@?0 TR.GGER r0 ON x?0 WHEN',NULL); 4mPRAGMA auto_vacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1; VACUUM integrity_check; naSELECT group_concat(1,1) NOT IN () NOT IN (10 IN (10,10),110 IN (10,10),1) NOT IN (10 IN (10,10),1,10)900 000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e00AFTER0 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 a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); **[ ;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,Avg(y)FROM t34 AS a GROUP BY+a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); m_CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('00 02 S00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0 ??V 1PRAGMA foreign_keys= ON; CREATE TABLE p(i PRIMARY KEY); CREATE TABLE c(ORj REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c VALUES('0e00o'); UPDATE p SET i= '000'; SELECT * FROM c;  #CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000'); INSERT INTO t0000(b) VALUES('00'); END;EXPLAIN INSERT INTO t0000(b) VALUES('0000'); SELECT * FROM t0000 ORDER BY a; S +PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','0',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) 8k[WITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT time(1 -11) x FROM i LIMIT 10; E PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2,.3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,CURRENT_TIMESTAMP b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; .S+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' || new.b || sqlite_version() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); O#PRAGMA cache_size =-10; CREATE TABLE t1(x PRIMABY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(92001-01E0100) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROMt1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(92081-01-0100) FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(900); 8D PRAGMA encoding=UTF16be; SELECT hex(ltrim(~' total(10e0000')); EPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c,-b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,CURRENT_TIMESTAMP b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000');ANALYZE IN DD1gCREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('00 02 S00 0h0 wn0 0i0EXPLAINt00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000  89CREATE TABLE t4(a N00,b); INSERT INTO t4 VALUES('0',1); INSERT INTO t4 VALUES('0.80',2); INSERT INTO t4 VALUES('a00',3); INSERT INTO t4 VALUES('-1.0',4); INSERT INTO t4 VALUES('+1.0',5); INSERT INTO t4 VALUES('0',6); INSERT INTO t4 VALUES('000',7); SELECT a FROM t4 ORDER BY b; EPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, random()FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,CURRENT_TIMESTAMP b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; 2kCREATE VIRTUAL TABLE t0 USING fts4(prefix=""); )WATTACH''AS noname; ATTACH':memory:' AS inmem;VACUUM; CREATE TABLE noname.n00000(x); CREATE TABLE inmem.i0000(y); CREATE TABLE main.m000(z);ANALYZE;ANALYZE name m.sq PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULUES(1); ALTER TABLE t1 ADD COLOLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; P%SELECT 1.0000000000<000.06000000000<000.000<000.06000000000<000.060000; 00; m_ATTACH''AS noname; ATTACH':memory:' AS inmem; BEGIN; CREATE TABLE noname.n00000(x); CREATE TABLE inmem.i0000(y); CREATE TABLE TEMP.m000(z);ANALYZE; SELECT name FROM noname.sqlite_master; SELECT name FROM inmem.sqlite_master;ROLLBACK ACREATE TABLE t1(a, b, c); INSERT INTO t1(a) VALUES('0'); INSERT INTO t1(a)VALUES(10); INSERT INTO t1(a) VALUES(NULL); INSERT INTO t1(a) VALUES(22.0); INSERT INTO t1(a) VALUES(x' @1000000') ;{CREATE TABLE t2(a INT, b TEXT, c BLOB, d REAL); CREATE INDEX i0 ON t2(a ASC, b DESC, c ASC); CREATE INDEX i4 ON t2(b DESC, a ASC, d DESC); INSERT INTO t2 VALUES(1,'o00',x'00',1.0); INSERT INTO t2 VALUES(4,'u',x'00000000',4);VALUES(2,'two',x'32',2); INSERT INTO t2 VALUES(3,'0',x'00',3); INSERT INTO t2 VALUES(4,'u',x'00000000',4); INSERT INTO t2 VALUES(5,'f000',x'0000000000',5.0); INSERT INTO t2 VALUES(6,'x',x'00',6); INSERT INTO t2 VALUES(2,'two',x0',2.1); INSERT INTO t2 VALUES(2,'w',x'00',2.0); INSERT INTO t2 VALUES(2,NULL,NULL,3); SELECT count(*) FROM t2; x6x;{CREATE TABLE aa(a); CREATE TABLE bb(b); INSERT INTO aa VALUES(1); INSERT INTO aa VALUES(3); INSERT INTO bb VALUES(2); INSERT INTO bb VALUES(4); SELECT * FROM aa, bb WHERE max(a,b)>2; GPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob( [a]), sqlite_compileoption_get(A)ELETE FROM t1 WHERE rowid%23 ww! GCREATE TABLE t0(a UNIQUE PRIMARY KEY); CREATE TABLE t8(a UNIQUE PRIMARY KEY ON CONFLICT ROLLBACK); INSERT INTO t0 VALUES(1); INSERT INTO t8 VALUES(1);VACUUM bIPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05< randomblob(42001-01-0100)); INSERT INTO t1 VALUES(06, randomblob(42001-01-0100)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; ~}/~.$aPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab'); INSERT INTO t0t0006 VALUES(''); SELECT DISTINCT oding=UT; L#ATTACH''AS noname; ATTACH':memory:' AS inme; ATTACH':memory:' AS imem;et"mPRAGMA foreign_keys = ON; CREATE TABLE t1(ASa UNIQUE, d REFERENCES t1(ASCa)UNIQUE);REPLACE INTO t1 VALUES(1,2); !PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM$tt; INSERT INTO tt SELECT randomblob(5*2001-01-010), randomblob(602001-01-010) FROM tt; INob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; 'R')CREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16,y+16 FROM t2; INSERT INTO t2 SELECT "a",y+32 FROM t2; INSERT INTO t2 SELECT x+64, y+64 FROM t2; SELECT count(*),sum(x), sum(y) FROM t2; N&!PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char(122001-01-0100,-01-01),b)OR a='0' ORDER BY +x; V%1CREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN 1=1+(NOT new.bar BETWEEN 0 AND 20) THEN raise(rollback, '000000') END; END; INSERT INTO foo(bar) VALUES (0); l(]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; ..O)#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, ''); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c, 'a') FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||sr(c,4) FROM t1 WHERE c GLOB INSE y*wDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1,X'0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,0,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; &&m-_CREATE TABLE t1(x, y DEFAULT(datetime('337'))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; ,PRAGMA mmap_size= 0; PRAGMA page_size = 1024; PRAGMA cache_sizeO 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(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM Y+7BEGIN 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,126,6,4); UPDATE t1 SET b=a WHFROM t1 WHERE a IN (SELECT a FROM t1 WHERE a<1.); DROP INDEX a.b DELETE >k>+/]SELECT ?110 IY 1 COLLATE s00000000e; .)SELECT 1000000%00020000000101000000%00800000060060000500000000000%000000060000000101000000%00800006666666666666666666600000000%008000060000; >>?0PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(8/0) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; ::C1 BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b char(1)); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'000.'; COMMIT; !0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT" INTO t2 VALUES('leet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somm} and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT IN0he'); 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 00C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se000#0000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to NSERT 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.'); INSERY 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 }); b2ICREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s LLp4eCREATE TABLE t0(a); INSERT INTO t0 VALUES('0'); PRAGMA full_column_names=on; SELECT rowid, A FROM t0;VACUUM ?3CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('c', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 ORDER BY 'a', c; d5MPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(140) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100 -1) FROM t3; INSERT INTO t3 SELECT randomblob(10 ) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX UV71CREATE TABLE t0(a, b V00CHAR, c00000000); CREATE VIRTUAL TABLE t00000 USING [a]0; (6UPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500-4)) ); INSERT INTO t1 VALUES( randomblob(110 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid< 3; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid < 1; h9USELECT sqlite_rename_trigger('CRE@!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!T0 TRIGGER r0 ON x?? WHEN',NULL); d8MPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(102) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100 -1) FROM t3; INSERT INTO t3 SELECT randomblob(10 ) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX ^^?;CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('c', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY-a, b-oid ]:?CREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| length(1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); &^@ADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN randomblob(12001-01-01)WHEN 6 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; P?%SELECT 1000000%00000006006000010+0000%00000006000000000%00000006000060000; t>mWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM i GROUP BY 1) SELECT instr(1,1)x FROM i LIMIT 2001-01-01103 c=KCREATE TABLE t0(a, b, c); INSERT INTO t0 VALUES($0,$b, $c); INSERT INTO t0 VALUES($0, $b, $a); s<kWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM i GROUP BY 1) SELECT length(1)x FROM i LIMIT 2001-01-01103 2BkSELECT '1.0e64'/'1.0000e-324'/'1.0000e-320e6';dAMPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(100) FROFULL; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100 -1) FROM t3; INSERT INTO t3 SELECT randomblob(10 ) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX -00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t.2 VALUES('leet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somm} and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');ANALYZE INSERT IN0he'); 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 00C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se000/0000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to NSERT 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.'); INSERY 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 }); 55HDCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x1.a AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; iCWCREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r, k GCREATE TABLE test(c0l0 a,b TEXT PRIMARY KEY); INSERT INTO test(c0l0)values('a'); INSERT INTO test(c0l0)values('b'); INSERT INTO test(c0l0)values('c'); CREATE TABLE test2(c0l0 TEXT PRIMARY KEY); INSERT INTO test2(c0l0)values('a'); INSERT INTO test2(c0l0)values('b'); INSERT INTO test2(c0l0) values('c'); SELECT*FROM test t0 LEFT OUTER JOIN test2 t2 ON t0.c0l0= t2.c0l0 WHERE +t2.c0l0 IS NULL; KFCREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE oid; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON (x=99) ORDER BY x;VACUUM E)CREATE TEMP TABLE t0(a PRIMARY KEY, b, c); CREATE INDEX t000000 ON t0(c COLLATE BINARY); CREATE INDEX t000002 ON t0(b COLLATE NOCASE);REINDEX 6%JQSELECT printf('0%110.103s0', -1); iIWBEGIN 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 >= (SELECT a FROM t1 WHERE a<1.); DROP INDEX i1; DELETE FROM t1; COMMIT; [H;BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX 1 ON t1(a,a); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a<2001-01-0110); DROP INDEX iT; !_!gNSCREATE TABLE t0(a PRIMARY KEY, b); CREATE TABLE t2(r000d, d, FOREIGN KEY(r000d) REFERENCES t0(a)); MCREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000'); INSERT INTO t0000(b) VALUES('0000000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); SELECT * FROM t0000 ORDER BY 'a'DL PRAGMA journal_mode = off; PRAGMA journal_mode = in0000d;VACUUM KADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 3 THEN randomblob(92001E01-01)WHEN 2 THEN zeroblob(5)LIKE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; 3FQCREATE TABLE t0000(a text primary key, b00000, primary key(a,b)); lP]CREATE TABLE t14(a,b,c); INSERT INTO t14 VALUES(1,2,3),(4,5,6); SELECT * FROM t14 INTERSECT VALUES(3)2,1\O=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','t4lll','0 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROMt4 4V4 SGPRAGMA temp_store_directory; 'RSCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a<2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y OR NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 >= b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; S"SLUCREATE TABLE t5(a, b char(1)); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b='000'), t0 WHERE b='abc'; [T;PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(42001-01-0103)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length( @1y) FROM t1 ORDER BY x; =tWmCREATE 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 t8@VCREATE 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 || 0,14), x+100 FROM t0; SELECT rowid, x FROM t0; 900i0000 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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id);ANALYZE INDEX l "${"V[1CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower( -11)|| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); zZyCREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d); INSERT INTO t0 VALUES('000','000r000','00a','000000'); INSERT INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT DISTINCT?, '0' FROM t0 ORDER BY c, a; *Y[SELECT sqlite_compileoption_used('S'); YX7CREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a NTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0.a FROM (( (1)OIN t2 ON t0.a=t2.a) AS x JOIN t2x ON x.b=t2x.b) as00; JxJ3`mSELECT 10 IN (SELECT _row) FROM sqlite_master); ,__SAVEPOINT o00; ATTACH '00000000' AS a00; O^#PRAGMA cache_size =-10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(92001-01E0100) 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 randomblob(22081-01-0100) FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(900); S]+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' || new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b=$changes(); ^\ACREATE TEMP TABLE t(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*000'; 9w>+f]SELECT printf('%+.*f',5 -13.000000003); Qe'CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,c,a,b,c)) WITHOUT ROWID+ 7duSELECT CASE WHEN -0<1 THEN '0000' ELSE '00000' END; ?cCREATE 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 d COLLATE DESC, b, c, a DESC; obcCREATE TABLE t1(x, y DEFAULT(+replace(1,1,1))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y)%Y FROM t1; Ta-CREATE VIRTUAL TABLE t000s0 USING fts4aux("0000'0'0000"); SELECT * FROM t000s0; >d); 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_0o0000DATABASE000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) ]]g-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_recei0e= 1I{j{CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0( "a","b",e); 000000 eiOATTACH''AS noname; ATTACH':memory:' AS inmem; BEGIN; CREATE TABLE noname.n00000(x); CREATE TABLE inmem.i0000(y); CREATE TABLE main.m000(z); EXPLAIN SELECT name FROM noname.sqlite_master; SELECT name FROM inmem.sqlite_master; LhPRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT sqlite_compileoption_get(1) /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(22001-81-6.00);REINDEX .3&.o!BEGIN; CREATE TEMP TABLE t1(a, b); INSERT INTO t1 VALUES(1, 2); COMMIT; SELECT * FROM t1; PRAGMA temp.journalt1; PRAGMA temp.journa_mode; enOCREATE TABLE t0(x, y); CREATE INDEX i0 ON t0(x, y); CREATE VIEW v0 AS SELECT * FROM t0. ANALYZE; *mYCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( instr(1,1)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); ]l?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| `a`(1,1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); JkPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(aCOLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT sqlite_source_id() a FROM t0t0006; W!qGCREATE TABLE t1(x, y REAL); INSERT INTO t1 VALUES(1,'1.0'); INSERT INTO t1 VALUES(2, '.5'); INSERT INTO t1 VALUES(3, '1.'); INSERT INTO t1 VALUES(4,'1e0'); INSERT INTO t1 VALUES(5,'.03'); INSERT INTO t1 VALUES(6,'1e0'); INSERT INTO t1 VALUES(10,'1.'); INSERT INTO t1 VALUES(12,'.5'); INSERT INTO t1 VALUES(13,'3.'); INSERT INTO t1 VALUES(14,'3e0'); INSERT INTO t1 VALUES(15,'.2'); INSERT INTO t1 VALUES(16,' 20e4'); INSERT INTO t1 VALUES(20,'1 '); INSERT INTO t1 VALUES(22,'5 '); INSERT INTO t1 VALUES(23,'3.'); INSERT INTO t1 VALUES(24,'1.e0'); INSERT INTO t1 VALUES(25, '.5e+3 '); INSERT INTO t1 VALUES(26,'1 '); SELECT x FROM t1 WHERE typeof(y)=='real' GROUP BY x; &pQCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c');EXPLAIN SELECT count(), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); L"+u[CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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* randomblob(1)a,2* last_insert_rowid()b,2*c,d FROM t1; mt_CREATE TABLE t1(x, y DEFAULT(+replace(1,1,1))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; (sWSELECT replace('00a0a', 'a''a','0'); 1rgCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a?' OR (t0.i0<>500 AND t0.i0=t1.i0)); /xcPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500*4)) ); INSERT INTO t1 VALUES( randomblob(110 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid= 3; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid = 1;ANALYZE nwaCREATE TABLE t0(a UNIQUE PRIMARY KEY); CREATE TABLE t8(a UNIQUE PRIMARY KEY ON CONFLICT ROLLBACK UNIQUE; IvvqDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY ON CONFLICT IGNORE, b); CREATE TABLE t2(x, y); INSERT INTO t1 VALUES(1,2); INSERT INTO t1 VALUES(1,3); INSERT INTO t1 SELECT * FROM t2; SELECT * FROM t1; >>?yPRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(000) FROM t1; /* 256 */ COMMIT; SS*zYPRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<30; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SE; X'XL|CREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE b OR (SELECT zeroblob(1) b FROM t0 ORDER BY b); V{1PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 / INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(802001-122010) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(000) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 *FROM t1; /* 64/ (800) FROM t1; /* 64 "/ INSERT INTO t1 SE\ECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT I7TO t1; ,K9CREATE 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 0e0IbISELECT 1.00000000100000000000000000000000600000001000000000000600000001000000000000000060000; {~{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ strftime(1,1,1,1)AND -1 || 1 FROM i GROUP BY 1) SELECT x FROM i LIMIT 1102Q}'CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0=++++++++ sqlite_compileoption_used(1))); 0000 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('toATE VI rtrim(1,1)RTUAL TABLE t2 USING ft'); 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('0's); 0000 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('toATE VIRTUAL TABLE t2 USING ft'); 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('0's); "e"@CREATE TABLE t13(a PRIMARY KEY CHECK(a2)) WITHOUT rowid; B#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('0o0*se0 sai 0a0 00 E00J U/CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('00'); SELECT 1, x FROM t0 WHERE x LIKE wid()NOT LIKE '%h%' ESCAPE rowid()NOT LIKE '%h%' ESCAPE trim(1,1) '0'; 4oWITH [a] AS ( SELECT * FROM t0) DELETE FROM t0; &QCREATE TABLE t2(a INT, b TEXT, c BLOB, d REAL); CREATE INDEX i0 ON t2(a ASC, b DESC, c ASC); CREATE INDEX i4 ON t2(b DESC, a ASC, d DESC);EXPLAIN INSERT INTO t2 VALUES(1,'o00',x'00',1.0); INSERT INTO t2 VALUES(2,'two',x'32',2); INSERT INTO t2 VALUES(3,'0',x'00',3); INSERT INTO t2 VALUES(4,'u',x'00000000',4); INSERT INTO t2 VALUES(5,'f000',x'0000000000',5.0); INSERT INTO t2 VALUES(6,'x',x'00',6); INSERT INTO t2 VALUES(2,'two',x'3200',2.1); INSERT INTO t2 VALUES(2,'w',x'00',2.0); INSERT INTO t2 VALUES(2,NULL,NULL,3); SELECT count(*) FROM t2; ywDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT-a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN [a]AND 60; c7c> PRAGMA journal_mode = persist;PRAGMA journal_mode = persi #CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d OR NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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;VACUUM ECREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m, "a","b" -1) AS00 FROM t0 GROUP BY m OR round(1,1); b1bK CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2.1) AS00 FROM t0 GROUP BY m ORDER BY 1, substr(1,1,1) 2; K PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b| randomblob(1)|c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT total(1) a, b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; ?g_?=PRAGMA page_size=1024; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,hex(randomblob(200))); INSERT INTO t1 VALUES(2,hex(randomblob(200))); INSERT INTO t1 VALUES(3,hex(randomblob(200))); INSERT INTO t1 VALUES(4, hex(randomblob(200))); SELECT count(*) FROM t1; --5qSELECT printf('%d0000%+*d',50< random()-10,3000);  ESELECT 0x1ADD0000000000000; ; {CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT length(1) idx, stat FROM sqlite_stat1 ORDER BY idx; 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 VALUESCONSTRAINT 0o0 0a00''s r00000 f000 t00 n00000'); =p_CWITH i(x) AS ( VALUES(1) UNION ALL SELECT 1+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 506 fQWITH i(x) AS ( VALUES( 1=11) UNION SELECT (x | count(1)| +1)*10 FROM i) SELECT x FROM i LIMIT 20; ICREATE TABLE t000(a INvEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT 2 FROM t000, t000, t001, t001, t002 WH 7sCREATE 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 00Q CACP%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT total(1) "a","b"p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; m_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) +1 FROM i ORDER BY 1) SELECT hex(1) x FROM i LIMIT 10; <SELECT printf('0%110.100s0%110.100s0%110.100s0RENAME0');xuBEGIN; CREATE TEMP TABLE t1(a, b); INSERT INTO t1 VALUES(1, 2); COMMIT; SELECT * FROM t1; PRAGMA temp.journal_mode; ;{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 randomblob(900) FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(100); PQ'PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1,82,?3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT 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 sqlite_compileoption_used(1) a, b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; `ECREATE TABLE t00b AS SELECT 4 AS '', 5 AS '', 6 AS'', 5 AS '', 6 ''; SELECT * FROM t00b; 5qATTACH '000000000000' as julianday(CURRENT_TIME); uoCREATE TABLE t0(a,b); INSERT INTO t0 VALUES(0,'00'),(90,'00000'); SELECT (t0.a<00) x, b FROM t0 WHERE a<0 OR x; Vñû3'); INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2W VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m0X0'); 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 }); N~N-aPRAGMA empty_result_callbacks=on;ANALYZE; jYCREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,0-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00U nn !CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, nullif(1,1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; 77E!PRAGMA max_page_count = 1000.00; 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|| sqlite_version()c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT-a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a, b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc 2ELECT c, b, a FROM abc; ]ñû3'); INSERT INTO t2 VALUES('00 02 C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2^ VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 Sepember 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00C00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m0_0'); 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 }); ~~j"YCREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,0-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 group_concat(1,1)\ Fvwe(OATTACH''AS noname;ANALYZE':memory:' AS inmem; BEGIN; CREATE TABLE noname.n00000(x); CREATE TABLE inmem.i0000(y); CREATE TABLE main.m000(z); COMMIT; SELECT name FROM noname.sqlite_master; SELECT name FROM inmem.sqlite_master; @'SELECT sqlite_rename_trigger('[RGGER r0 ON x00 WHEN',NULL); 8&uANALYZE; DROP TABLE IF EXISTS sqlite_stat1; DROP TABLE IF EXISTS s2; DROP TABLE IF EXISTS l0; DROP TABLE IF EXISTS s4; SELECT name FROM sqlite_master WHERE name GLOB '000*';VACUUM L%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 WHERE y2.q=y2.q; SELECT * from z; :${PRAGMA encoding=UTF16be; SELECT hex( total_changes()); z#yWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, random() -1) x FROM i LIMIT 10; q_*CPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(92001-61-2000)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%4; PRAGMA incremental_vacuum(); ROLLBACK; )CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, quote(1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; ___,CPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(92001-01-2000)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid&4; PRAGMA incremental_vacuum(); ROLLBACK; :+yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' ORDER BY-+x; content) VALUES(9, 'one four'); INSERT INTO t1 (rowid, content) VALUES(10, 'two four'); DELETE FROM t1 WHERE rowid = 7; INSERT INTO t1 (rowid, content) VALUES(11, 'one two four'); INSERT INTO t1 (rowid, content) VALUES(12, 't0ree four'); INSERT INTO t1 (rowid, content) VALUES(13, 'one t0ree four'); DELETE FROM t1 WHERE rowid = 10; INSERT INTO t1 (rowid, content) VALUES(14, '0000 0o00'); INSERT INTO t1 (rowid, content) VALUES(15, 'one two t0reur'); UPDATE t1 SET content = '00 0w0 0e' WHERE rowid = 8; INSERT INTO t1 (rowid, content) VALUES(16, '00'); DELETE FROM t1 WHERE rowid = 1; INSERT INTO t1 (rowid, content) VALUES(7, '00'); INSERT INTO t1 (rowid, content) VALUES(10, '00'); INSERT INTO t1 (rowid, content) VALUES(19, '00 0w0 0e'); DELETE FROM t1 WHERE rowid = 16; INSERT INTO t1 (rowid, content) VALUES(20, '00 0e'); INSERT INTO t1 (rowid, content) VALUES(21, '00'); INSERT INTO t1 (rowid, content) VALUES(22, 'two 000 five'); DELETE FROM t1 WHERE rowid = 19; UPDATE t1 SET content = 'u0' WHERE rowid = 15; bH:bT0-CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE a DESC; /@R(a< 6i.WWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<001-01-011 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; @-CREATE VIRTUAL TABLE t1 USING fts3(content); INSERT INTO t1(rowid,content)VALUES(1,'one'); INSERT INTO t1(rowid,content)VALUES(2,'two'); INSERT INTO t1 (rowid, content) VALUES(3, 'one two'); INSERT INTO t1 (rowid, content) VALUES(4, 't0ree'); INSERT INTO t1 (rowid, content) VALUES(5, 'one t0ree'); INSERT INTO t1 (rowid, content) VALUES(6, 'two t0ree'); INSERT INTO t1 (rowid, content) VALUES(7, 'one two t0ree'); DELETE FROM t1 WHERE rowid = 4; INSERT INTO t1 (rowid, content) VALUES(8, 'four'); UPDATE t1 SET content = 'u0 one t0ree' WHERE rowid = 1; INSERT INTO t1 (rowid,d .j.92yWITH x(a) AS ( SELECT * FROM t0) UPDATE t0 SET x0= y; 1)PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FRreett; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERU INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500 time(1,1,1)b(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; ==?3PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800));EXPLAIN INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT-randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; e4OWITH i(x) AS ( VALUES(1) UNION ALL SELECT glob(1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; ==?5PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800));EXPLAIN INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */REINDEX; dd?7CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('c', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY a, a, a,bU6/CREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t1b ON t1(b);; ANALYZE sqlite_master; CREATE INDEX t0d ON t0(d); ANALYZE sqlite_master; INSERT INTO sqlite_stat1 VALUES('t1','t1b','10000 500'); INSERT INTO sqlite_stat1 VALUES('t0','t0d','10000 500'); ANALYZE sqlite_master; EXPLAIN QUERY PLAN SELECT * FROM t1, t0 WHERE d=b; 79sDROP 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,4,#14) FROM t1; INNSEu8oDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2)in(1,1)FROM t1 GROUP BY 01; NNL;CREATE TABLE t00b AS SELECT 4 AS '', 5 AS _______AS ''; SELECT * FROM t0_:CPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(14201E01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE /* */-6; PRAGMA incremental_vacuum(); ROLLBACK; ?%?b=ICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%q0%s' /* */) FROM t1 ORDER BY rowid; W<3PRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(100)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT replace(1,1,1) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randohblob(200) FROM t3;REINDEX i&BCREATE TABLE t0(a,INT PRIMARY KEY, b, c, UNIQUE(b, c)) WITHOUT rowid+ CRBLE t3(g, h, i, FOREIGN KEY (h, i) REFERENCES t0(b, c)); AACREATE TABLE t1(x char(1)); INSERT INTO t1 VALUES(1),(2.5),('00000'),(x'0000'),(NULL); SELECT quote(x)FROM t1 ORDER BY x; SELECT name FROM sqlite_master; i@WCREATE TABLE t000(c000 INT0000); CREATE TABLE t002(c000 INT0000); SELECT a,b0.* ,ROM t000 NATURAL JO @?SELECT 10 EXCEPT SELECT 20 ORDER BY 3333333333,3331 COLLCTE >+CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2001-01-012*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; yCwDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1,X'0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,C) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c LIKE '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; {iFWCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN ( -1, -13)%YgESCREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| sqlite_compileoption_get(1)| '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); D1CREATE TABLE t0(a,b,c,d, PRIMARY KEY(a,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d); INSERT INTO t0 VALUES('000','000r000','00a','000000'); INSERT INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INS; U]FU.LaCREATE TABLE t0(a PRIMARY KEY, b); INSERT INTO t0 VALUES('0', '000'); INSERT INTO t0 VALUES('d00', '000'); SELECT a, max(b ||$a) FROM t0 WHERE (b||b||b)!='0' GROUP BY a; 00)); CREATE TABLE t011(b, CHECK( x000y.t011.b BETWEEN 0 AND 10 )); ;b{BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b = '000E'; COMMIT; 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 I00 UNIQUE,a0000000 NTEGER PRIMARY KEY, sub COLLATE RTRIM _0o0000000000 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, d0000 INT0000 DEFAULT 0, u0000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) ;Dg SELECT '0000' [ASCa] UNION SELECT '000h' ORDER BY 1 ASC, 1,ASC; Vf1WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ -11 FROM i LIMIT 5) SELECT x FROM i; *eYCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( round( -1)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); dCREATE 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 b$=kCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date( "a") stat FROM sqlite_stat1 ORDER BY 002; %jQSELECT printf('0%110.1con0ers0'); :iyPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','0',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) h9CREATE TABLE t0(a, b coalesce(1,1)); ALTER TABLE t0 ADD c REFERENCES t0(c) ; SELECT sql FROM sqlite_master WHERE tbl_name = 't0' AND type = 'table'; jjuroCREATE TABLE t20b(a,b,c,d,e,f,g,h,i);VALUES(0, hex(randomblob(2000)), null, 0, 0, '', zeroblob(0),'0',x'00'); 00 8qwSELECT '1.0e64'+'1.0000e-620e64'/'1.0000e-2001-062'; hpUCREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[2001-01-01E000'; )oYPRAGMA empty_result_callbacks=on;VA; bnICREATE TABLE t13(a PRIMARY KEY CHECK( [a])) WITHOUT rowid;VACUUM; REPLACE INTO t13 VALUES(1); umoCREATE table t0(a,b); INSERT INTO t0 VALUES('0000','00'); INSERT INTO t0 VALUES('00000','xy0'); CREATE TABLE t2(x,y); INSERT INTO t2 SELECT strftime(1,1,1,1) a, CASE b WHEN 'xy0' THEN [a] ELSE b END FROM t0; SELECT x, y FROM t2 ORDER BY x; jlYCREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%n0%s',a,b,c)ROLLBACK FROM t1 ORDER BY rowid; lt]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 IN (SELECT a FROM t1 WHERE a= -11.); DROP INDEX i1; DELETE FROM t1; COMMIT; usoCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(b,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','000010 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8;  ] Pw%CREATE VIEW v0 AS SELECT t0.x AS00, t0.y AS00 FROM(t0 JOIN t0 USING( a,ba); Rv)CREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16,y+16 FROM t2; INSERT INTO t2 SELECT ~+32,y+32 FROM t2; INSERT INTO t2 SELECT x+64, y+64 FROM t2; SELECT count(*),sum(x), sum(y) FROM t2; IuCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,a,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','000010 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT * FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2;SEL JUJzCREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t1b ON t1(b); CREATE INDEX t0d ON t0(d); ANALYZE sqlite_master; INSERT INTO sqlite_stat1 VALUES('t1','t1b','10000'); INSERT INTO sqlite_stat1 VALUES('t0','t0d','10500'); REINDEX rtrim(1,1)'t1b','100cyKWITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT x+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; AxCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, total_changes() stat FROM sqlite_stat1 ORDER BY idx; =|CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date( 1E11) stat FROM sqlite_stat1 ORDER BY idx; {3BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char( avg(1) )tSt00n0 FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; ~;PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; S}+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| quote(1)| '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ywDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '000**'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; D(UPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500*4)) ); INSERT INTO t1 VALUES( randomblob(510 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid+ 3; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid = 1; MCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(2,'000'); INSERT INTO t1 VALUES(1,'0'); INSERT INTO t1 VALUES(3,'000000'); SELECT *, ( SELECT a FROM (SELECT x.b.'00000'y) ) FROM ( SELECT * FROM t1 ) AS x; LCREATE TABLE t00b AS SELECT "a","b", "a","b", 6''; SELECT * FROM t00b; ^ACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE -1 GLOB '*000'; 8uCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX '' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c);ANALYZE INTO [sil 0a0e] VALUES(1, 2, 3 OqOriCREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d); INSERT INTO t0 VALUES('000','000r000','00a','000000'); INSERT INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *, '0' FROM t0 ORDER BY c, 1=1(UCREATE TABLE t30a(x); INSERT INTO t30a VALUES(1),(2),(3); CREATE TABLE t300(y); INSERT INTO t30A VALUES(90), (99); SELECT max((SELECT round(1,1) t300)) FROM t30a; C CREATE TABLE t15(a INTEGER PR,MARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),(20,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,b) VALUES(2001-01-0115,'000'),(25,'000'),(35,'000'); UPDATE t15 SET c=printf("0%d",a) WHERE c IS NULL; SELECT a,b,c,'0'FROM t15 ORDER BY a; EPRAGMA synchronous =NO full;cache_size = 10; PRAGMA synchronous; &Y&\ =WITH i(x) AS ( VALUES(1) UNION SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; P %CREATE TABLE t0(a PRIMARY KEY, b REFERENCES t0); CREATE TABLE t2(a PRIMARY KEY, c REFEt0);VACUUM; CREATE TABLE t3(a REFERENCES t0, b REFERENCES t2, c REFEt0);VACUUM; CREATE TABLE t3(EFERENCES t0);VACUUM c KCREATE TABLE t0(a PRIMARY KEY, b); CREATE TABLE t2(c, d, PRIMARY KEY(r0000) REFERENCES t0(a)); F CREATE TABLE t10(x INTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON a.x20 -10;ANALYZE; H7uSELECT 10 EXCEP; SELECT 20 ORDER BY+3333333333#3331 tmCREATE TABLE t1(x, y DEFAULT(datetime(CURRENT_TIME))); INSERT INTO t1(x)VALUES(1); SELECT datetime(CURRENT_TIME)4mPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a, b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; ?6N ?JCREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS d FROM t44) A000 ON unicode(1)=4 OR d IS hex( -11)>SAVEPOINT s00; SAVEPOINT s0; SAVEPOINT s000; RELEASE s00; ]?WITH i(x) AS ( VALUES(1) UNION ALL SELECT-x+1 FROM i LIMIT 3) SELECT trim(1,1) x FROM i;  PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a RIMARY KEY); INSERT INTO t0t0006 VALUES('aVIEW'); INSERT INTO t0t0006 VAOUES('FPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM;VACUUM 2l2R)CREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16,y+16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT "a","b"+64 FROM t2; SELECT count(*),sum(x), sum(y) FROM t2; `ECREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0=++++++++++++++++++++++++++++++++++++++ ++ zeroblob(1)); S+PRAGMA read_uncommitted= 1; BEGIN; CREATE TABLE t0(a, b, UNIQUE(a, b));ANALYZE [;CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(2,'000'); INSERT INTO t1 VALUES(1,'0'); INSERT INTO t1 VALUES(3,'000000'); SELECT *, ( SELECT group_concat(1,1) y FROM (SELECT@oid='0'y) ) FROM ( SELECT @1FROM t1 ) AS x; \=CREATE VIRTUAL TABLE t0 USING fts4(prefix=2001-0?2001-0>-01 time(1,1,1) min(1,1)-01""); ? CREATE TABLE t5(a TEXT PRIMARY KEY, b V00CHAR(50)UNIQUE) WITHOUT ROWID;REPLACE INTO t5 VALUES('00000','0000'); SELECT count(*) FROM t5; "IPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( -91,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 WHERE a=1; T-CREATE TABLE t1(a TEXT COLLAT8 BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSERT INTO t1 VALUES(5.4e-08,'5.4e-08'); SELECT typeof(a), a, typeof(b), b FROM t1; @SELECT 10 UNION ALL SELECT .0 OR 1 COLLATE 00000000e;0000e; HH4!mPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count( )FROM abc; INSERT INTO abc SELECT a, b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; N ||N+%]SELECT printf('%*.*c',5,2 -1000000003); |$}DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(?40 ,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(va0u01) FROM t1 GROUP BY i01; #PRAGMA encoding=UTF8; CREATE VIRTUAL TABLE f00 USING fts3(a,0,c); SELECT name FROM sqlite_master WHERE name GLOB '?00_*' ORDER BY 1; s"kCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,f,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 60 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; $P $o*cWITH i(x) AS ( VALUES(1) UNION ALL SELECT glob(1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 2001-01-0110; o)cCREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' || new.b | sqlite_compileoption_get(1)| '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); C( 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 IN ( datetime(1,1,1),1,2,4,8);1) a i'WCREATE TABLE t000(c000 INT0000); CREATE TABLE t002(NT0000); SELECT c000.* ,R0.* ,ROM t000 NATURAL JO A&SELECT sqlite_rename_parent( "REFERENCES 0esa",'000','000'); K1.gCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT rtrim(1,1)FROM sqlite_stat1 ORDER BY idx; :-{SELECT CASE WHEN NOT-0.1 THEN '0000' ELSE '00000' END; ,PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL blobULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; k+[CREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC. "a","b"a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT avg(A), txyZ.x, tb0Th.a,tH.x, * FROM tabc, txyz, tb0th ORDER BY 9 LIMIT 1; T0-CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, total(1), e DESC, b, c, a DESC; 0/ePRAGMA vacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; 55[3;SELECT sqlite_rename_parent( "RE!!!!!!!!!!!!!!!!!!!!!!!!!!FERENCES a.ba",'000','000'); Q2'SELECT typeof(@roup_concat(x,'')) FROM (SELECT '' AS x UNION ALL SELECT ''); 1/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|| random()a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; IO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; G5PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%2. t4mCREATE TABLE t1(x); INSERT INTO t1 VALUES(randomblob(100)); INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT sqlite_version()FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; CREATE INDEX i0 ON t1(x); 7CREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON 2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2r6; ^6ACREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100, -14), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); 4-l~4G=SELECT sqlite_rename_parent( "^^^^^^^^^^^^^^^^ a.ba",'000','000'); t<mWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ strftime(1,1,1,1) -11 FROM i GROUP BY 1) SELECT x FROM i LIMIT 30; ;=CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('0z'); INSERT INTO t0 VALUES('0y'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m; SELECT '0', substr(m,2) AS m FROM t0 GROUP BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower(m); T:-CREATE TABLE t0(a, b); SELECT a FROM (SELECT 00.<0e10 AS a FROM t0) WHERE a==0; =9CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2IWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ -11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; 0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID));EXPLAIN CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID));ANALYZE TABLE I0(O000 tex text(50) not null, R000000000 text0 null50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) no 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, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ]AGPRAGMA encoding=UTF16be; SELECT hex( trim( 'Ϛ00')); FEXPLAIN PRAGMA cas=ON;EXPLAIN PRAGMA c[che_size; PRAGMA default_cache_size;Eize; PRAGMA default_cache_iXPLAIN PRAGMA synchronous; TE-CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY@d DESC,d DESC, e DESC, b, "a","b"COLLATE a DESC; #'0000000',','000'); t0(a,0 VALUES(' 0.00c','000S0'G0000000','000000'); SELECT *els0' FR t0 ORDEs BY c, R; ~"_IPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; u^oCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b) 000000 ]9CREATE TABLE t0(x); INSERT INTO t0 VALUES('0000t'),('0o00'); SELECT DISTINCT x FROM (SELECT zeroblob(1) x FROM t0 GROUP BY x) WHERE x='0' ORDER BY x; ?\PRAGMA foreign_keys = OI; CREATE TABLE t1(a UNIQUE, b); CREATE TABLE t2(c, d REFERENCES t1(a)); INSERT INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(2, 1); BEGIN; PRAGMA foreign_keys = OFFJ [CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,b,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,b,c,a, b,c,d,e)000000 ==?`PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(100) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; NwNke[SELECT quote(likely(x'000000BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB00000BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB00')); 6dsCREATE VIRTUAL TABLE x0 USING fts4(matchinfo=f00); cCCREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, sqlite_compileoption_used(1)b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; [b;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100, sqlite_compileoption_get(1)); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); aCREATE TABLE t0(a TEXT, b TEXT); CREATE VIEW v0 AS SELECT t0.a FROM t0; CREATE TRIGGER tEMENTOF DELETE ON v0 BEGIN S FROM v0WHE ?sOh#PRAGMA auto_vacuum = incremental; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(:eroblob(5000), zeroblob(5000)); DELETE FROM t1; PRAGMA incremental_vacuum; HgCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE likely(q); CREATE VIEW z AS SELECT y1.p, y2.p FROM x AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; =fCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND-b='000'), t0 WHER, t0_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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) qdqojcCREATE TABLE t0(c INTEGER PRIMARY KEY, d TEXT COLLATE nocase); INSERT INTO t0 VALUES(10, 'fuzz'); SELECT 1 FROM t0 WHERE'0000' IN (d); SELECT 2 FROM t0 WHERE NOT'0000' IN (d); --00000 SELECT 4 FROM t0 WHERE d IN ('FUZZ'); --000000 iCREATE 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 zLmPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT printf(1,1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; lACREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('0z'); INSERT INTO t0 VALUES('0y'ISNULL); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m,2)m FROM t0 ORDER BY m; SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,?) FROM t0 ORDER BY lower(m); akGCREATE TABLE t10("c0l.0" [char.3]); CREATE TABLE t11 AS SELECT * FROM sqlite_master ame = 't ?|q}BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a MATCH a in ( "a","b"); INzpySELECT NULL "a","b" UNION SELECT "b" UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY+ "a","b"; wosWITH i(x) AS ( VALUES(1) UNION ALL SELECT glob(1,1) FROM i ORDER BY 1) SELECT strftime(1,1,1,1) x FROM i LIMIT 10; Cn CREATE TABLE t15(a NTEGER PRIMARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),(20,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(c,b) VALUES(5,'000'),(15,'000'),(25,'000'),(35,'000'); UPDATE t15 SET c=printf("0%d",a) WHERE c IS NULL; SELECT a,b,c,'0'FROM t15 ORDER BY a,b {r{DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*OR'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; 7tsDROP 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,A, -14) FROM t1; INNSE,s]PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a''00',1); INSERT INTO t1 (x,a,b,c)VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VANTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) VV vCREATE 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 "a","b" 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т uPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT ' blob9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; _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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) i?2Bz CREATE VIRTUAL TABLE t0 USING fts3tokenize; SELECT * FROM t0; y##c 'xUATTACH round(10e061-01-011)as MAIN; w+CREATE TABLE t4(a TGXT); INSERT INTO t4 VALUES(''); INSERT INTO t4 VALUES('004'); INSERT INTO t4 VALUES('04'); SELECT min(a), max (1)FROM t4; {{{DROP TABLE IF EXISTS t0; CREATE TABLE t1(a NTEGER PRIMARY KEY, b, c char(1)); 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, avg(1)| substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN.30 AND 60; 00000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID));EXPLAIN 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));ANALYZE TABLE I0(O000 tex 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, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ..%}MBEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID));EXPLAIN CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 U|-BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000ut~ytoje`[VQLGB=83.)$ |vpjd^XRLF@:4.(" ztnhb\VPJD>82,& ӂzЂvςt΂r͂q̂m˂jȂhǂeƂ`ł_ĂZÂV‚RNKGC=7530.*%!  ~|zwtrkgca][uYtUsRrMqLpFoCnBm=l;k9j7i5h4g3f2e0c,b*a(`"[!Z YTSRPO N MLKHG|FzEyDxCuBqAo@j?g82,& ~xrlf`ZTNHB<60*$@:4.(" |vpjd^XRLF VZ?Y;X9G7F3E0D-C'B#A"@!. -,+*)(' &%$#}"w!s omjfca^\ZWUTQMHEC ?<;520+(&! ނ}&#  ~zvtrqnjifwdfbe`d\cWbRaM`J_G\E[ATUSPLHGD?;:8610/Ԃ{ӂzЂvςt΂r͂q̂m˂jȂhǂeƂ`ł_ĂZÂV‚R+text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID));ANALYZE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID));ANALYZETABLE I0(O000 tex text(50), 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, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 te  KCREATE TABLE t11(a,b,c,d); CREATE INDEX i00000 ON t11(a,b,a,c); --0000000 INSERT INTO t11 VALUES(1,2,3,4);INSERT INTO t11 VALUES(5,6,7,8); INSERT INTO t11 VALUES(1,2,9,10);INSERT INTO t11 VALUES(5,1,2,3); SELECT c FROM t11 WHERE a=1 AND b=2 ORDER BY c; @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), x+100 FROM t0; SELECT rowid, x FROM t0; Q'CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES (''); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); \~=CREATE TABLE t1(a, b); PRAGMA auto_vacuum=O00; PRAGMA synchronous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=EXCLUSI000; PRAGMA locking_mode=EXCLVE; PRAGMA journal_mode=TRUNCATE; INSERT INTO t1 VALUES(1, 2); ey (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0007 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 ( SSUEID, OB0ECTID)); CREAt not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U0000000000000xt(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 OpeCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(b); INSERT INTO t000 VALUES('stat0','s0'),('00000','000'),('0r000','m0r00r0'); SELECT a, b, '0' FROM t000 WHERE a=='stat0' OR b='m0r00r0' ORDER BY +a;REINDEX /cPRAGMA page_size= 512;EXPLAIN PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500-4)) ); INSERT INTO t1 VALUES( randomblob(110 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid= 3; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid = 1; BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary k cEskWITH i(x) AS ( VALUES(1) UNION ALL VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; 9BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char(2001-01-011)tSt00n0 FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; 7PRAGMA cache_size=10; CREATE TABLE t1(x); INSERT INTO t1 VALUES(randomblob(20000));VACUUM; DELETE FROM t1; INSERT INTO t1 VALUES(randomblob(15000)); j  ;--d MCREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN NOT (SELECT~~~~~~~~~~~ new.bar BETWEEN 0 AND 20) THEN raise(rollback, '000000') END; END; INSERT INTO foo(bar) VALUES (0); ( WSELECT '-9223372036E54775800x'-'1x'; L CREATE TABLE temp.IF(a, b); ALTEM sqlite_temp_master WHERE tbl_name = 't)CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, datetime(1,1,1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; nU/SELECT sqlite_rename_trigger('CEGGER r0ON x??@T0 TRI r0 ON x??N',NULL); CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, char(1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE;  !CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, zeroblob(1)b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; <bIPRAGMA cache_spill=OFF; PRAGMA cache_spill; PRAGMA TEMP.cache_spill; PRAGMA temp.cache_spill; @PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a, b, zeroblob(1) c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; SJPRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE 2(a, b, FOREIGN KEY(a, b) REFERENCES t1 ON UPDATE CASCADE);REPLACE INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(1, 2); qgWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,?,1,1) x FROM i LIMIT 10; 0eCREATE TABLE x0(a CHECK( a||b ), b); CREATE TABLE t0(a, b CHECK( a||b )); INSERT INTO x0 VALUES(1, 'x0'); INSERT INTO x0 VALUES(1, 'y0'); INSERT INTO t0 SELECT * FROM x0; uoCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(b,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','000010 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE b=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; |}DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN -1.30 AND 60; CCQ'PRAGMA auto_vacuum = increental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT~~~~~~~~~~ randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%2; dMCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab00000000000000000000/00000000000000000000000000000000000000000000000000000000N00000000000000000000 00000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('AB00000e10000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); SELECT DISTINC a FROM t0t0000; SJDS@CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2, -11) AS00 FROM t0 GROUP BY m ORDER BY 1, 2; HCREATE 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)=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE likely(1); SELECT * from z; ^ACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*TE?00';  CREATE TABLE t1(a, b, c); INSERT INTO t1(a) VALUES('0'); INSERT INTO t1(a)VALUES(10); INSERT INTO t1(a) VALUES(NULL); INSERT INTO t1(a) VALUES(22.0); INSERT INTO t1(a) VALUES(x'000000'); CREATE INDEX i0 ON t1(c, b, c); ANALYZE; SELECT o00(se) FROM s000; 2iANALYZE; DROP TABLE IF EXISTS qlite_stat1; DROP TABLE IF EXISTS s2; DROP TABLE IF EXISTS l0; DROP TABLE IF EXISTS s4; SELECT name FROM sqlite_master WHERE name GLOB '000*'; '|h!UPRAGMA 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() x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(4); ROLLBACK; ' SPRAGMA aut_um = inc; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(5000), :eroblob(5000)); DELETE Fm; )PRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(:500)); INSERT INTO t1 VALUES(22000000101,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 @SELECT 10 EXCEP; SELECT 20 ORDER BY +33333333333331 COLLCTE NNi&WWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 2001-01;0110; % DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0;EXPLAIN CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(va0u01) FROM t1 GROUP BY i01; ,$_SELECT printf('0%110.100s0','NOTNULL0'); =#CREATE TABLE x1(a); CREATE TABLE x2(b); INSERT INTO x2 VALUES(1), (1), (2); INSERT INTO x2 VALUES(1), (2); SELECT count(*) FROM x2 WHERE b IN (SELECT DISTINCT a FROM x1 LIMIT 2)ISNULL; L"PRAGMA auto_vacuum= incremental; PRAGMA page_size =99999999999999 1000; V(1ATTACH(x) AS ( VALUES(1) INTERSECT SELECT upper(1)COLLATE i ORDER BY 1) SELECT 0; 'CREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2r69 *d*?+PRAGMA foreign_keys = ON; CREATE TABLE t1(a UNIQUE, b); CREATE TABLE t2(c, d REFERENCES t1(a));REPLACE INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(2, 1); BEGIN; PRAGMA foreign_keys = OFF; s*kBEGIN 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 IN (SELECT a FROM t1 WHERE a<<001-01-0110); DROP INDEX i1; DELETE FROM t1; COMMIT; )5BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(T0) SELECT new.Te00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');ANALYZE TempT000e SET T @0CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M, -11); 3/kCREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS c,INT0000, b INT0000); INL; .PRAGMA auto_vacuum= 0XCLEal;CT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM-t1; DELETE FROM t1 WHERE a=1; -PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a RIMARY KEY); INSERT INTO t0t0006 VALUES('aOR' -'aOR' -1); INSERT INTO t0 t0t0006'S,+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| sqlite_compileoption_get(1)); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); SSb2ICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[^ [a]*00'; D1 CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT sqlite_source_id() idx, stat FROM sqlite_stat1 ORDER BY idx; *$*}5CREATE TABLE t0( a,ba,b,c,d,e, PRIMARY KEY(a,b,c,e,b,c,d, a,ba,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); VACUUM w4sCREATE TABLE t1(x, y DEFAULT(datetime(' (1)/* */now'))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; X35PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(42001-01-0100)); INSERT INTO t1 VALUES(06, randomblob(600)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; <`;ECREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT * FROM t002, t001, t002 WHERE t002.z GLOB '0000'; *:[PRAGMA incremental_vacuum(2147483649); A9CREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,b); INSERT INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e02 VALUES(300,100,200); UPDATE t0e01 set b = 200 where a = 100; SELECT* FROM t0e01, t0e02;VACUUM L8CREATE TABLE t0(RENAMEd,e, PRIMARY KEY(a,b,c,d,e)); SELEND d=? AND e=?; L7SELECT CASE WHEN -0X333A33333333333333333 THEN '0000' ELSE '00000' END; #6MSELECT printf('%',50,-10,3000); LL0<ePRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(06, randomblob(42001-01-0100)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); 000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null,  D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) no t null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID));ANALYZETABLE I0(O000 tex 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, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ??1CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2, 1=13,4); SELECT c FROM t1 WHERE a IN (1,2) ORDER BY b; C> PRAGMA vacuum = inc; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(5000), zeroblob(5000)); DELETE FROM t1; PRAGMA incremental_vacuum; N=BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 UNIQUE, Q00 int not null, N000000 text(50) 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, L !q!MCPRAGMA encoding=UTF16be; SELECT hex( trim( 'ψ000')); B%PRAGMA short_column_names=OFF; PRAGMA full_column_names=OFF; CREATE VIEW v0 AS SELECT t000.a, t000.x, * FROM t000, t000 ORDER BY 1 LIMIT 1; AACREATE TABLE x(i0 integer primary key, a TEXT NULL); INSERT INTO x (a) VALUES ('00'); CREATE TABLE tempx(i0 integer primary key, a TEXT NULL); INSERT INTO tempx (a) VALUES ('0'); CREATE VIEW t01 AS SELECT x. *, tx.i0 FROM x JOIN tempx tx ON tx.i0=x.i0; CREATE VIEW t010 AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx on tx.i0=x.i0; CREATE VIEW t02 AS SELECT * FROM t01 UNION SELECT * FROM t010; SELECT * FROM t02; U@/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 x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(); ROLLBACK; E)PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(600), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT  tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; wDsCREATE TABLE t1( TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE ES( W^6W[H;BEGIN; CREATE TABLE n00be0s(a PRIMARY KEY, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =X'000000000000000000000000000000000000'; COMMIT; %GQSELECT sum(-9E23372036854775800); FADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(92001-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; ;HMCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT total(1)p FROM y AS y1, y AS y2 WHERE total(1); SELECT * from z; cLKWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(?)FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; 55G"PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob( [a]), sqlite_compileoption_get(9)ELETE FROM t1 WHERE rowid%2; ..N#!PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+86,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; .lK'SELECT 1.0000000<000.06000000000<001.0000000<000.06000000000<000.0.00; b&ICREATE TABLE t0(a, b); SELECT a FROM (SELECT 00000e2001-01E0110 AS a FROM t0) WHERE a= [a]=0; >%CREATE TABLE x1(a); CREATE TABLE x2(b); INSERT INTO x1 VALUES(1), (1), (2); INSERT INTO x2 VALUES(1), (2);EXPLAIN SELECT count(*) FROM x2 WHERE b IN (SELECT DISTINCT a FROM x1 LIMIT 2); N$!PRAGMA auto_vacuum = incremental;EXPLAIN PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%2; @Vp@--aSELECT CAST ( substr(1,1,1)AS REAL blob); b,ICREATE TABLE t1(a TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSERT INTO t1 VALUES(5.4e-200 || 1-01-0108,'5.4e-08'); SELECT typeof(a), a, typeof(b), b FROM t1; =+CREATE TABLE x1(a); CREATE TABLE x2(b); INSERT INTO x1 VALUES(1), (1), (2); INSERT INTO x2 VALUES(1), (2); SELECT count(*) FROM x2 WHERE b IN (SELECT DISTINCT a FROM x1 LIMIT 2)ISNULL; =*CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m, -1) AS00 FROM t0 GROUP BY-m ORDER BY 1, 2; )?BEGIN IMMEDIATE;ROLLBACK (PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT-'90'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; RlR01BEGIN; 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 Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;VACUUM /EALTER TABLE SqLiTe_masterREn.aCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "a","b" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 1) IS NOT""; ;;v3qBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0( a,bx,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.rowid;SELECT END; INSERT INTO t1(a,b) VALUES(0,0); CO; S2+PRAGMA auto_vacuum = incremental; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(5000), zeroblob(5000)); DELETE FROM t1; PRAGMA incremental_vacuum (1); p1eBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT * FROM t0; INSERT INTO t0 SELECT * FROM t0; UPDATE t0 SET y=y+ upper(1)=new.rowid; SELECT 000; DELETE FROM t0 WHERE x=new.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT; u4_7CWITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; H6SELECT sqlite_rename_trigger('2001-01-01GGER r0 ON x00 WHEN',NULL); =5PRAGMA ing=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) 4PRAGMA auto_vacuum =2001-01-OM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid-2; I0 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000J int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000L00000000 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, U0000000K00000000 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, L000000000L0000000 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)M 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 (NISSUEID, 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, P00000O000000000 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 nPull, 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 iQnt 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(20R) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00S int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 Tprimary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 textU(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 textV(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key W(ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C0000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 kk9PRAGMA encoding=UTF16be; CREATE TABLE t0t06(a COLLATE nocase PRIMARY KEY COLLATE rtrim(1,1)MARY KEY); ERT INTO t0t VALUES('ab0'); @8BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L00000000000000H <S;+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | sqlite_source_id()| '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); @:PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(990)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; SU?/CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE x=992001-01-01; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON (x=99) ORDER BY x;VACUUM 7>sPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('a'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT+a FROM t0t0006; :={CREATE TABLE sqlite0000(a PRIMARY KEY COLLATE NOCASE); l<]CREATE TABLE t1(a,b); CREATE INDEX [a] ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql=' [a]TE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR <<A)PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(5%0), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SEINSERT INTO tt SELECT randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; *@YCREATE TEMP TABLE ob0list(type, name, tbl_name); INSERT INTO ob0list SELECT type, name, tbl_name FROM sqlite_master; INSERT INTO ob0list SELECT type,name, tbl_name FROM sqlite_temp_master WHERE NAME!='ob0list';EXPLAIN SELECT type,name, tbl_name FROM ob0list ORDER BY tbl_name, type desc, name; s'LECREATE VIEW x1 AS SELECT 100 AS '', 200 AS '', 300 AS '' SESD+SELECT * FROM sqlite_master WHERE rootpage=- -11; SELECT * FROM t0 ORDER BY a; ICCREATE TABLE t1(x, y DEFAULT(atetime( blob))); NTO t1(x)VALUES(1); BCREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, avg(1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; ^_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 sQ00e_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, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) 8d8(GUCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES( trim(1,1)); INSERT INTO t0 VALUES('0y'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m; SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower(m); FCREATE 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] xlxpJeCREATE TABLE t0(c INTEGER PRIMARY KEY, d TEXT COLLATE nocase); INSERT INTO t0 VALUES(10, 'fuzz'); SELECT 1 FROM t0 WHERE'0000' IN (d); SELECT 2 FROM t0 WHERE '0000' IN (d); --000000000 SELECT 4 FROM t0 WHERE@d IN ('FUZZ'); --000000 I%CREATE TABLE t0(a,b int,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND cdPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a''0',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) ^c?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 gy(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L00000z0D 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, L000000000{0000000 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, L0|00000 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 tex}t(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 P0000~000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 )nt not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID));REINDEX TABLE P0(S00 inull, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0  fCREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000'); INSERT INTO t0000(b) VALUES( random()); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); SELECT * FROM t0000 ORDER BY b; .e_BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 textx 5IiCREATE VIRTUAL TABLE t00000 USING strftime(1,1,1,1) fts4aux(t0, t0); h=PRAGMA compile_options; GgPRAGMA encoding=UTF16be; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT trim(1,1) a FROM t0t0006;VACUUM ==?jPRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(000) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; 181 nCREATE TABLE t101(a); CREATE TABLE t100(b,c); INSERT INTO t101 VALUES(1); SELECT DISTINCT a FROM t101 LEFT JOIN t100 ON a=bORDES NULL; smkCREATE TABLE "0000" ("000000" V00CHAR337 PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n00b00" FROM (SELECT "000000", "n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 1) AS "0000"; ll]CREATE TABLE t1(a sqliteoption_used(1)); CREATE VIEW v0 AS SELECT * FROM t1 INDEXED BY `a`WHERE a = 10; Uk/PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%3; PRAGMA incremental_vacuum(); ROLLBACK; "Wq3PRAGMA foreign_keys= ON; CREATE TABLE p(i PRIMARY KEY); CREATE TABLE c(ASCj REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c VALUES('0e00o'); UPDATE p SET i= '000'; SELECT * FROM c; cpKWITH i(x) AS ( VALUES(1) UNION ALL SELECT + 1=11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 06 Zo9CREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT "a"COLLATE y FROM t0 ORDER BY z;  rPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT 8 || +322001-01-01,randomblob(40 -10)FROM t1; IN INTO t1); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; 000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000J 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(TQUNItext(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID));ANALYZETABLE I0(O000 tex 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, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 |t}CREATE TABLE t1(x char(1)); INSERT INTO t1 VALUES(100); SELECT CASE ~Max(x) WHEN min(x) THEN 1 ELSE max(x) END FROM t1; NsBEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L GvPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%0; |u}CREATE TABLE S('a,b); CREATE INDEX 1a 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='CR UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check ,*#,}zCREATE TABLE t1(x, y DEFAULT(datetime('2001-81-01 /* */now'))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; sykCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n00b00" FROM (SELECT "000000", "n00b00" FROM "0000" "a","b" "000000", "n00b00" LIMIT 1) AS "0000"; x CREATE TABLE t1(a blobGER PBKMARY KEY, b TEXT); CREATE TABLE t2(a INTEGERIMARY KEY, b T0XT); INSERT INTO t1 VALUES(1,'ab0'); INSERT INTO t1 VALUES(2,'000'); INSERT INTO t2 VALUES(1,'ab0'); INSERT INTO t2 VALUES(2,'000'); SELECT * FROM t1 NATURAL JOIN t2; Rw)CREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a,CURRENT_TIMESTAMP x FROM t1, t2 ORDER BY 2, 2; 9=l90~gSELECT quote(likely(x'000000000000000000')); M}PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT rtrim(1,1)OR x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; F|CREATE TABLE t10(x INTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON b.y=b.x WHERE (b.x>$ab0 OR b.x=$ab0); u{oBEGIN 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 ISNULL,12 TqgCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(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 4VALUES0000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SENECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FOM t4 WHERE h=8; B CREATE VIRTUAL TABLE NOTNULLt0 USING fts4( "a","b"p "a"," "); (UCREATE TABLE t30a(x); INSERT INTO t30a VALUES(1),(2),(3); CREATE TABLE t300(y); INSERT INTO t300 VALUES(90), (99);INSERT INTO t30a VALUES(1),(2)M t300)) FROM t30a; MM5qSELECT 1000000%0000000600001000000%000000060000; *[SELECT printf('%f0000%d',5000000e101); Q'PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','0',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) uoCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE g=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; 6s06v qDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY ON CONFLICT IGNORE, b); CREATE TABLE t2(x, y); INSERT INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(1,3); INSERT INTO t1 SELECT * FROM t2; SELECT * FROM t1; @ CREATE TABLE t2(a INT, b TEXT, c BLOB, d REAL blobEATE INDEX!GCREATE TABLE t0(x TEXT UNIQUE, y TEXT UNIQUE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000') AND z ISNULL N PRAGMA auto_vacuum=1cre=====================ize % 5000; EATE TABLE t1(a GER PRIMARY b); IL DELETE FROM NSE sqlite_ce_id(),randomblob(2580)); INSETT INTO t VALUESandomblfb(50)); INSERT INTO t1 SELECT NULL,dandomblob(50S($M t1; I@T INTO t1 S`LECT NULL,eanUomblob(50)FROM t1; INSERT INTO t1 SELT NUS('randomblob(50)FQOM t1; INSERT INTO t1 SELECT NUL DELETE FROM t1 WHZ9CREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a< CAST(a AS char(1)) FROM t0; 3 kCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2 IS NOT NULL; *1;  CPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2800)); INSERT INTO t1 VALUES(2,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(-0)FROM t1; DELETE FROM t1 WHERE a=1; _ CWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM i GROUP BY 1) SELECT x FROM i LIMIT 30; >>S+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' || new.b || '0' || "a","b"() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); @SELECT sqlite_rename_parent( "REFERENCES ?1!",'000','000'); $MCREATE TABLE t2(a INT, b TEXT, c BLOB, d REAL blob); CREATE INDEX i0 ON t2(a ASC, b DESC, c ASC); CREATE INDEX i4 ON t2(b DESC, a ASC, d DESC); INSERT INTO t2 VALUES(1,'o00',x'00',1.0); INSERT INTO t2 VALUES(2,'two',x'32',2); INSERT INTO t2 VALUES(3,'0',x'00',3); INSERT INTO t2 VALUES(4,'u',x'00000000',4); INSERT INTO t2 VALUES(5,'f000',x'0000000000',5.0); INSERT INTO t2 VALUES(6,'x',x'00',6); INSERT INTO t2 VALUES(2,'two',x'3200',2.1); INSERT INTO t2 VALUES(2,'w',x'00',2.0); INSERT INTO t2 VALUES(2,NULL,NULL,3); SELECT count(*) FROM t2; nyLn BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary kl]CREATE TABLE t4b(a TEXT, b N000000, c); INSERT INTO t4b VALUES('1.E',1,4); SELECT c FROM t4b WHERE a=b; :yCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8,9); ANA9); ANALYZE; DELETE FROM t4 WHERE g=7; SELER*[SELECT-quote(1111111111111111111E101); *[ATTACH round( -110e021-01-011)as MAIN; m_CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a, b,c,d,e); 000000 fQCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN (1,2%Y); ey (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID));ANALYZE TABLE T00(C00 nt not null, L00ext(50) not null, OB0ECTID text(50) not null, R0000000000 int nonull, 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, C0 not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0  H)YATTACH null AS null; ATTACH '' AS TEMPX5SELECT group_concat(1) NOT IN (11,1) NOT IN (11,1) NOT IN (10,10) IN (10,10)90000); @PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; riCREATE VIRTUAL TABLE terms USING fts4aux(t0); SELECT term, documents, occurrences FROM terms WHERE col = '0'; |}ATTACH''AS noname; ATTACH':memory:' AS inmem; BEGIN; CREATE TABLE noname.n00000(x); CREATE TABLE inmem.i0000(y);ROLLBACK \=\1gDROP 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,X'0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1WHE (UCREATE TABLE FOO(bar int0000); CREATE TRIGGER f00000ORE INSERT ON foo BEGIN SELECT CASE WHEN int (NOT new.bar BETWEEN 0 AND :0) THEN raise(rollback, '00') END; END;?CREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE d=2 AND b=3 ORDER BY d COLLATE DESC, b, c, a DESC; ee #PRAGMA foreign_keys= ON; CREATE TABLE s(i PRIMARY KEY); CREATE TABLE c(j REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('o');ERT |"}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 !%@REATt1(ib j YCREATE TABLE t0(a); INSERT INTO t0 VALUES('0'); PRAGMA full_column_names=on; SELECT rowid, A FROM t0; 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_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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) K&CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE "R"; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON (x=99) ORDER BY x;ANALYZEG%PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM;ANALYZE H$CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='ABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t1 ; PR X E +CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, length(1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; @*CREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE-b IS (SELECT b FROM t0 ORDER BY b); L)SELECT '1.'/'1.9000ECT e6'/'0>e64'/'1.9000ECT 1.00e64'/'1.000Ee+62'; _(CWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(?) i ORDER BY 1) SELECT x FROM i LIMIT 10; C' PRAGMA journal_mode = memory; PRAGMA locking_mode = exclusive; ll/CCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count(), group_concat(1,1)A00 FROM t03 GROUP BY zeroblob(1); }.CREATE TABLE t0( a,ba,b,c,d,e, PRIMARY KEY(a,b,c,e,b,c,d, a,ba,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); 000000 N-!SELECT teof(replace(NUf(replace( [a],ypeof(replace(NUf(replace( [a], [a]0 ,=CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('υ'); INSERT INTO t0 VALUES('0y'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m; SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower(m); 0 CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,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 VA4 WHERE a=1; SELECT i FROM t4 LUES('t4','t4all','400000 160000 40000 10000 2000 60 100 40 10'); ANi FRALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT FROM t4 WHERE g=7; SELECT@ROM t4 WHERE h=8; ..N1!PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT ~+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; >^,k>*6[PRAGMA auto_vacuum;PRAGMA auto_vacuum; =5CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M-1); K4PRAGMA foreign_keys= ON; CREATE TABLE p(i PRIMARY KEY); CREATE TABLE c(j REFERENCES p ON INSERT CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c VALUES('0e00o');EXPLAIN UPDATE p SET i= '000'; S`3EWITH i(x) AS ( VALUES(1) UNION SELECT upper(?)FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; 2ADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(12000-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; |8}DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b= -13 AND a BETWEEN 30 AND 60; k7[WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( random() -11) i ORDER BY 1) SELECT x FROM i LIMIT 10; #:5CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000') Y97ATTACH''AS noname; ATTACH':memory:' AS inmem; BEGIN; CREATE TABLE noname.n00000(x'; inmem.i0000(y); CREATE TABLE main.m000(z); COMMIT; SELECT name FROM noname.sqlite_master; SELECT name FROM inmem.sqlite_master; OO-;_CREATE TABLE t1(x, y REAL); INSERT INTO t1 VALUES(1,'1.0'); INSERT INTO t1 VALUES(2, '.5'); INSERT INTO t1 VALUES(3, '1.'); INSERT INTO t1 VALUES(4,'1e0'); INSERT INTO t1 VALUES(5,'.03'); INSERT INTO t1 VALUES(6,'1e0'); INSERT INTO t1 VALUES(10,'1.'); INSERT INTO t1 VALUES(12,'.5'); INSERT INTO t1 VALUES(13,'3.'); INSERT INTO t1 VALUES(14,'3e0'); INSERT INTO t1 VALUES(15,'.2'); INSERT INTO t1 VALUES(16,' 20e4'); INSERT INTO t1 VALUES(20,'1 '); INSERT INTO t1 VALUES(22,'5 '); INSERT INTO t1 VALUES(23,'3.'); INSERT INTO t1 VALUES(24,'1.e0'); INSERT INTO t1 VALUES(25, '.5e+3 '); INSERT INTO t1 VALUES(26,'1 '); SELECT zeroblob(1) x FROM t1 WHERE typeof(y)=='real' ORDER BY x; cc!?GSELECT 1000000%000000000006000000000000101000000%008000000600600001000000%00000006000000000000101000000%00800000000101000000%0080000600000000%008000060000; > CREATE TABLE t1( TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE ; INUES(t=mPRAGMA auto_vacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX x ON t1(b); DROP TABLE t3; VACUUM integrity_check; DROP TABLE t0; PRAGMA integrity_check;*Du<oBEGIN 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 IN (SELECT zeroblob(1) a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; hE`hD#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE `a` NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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;VACUUM bCIWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ -11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; 1BgCREATE TABLE t0(a PRIMARY KEY, b REFERENCES t0); CREATE TABLE t2(a PRIMARY KEY, c REFERJNCES t0); CREATE TABLE t3(a REFERANC6S t0, b REFER,NCES t2, c REFERENCES t0);VACUUM -AaPRAGMA temp_store = 3; PRAGMA temp_store; 7@sCREATE 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, total(1)b, C; YKGCREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE "R"; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON (x=99) ORDER BY x;VACUUM :FyCREATE TABLE t10(x INTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON 1=1+a.y=b.x OR b.x=$ab0); eEOCREATE 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','60R000 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SEL>CT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELERE g=7; SELECT i FROM t4 WHERE h=8; xxH DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT-a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777777,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; o6opLeWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT hex(1) x FROM i LIMIT 2001-01-0110; QK'PRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE AS USING fts3;VACUUM VALJCREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a ON t10BEEND; INSERT INTO t10(a)VALUES('000'); OSELECT 10 EXCEPT SELECT ltrim(2001301-011, random()-11)YjNYWITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) | 1=1+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; MCREATE 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 xxFSSELECT 10 IN (SELECT s IN (SELECT st1) rowid FROM sqlite_master); KRPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT rtrim(9,1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; mQ_CREATE TABLE t1(x, y DEFAULT(datetime('now'))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; jYU7ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS iame.n0.i0000(y); T)PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =g10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECk randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; yVwDROP 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'AND@substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; T200; VACUUM; \ 1)vYSELECT sum(-9 || 223372036854775809); Tu-CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE@d IS NOT NULL; INTt-CREATE TABLE t3(a,EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 ORDER BY e DESC,d DESC, e DESC, b, e DESC, b, c, a DESC; Ps%SELECT CASE WHEN -77/777777777777777777770.1 THEN '0000' ELSE '00000' END.1 rCREATE TEMP TABLE t0(c PRIMARY KEY, b, c); CREATE INDEX t000000 ON t0(c COLLATE BINARY); CREATE INDEX t000002 ON t0(b COLLATE NOCASE); q'PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON UPDATE SET NULL ; INSERT INTO t1 VALUES(13); INSERT INTO t0 VALUES(13); INSERT INTO t3 VALUES(13); 0S0({UCREATE TABLE t30a(x); INSERT INTO t30a VALUES(1),(2),(3); CREATE TABLE t300(y); INSERT INTO t300 VALUES(9.), (99); SELECT max((SELECT avg(y) FROM t300)) FROM t30a; ?zCREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(f, c, [a]); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC, e DESC, b, c, a DESC; ryiSELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('f/0', '000'); ;x{CREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,b); INSERT INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e02 VALUES(300,100,200); UPDATE t0e01 set b = 200 where a = 1.0; SELECT* FROM t0e01, t0e02; )wWCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE d=? AND b=? AND a=? AND b=? AND c=? AND d=33333333333? AND b*? AND c=? AND d=? AND e OR?; 22'}SCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 AND b=0 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; |CCREATE TABLE t0e03(a INTEGER PRIMARY KEY, b, UNIQUE(a,b)) WITHOUT rowid;REPLACE INTO t0e03 VALUES(100,200); CREATE TABLE t0e00(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e00 VALUES(300,100,200); UPDATE t0e03 set b = 200 where a = 100; SELECT* FROM t0e03, t0e00; D"iD"KSELECT strftime(-total(1), 1); 9ySELECT '000' NOT MATCH '000' NOT MATCH '000'; '000'; qgWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1,X-1) x FROM i LIMIT 10; +CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, julianday(1,1,1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; 7uPRAGMA encoding=UTF16le; CREATE TABLE S('ab0'); noca5qSELECT sqlite_compileoption_used('THREADSAFE=0'); Z~9CREATE TABLE t0(x); INSERT INTO t0 VALUES(?); INSERT INTO t0 VALUES(1); INSERT INTO t0 VALUES(2); INSERT INTO t0 VALUES(?); INSERT INTO t0(rowid,x) SELECT nullif(x*2+10,.4), x+100 FROM t0; SELECT rowid, x FROM t0; Ae OATTACH''AS noname; REINDEX:memory:' AS inmem; BEGIN; CREATE TABLE noname.n00000(x); CREATE TABLE inmem.i0000(y); CREATE TABLE main.m000(z); COMMIT; SELECT name FROM noname.sqlite_master; SELECT name FROM inmem.sqlite_master; dMSELECT 10000002001-00010000002001-0000002001-01-010000002001-01-01000000006001-010000000060000; *[SELECT printf('%0#X',50,-10,-12,3000); GPRAGMA foreign_key_list(t0); ;{BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'080.'; COMMIT; =!  CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,0e03); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+22,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; D  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( "a","b" || 4), x+100 FROM t0; SELECT rowid, x FROM t0; Q 'PRAGMA page_size = 4096; CREATE TABLE t0(a, b); CREATE TABLE t2(a, b);VACUUM ? CREATE TABLE x1(a); CREATE TABLE x2(b); INSERT INTO x1 VALUES(1), (1), (2); INSERT INTO x2 VALUES(1), (2); SELECT count(*) FROM x2 WHERE b IN (SELECT DISTINCT a FROM x1 LIMIT "a","b"-2); qQ3CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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& randomblob(1)a,2*b,2*c,d FROM t1; =CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES( (1)); INSERT INTO t0 VALUES('0y'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m; SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,M) FROM t0 ORDER BY lower(m); CREATE TABLE abc(a NIQUE, b UNIQUE, c UNIQUE); BEGIN; INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a+1, b+1, c+1 FROM abc; 00O#CREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(2001-01-011,1),( 1=11,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, x FROM t1, t2 ORDER BY 1, 2; dMCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000@VALUES('ab00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('ABX0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); SELECT DISTINCT a FROM t0t0000; 'CREATE TABLE t0(a,b); CREATE TABLE l00(x UNIQUE, y); CREATE TRIGGER r0 AFTER INSERT ON t0 BEGIN UPDATE l00 SET y=y+0 WHERE x=new.a; INSERT OR IGNORE INTO l00 VALUES(new.a,00); END; INSERT INTO t0 VALUES('0','0');INSERT INTO t0 VALUES(5,0); SELECT*FROM l00 ORDER BY x; $5$CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a)NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, avg(1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; KPRAGMA page_size = 4096; CREATE TABLE t0(a, b); CREATE TABLE t2(a, b); zyDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1( "a"UNIQUE,"b"R PRIMARY KEY ON CONFLICT REPLACE, b); #[G# ECREATE 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,id,b,x,stat)VALUES('t1','t1a','0'),('t1','t1b','10000'); AN~BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (); UPDATE t1 SET b=a 10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a=10); DROP INDEX i1; DELETE FROM t1; COMMIT; !CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND b=A AND c=? AND d=? AND e e=?; !GCREATE TABLE t0(x TEXT UNIQUE, y TEXTUNIQUE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000') AND x ISNULL N f: !CREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF ORa ON t10BEGIN END; INSERT INTO t10(a)VALUES('000');  !CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, printf(1,1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; cKSELECT NULL UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY likelihood(1,1) x; 'UATTACH round(1,2001.01-011)as MAIN; 5CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE a IN (1,2) ORDER BY b;VACUUM 1CREATE TABLE t0(a INT0000); INSERT INTO t0 VALUES('200'); INSERT INTO t0 VALUES('30'); INSERT INTO t0 VALUES('4'); SELECT min(a), max(a) FROM t0; o P|vpjd^XRLFztnhb\VPJD>82,& ~xrlf`ZTNHB<60*$ @:4.(" =k;9540-($    |yxrojeaZWUTSQ߆NކJ݆E܆Bۆ<چ7ن1؆-׆)ֆ&ӆ#ц!YVUSPLHGD?;:861NMLKJI HGFED}CzByAx@v?s>qІφΆ͆̆ ˆ ʆɅ}ȅ{DžvƅpŅkądÅb…]ZHxFwEvClAk=j:Y7X4U2T1S.R'Q#P!O L#PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT nullif(1,1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; f"QWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -11)FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; _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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) gdg&!CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY a,b,a, '000' FROM; h%UCREATE TABLE t1(a, b); CREATE INDEX i1 ON t1(a); CREATE VIEW v0 AS SELECT * FROM t1 INDEXED BY i) WH $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, con0ersat)on_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 a;)}CREATE TRIGGER main.t01 AFTER DELETE ON main.t0 BEGIN 00D( PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,b,-01,01),b)OR a='0' ORDER BY +x; ';CREATE TABLE t0(a INTEGER PRIMARY KEY, b); INSERT INTO t0(b)VALUES('000'); INSERT INTO t0(b)VALUES('000'); INSERT INTO t0(b) VALUES(NULL); INSERT INTO t0(b) VALUES(NULL); INSERT INTO t0(b)SELECT b||'0' FROM t0; INSERT INTO t0(b)SELECT b||'0' FROM t0; INSERT INTO t0(b)SELECT b||'0' FROM t0; INSERT INTO t0(b)SELECT b||'0' FROM t0; INSERT INTO t0(b) SELECT b||'0' FROM t0; SELECT count(a), count(b) FROM t0;  qN -CREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; CREATE VIEW v2 AS SELECT tabC.a, txyZ.x, tb0Th.a, tb0tH.x, * FROM tabc, txyz, tb0th ORDER BY 1 LIMIT 1;ANALYZE ',SCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count(DISTINCT), NULLIF( (1),'00c')A00 FROM t03 GROUP BY lower(n00e); +GSELECT ?0000000000000060h00; *CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, quote(1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; .k.:1{PRAGMA encoding=UTF16be; SELECT ALL(ltrim(x'0e0000')); 07CREATE TEMP TABLE t0(a PRIMARY KEY, b, c); CREATE INDEX t000000 ON t0(c COLLATE BINARY); CREATE INDEX t000002 ON t0(b COLLATE NOCASE);REINDEX rtrim( ./aCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE _rrrrrrrrrrrrrrr____________d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2* random()a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; 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; B. BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT "a","b"HAVING b); +L^+7+CREATE TABLE t4(a TEXT); INSERT INTO t4 VALUES('0'); INSERT INTO t4 VALUES('000'); INSERT INTO t4 VALUES('04'); SELECT min(a)MATCH(a) FROM t4; 65CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, likely(1) '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 3, 3,a, '000' FROM; #5MDROP TABLE IF EXISTS a.b DROP TA'4UPRAGMA temp_store_directory='0000'; 39CREATE TABLE t0t0000( COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('AB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000OF0000000000000000000000000000000'); SELECT DISTINCT a FROM t0t0000; 02eCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( sqlite_version()), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); P2RP;<}SELECT name FROM sqlite_master WHERE name LIKE?'000_0'; @;CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%0'; |:}CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=C AND c=? AND d=? AND e=B; ]9?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1,0,1) || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); J8CREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, random() x FROM t1, t2 GROUP BY 1, 2; ZG_ZkB[CREATE TABLE t0(a N00000); INSERT INTO t0 VALUES('-9223372036814775808'); SELECT a, typeof(a) FROM t0; A+CREATE TABLE t4(a TGXT); INSERT INTO t4 VALUES(''); INSERT INTO t4 VALUES('00t'); INSERT INTO t4 VALUES('4'); SELECT min(a), max(a) FROM t4; @1PRAGMA foreign_keys=ON; CREATE TABLE t0000(a NTEGER PRIMARY KEY, b); CREATE UNIQUE INDEX i0000 ON t0000(a,b);REPLACE INTO t0000 VALUES(200,300); J?CREATE TABLE t15(a INTEGER PR,MARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),( 1=120,'000'),(3 >=0,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,b) VALUES(5,'000'),(15,'000'),(25,'000'),(35,'000'); UPDATE t15 SET c=printf("0%d",a) WHERE c IS NULL; SELECT a,b,c,'0'FROM t15 ORDER BY a; w>sCREATE TABLE t0(a, b, c); INSERT INTO t0 VALUES($0,$b, $c); INSERT INTO t0 VALUES($0, $b, $a);VALUES($0, $b, $a); <=ATTACH '000000000000' as julianday( sqlite_source_id()); BB=ECREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M,3); D5CREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0r0ORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2BE^CACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E0-('; IJPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '.0'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; 7IuSELECT CASE WHEN -+.1 THEN '0000' ELSE '00000' END; nHaCREATE TABLE t0(a, CHECK ( sqlite_source_id() IN ('000', randomblob(1)))); INSERT INTO t0 VALUES('000'); ^GACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE -1 GLOB '*[ -10'; RF)CREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+1.,y+16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT x+64, y+64 FROM t2; SELECT count(*),sum(x), sum(y) FROM t2; @(@NCREATE TABLE ""( a,bNIQUE, x CHAR(100)); CREATE TABLE t2(x); INSERT INTO ""("") VALUES(1);REX INTO tLUES(2); SELECT * FROM "", t2; [M;CREATE TABLE t15(a INTEGER PR,MARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),(20,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,b) VALUES(5,'000'),(15,'000');(25a; {L{CREATE TABLE t0(a, b); SELECT "a","b""""a","ba","b",a F,"b""a","ba","b",a FROM (SELECT count(*)a FROM t0) WHERE a==0; TK-PRAGMA foreign_keys=CURRENT_TIMETABLE p(i PRIMARY KEY); CREATE TABLE c(j REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c VALUES('0e00o'); UPDATE p SET i= '000'; SELECT * FROM c; ^QCREATE TABLE t14(a,b,c); INSERT INTO t14 VALUES(1,2,3)INTERSECT SELECT * FROM t14 INTERSECT VALUES(3,2,1),(2,3,1),(1,2,3),(2,1,3); uPoBEGIN EXCLUSIVE; CREATE TEMP TABLE temp_t000e(t); INSERT INTO temp_t000e VALUES('00000'); PRAGMA temp_store = 1; &OQCREATE TABLE t2(a INT, b TEXT, c BLOB, d REAL);EXPLAIN CREATE INDEX i0 ON t2(a ASC, b DESC, c ASC); CREATE INDEX i4 ON t2(b DESC, a ASC, d DESC); INSERT INTO t2 VALUES(1,'o00',x'00',1.0); INSERT INTO t2 VALUES(2,'two',x'32',2); INSERT INTO t2 VALUES(3,'0',x'00',3); INSERT INTO t2 VALUES(4,'u',x'00000000',4); INSERT INTO t2 VALUES(5,'f000',x'0000000000',5.0); INSERT INTO t2 VALUES(6,'x',x'00',6); INSERT INTO t2 VALUES(2,'two',x'3200',2.1); INSERT INTO t2 VALUES(2,'w',x'00',2.0); INSERT INTO t2 VALUES(2,NULL,NULL,3); SELECT count(*) FROM t2; WWlS]BEGIN TRANSACTION; CREATE TABLE t1( a,ba,b load_extension(1,1),y); CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new. = 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.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); 5RoCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0 000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY idx; TT(TUPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (53374)) ); INSERT INTO t1 VALUES( randomblob(110 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid= 3; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid = 1; UCREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2BEGIN SELECT 1; END; DROP TRIGGER t2r6; _recei0ed); CREATE INDEX date_l0000e0_inde0 ON messa0es(date_last_0ie0ed); CREATE INDEX d0t000000000000000 ON messa0es(date_created); CREATE INDEX mE00a0e000000000i0000i0000_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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) d`WEWITH i(x) AS ( VALUES( 1=11) UNION SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; VCREATE 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(dateint00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (VSSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 J4ZmPRAGMA auto_vacuum=2; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t1(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; YCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELECT a, unicode(?) b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 2; ^X?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000  /PX+a]SELECT 10 UNION ALL SELECT 20 GROUP BY 1s`kSELECT NULL "a","b" UNION SELECT "b"EXCEPT SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY x; 7_sPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a DEFAULT nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT a FROM t0t0006; :^{SELECT sqlite_compileoption_used('SQLIE_THREADSAFE'); [];CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg( zeroblob(1))); s\kWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 2001-01-0110; X[5CREATE VIRTUAL TABLE t0 USING fts4( [a],"b "a" "p "a","b");   eCREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000'); INSERT INTO t0000(b) VALUES('0000000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000'); INSERT INTO t0000(b) VALUES('00'); END+ INSERT INTO t0000(b) VALUES('0000'); SELECT * FROM t0000 ORDER BY a; fdQWITH i(x) AS ( VALUES( 1=11) UNION SELECT (x | total(1)| +1)*10 FROM i) SELECT x FROM i LIMIT 20; +c]SELECT printf('%*.*f',5,2 || 00000003); \b=PRAGMA foreign_keys= ON; CREATE TABLE p(i PRIMARY KEY); CREATE TABLE c(DEFERREDj REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c VALUES('0e00o'); UPDATE p SET i= '000'; SELECT * FROM c; ##[j;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y)OR avg(y)); mi_CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('stat0','s0'),( NOT( 1=11),'000'),('0r000','m0r00r0'); SELECT a, b, '0' FROM t000 WHERE a=='stat0' OR b='m0r00r0' ORDER BY +a; h1PRAGMA foreign_keys=ON; CREATE TABLE t0000(a INTEGER PRIMARY KEY, b); CREATE UNIQUE INDEX i0000 ON t0000(a,b);REPLACE INTO t0000 VALUES(200,300); pgeCREATE TABLE t0(a); INSERT INTO t0 VALUES('0'); PRAGMA full_column_names=on; SELECT rowid, * FROM t0;VACUUM |f}DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(?400,2),($400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(va0u01) FROM t1 GROUP BY i01; \&\7ouSELECT sum( strftime(1,1,1E1)-9223372036854775800); =nPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','0',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b -1)OR a=oid OR trim(1,B) KmCREATE TABLE t1(x COLLA6E NOCASE PRIMARY KEY); CREATE TRIGGER t00 AFTER DELETE ON t1 WHEN EXISTS ( SELECT 1 FROM t0 WHERE o00.x0= y ) BEGIN INSERT INTO t0 VALUES(o00.x); END; CREATE TABLE t0(y REFERENC_S t0); INSERT INTO t1 VALUES('0'); INSERT INTO t1 VALUES('B'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0');VACUUM Yl7SELECT typeof(group_concat(ROLLBACKx,'')) FROM (SELECT '' AS x UNION ALL SELECT ''); {k{CREATE TABLE t1(x, y DEFAULT(datetime('+2 avg(1)aysnow'))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; grSCREATE TABLE t0(a, b); SELECT a FROM (SELECT count(*)IS@Uount(*)IS@ULLLL AS a FROM t0) WHERE a<=0; &qQPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(220015012001-01-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 200; VACUUM; ate_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 me00y0e0r0000e00000000000000 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 I m00000NTEGER PRIMARY KEY, sub0ect COLLATE RTRIM, normali0ed_sub0ect COLLATE RTRIM); CREATE INDEX s00000000000000000000 ON sub0ects(sub0ect); CREATE INDEX su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, commE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) gg 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(d pgSCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT tabC.a, txyZ.x, datetime(1,1,1)x, * FROM tabc, txyz, tb0th GROUP BY 1 LIMIT 1; hUCREATE TABLE t13(a PRIMARY KEY CHECK(a!=2)) WITHOUT rowid;VACUUM; REPLACE INTO t13 VALUES(1);VACUUM CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, length(1)b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; 7V7^$ACREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (907,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg( @1y)); :#{PRAGMA encoding=UTF16be; SELECT hex( trim( '00')); @"CREATE TABLE t1(a, b); CREATE TABLE t0(a, b); PRAGMA writable_schema=01; UPDATE sqlite_master SET rootpage=5 WHERE tbl_name = 't1'; PRAGMA writable_schema=00; ALTER TABLE t1 RENAME TO x0; o!cWITH i(x) AS ( VALUES(1) UNION ALL SELECT-x+1 FROM i LIMIT 2001-01-015) SELECT group_concat(1,1) x FROM i; p eCREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | sqlite_compileoption_used(1)| '0000' || new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); E9(wCREATE TABLE t0(aATE TABY KEY, b REFERENCES t0); CREATE TABLE t2(a PRIM RY KEY, c REFEt0);VACUUM; CREATE TABLE t3(a REFERE6CES t0, b REFERENCES t2, c REFERENCES t0);VACUUM <'CREATE TABLE t0(c DEFAULT '000'); PRAGMA INDEX_info(t0); e&OWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM i ORDER BY 1) SELECT "a"OR x FROM i LIMIT 10; %%BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char(1)tSt00n0 FROM TempT000e LIMIT 9; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; /]/+-]SELECT printf('%+.*f',50-13.E00000003); L,CREATE TABLE 00b AS SELECT CURRENT_TIMESTAMP 6''; SELECT * FROM t00b; i+WWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,?) FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; g*SPRAGMA writable_schema = 1; CREATE TABLE s00000_00004 AS SELECT sqlite_compileoption_get(1)0000(0; {){CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(c, b,c,d,e); 000000 _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 sqlit_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 sqlite000000000000000 ON sub0ects(sub0ect); CREATE INDEX sqlite0_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) yd&y)0WCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( length(1)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); ;/}ATTACH''AS noname; ATTACH':memory:' AS name.nmem.i00); C .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 6v6|4}CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; 03gSELECT a FROM t0 WHERE a IN ( ) AND b IN (); 2CREATE TABLE t1(x, y DEFAULT(datetime('0 avg(1)es'))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); 1CREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,_RIGHT) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(10),(1,10,100); NDEX t1a ON tER BY c; |5}DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1, -11,''); 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,B) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; AS9+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b AND'0000' || new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); _8CWITH i(x) AS ( VALUES(1) UNION SELECT (x+1)*2001-01-0110 FROM i) SELECT x FROM i LIMIT 20; q7gWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT CURRENT_TIMESTAMP x FROM i LIMIT 10; G6PRAGMA ing=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) V;1SELECT '1.0>e.000%ECT 1.00e64'/'1.000Ee+6264'/'1.000%ECT 1.00e64'/'1.000Ee+62'; k:[CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 60 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 `a`RE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; 5G(>UPRAGMA auto_vacuum=1; CREATE TABLE t1(a,); CREATE INDEX i ON t1(a); PRAGMA auto_vacuum=1; CREATINDEXi0 ON t0(a); CREATE TABLOBt3(a); CREATE INDEX i3 ONub0ects CREATE MNDEX x ON t1(b); DROP TABLEintegrity_check; DROTABLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; j=YCREATE TABLE t0(x INTEGER PRIMARY KEY, y); CREATE TABLE t3(a, b); CREATE TRIGGER a0000000 AFTER INSERT ON t0 BEGIN INSERT INTO t3 VALUES(new.x, new.y); END;EXPLAIN INSERT INTO t0 VALUES(5000000000, 0); SELECT last_insert_rowid(); G<PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid>200;ANALYZE;ANALYZE H ACREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 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; 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; N@!CREATE TABLE x(i0 integer primar key, a TEXT NULL); INSERT INTO x (a) VALUES ('00'); CREATE TABLE tempx(i0 integer primary key, a TEXT NULL); INSERT INTO tempx (a) VALUES ('0'); CREATE VIEW t01 AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx ON tx.i0=x.i0; CREATE VIEW t010 AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx on tx.i0=x i0; ; c?KWITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT x+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; 0d01EiSELECT * FROM t1 NATURAL RIGHT OUTER JOIN t0; CD CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le ORDER BY Tex00e0; SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0 GROUP BY 1; ]C?CREATE TABLE t1(a unique not null, b unique not null); INSERT INTO t1 VALUES('0',1000000000000000000); INSERT INTO t1 VALUES('b',1000000000020000000); INSERT INTO t1 VALUES('c',1000000000100000000); SELECT * FROM t1; pBeBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT * FROM t0; INSERT INTO t0 SELECT * FROM t0; UPDATE t0 SET y=y+1 WHERE x=new.rowid; SELECT length(1)TE FROM t0 WHERE x=new.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT; PH%CREATE TABLE t0(a, UNIQUE(a)); INSERT INTO t0 VALUES($000); ANALYZE;ANALYZE G9BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char(1)tSt00n0 FROM TempT000e LIMIT 2001-01-011; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; bFICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%n0%n',a,b,c) FROM t1 ORDER BY 00001; H tKmCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE@a=? AND b=? AND c=? AND d=? AND e=?; 8JwSELECT printf('0%110EXCLUSIV0%110EdressesE0'); E0'); 4ImCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( round(1,2001-01-011)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); K)MWCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f); 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 WHER 1LgPRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) ; PRAGMA temp.cache_size = 10; FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; 66HPCREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, x FROM t1, t2 ORDER BY 1, 2;REINDEX #OKCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('s','s0'),( hex(2001-01-011),'000'),( hex(1),'m00'); SN+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| total_changes()| changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); $int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200)% not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L0000&0000000000D 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, U00000000000'0000 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, D0(005 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 TA)BLE 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, ISSUE*ID 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 tex+t(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null,, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null-, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) no.t null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(QUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE /TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30)0 not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P000000000000001 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE T2ABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 SR+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES( total_changes()|| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ^Q?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 # 3t3=TCREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t1b ON t1(b); CREATE INDEX t0d ON t0(d); ANALYZE sqlite_master; INSERT INTO sqlite_stat1 VALUES('t1','t1b','10000 M00'); INSERT INTO sqlite_stat1 VALUES('t0','t4d','10000 500'); ANALYZE sqlite_master; EXPoAKN QUERY PLAN SELECT * FROM t1, t0 WHERE d=b; SCREATE TABLE test(c0l0 EXT PRIMARY KEY); INSERT INTO test(c0l0)values('a'); INSERT INTO test(c0l0)values('b'); INSERT INTO test(c0l0)values('c'); CREATE TABLE test2(c0l0 TEXT PRIMARY KEY); INSERT INTO test2(c0l0)values('a'); INSERT INTO test2(c0l0)values('b'); INSERT INTO test2(c0l0) values('c'); SELECT*FROM test t0 LEFT OUTER JOIN test2 t2 ON t0.c0l0=-t2.c0l0 WHERE +t2.c0l0 IS NULL; UU'USPRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(xPRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800));EXPLAIN INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ COMMIT; --iWWBEGIN 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= quote(1) in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; cVKSELECT sqlite_rename_trigger('CR TRGGER.)...............3.............`r0 ON x00 WHEN',NULL); ==?XPRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800));EXPLAIN INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT-randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; p[eCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; iZWPRAGMA auto_vacuum=1; CREATE TABLE t1(a load_extension(1,1)); DROP TABLE t1; PRAGMA integrity_check; tYmCREATE TABLE t1(x); INSERT INTO t1 VALUES(randomblob(100)); INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT-randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; CREATE INDEX i0 ON t1(x); :t:7^uSELECT 10 EXCEPT SELECT 20 ORDER BY-3333333333,3331 #]MPRAGMA foreign_keys=߰ CREATE b\IPRAGMA cache_size = 5; CREATE TABLE t11(a, b); INSERT INTO t11 VALUES(randomblob(5000),NULL); INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(NOT [a]), NULL FROM t11; --0 UPDATE t11 SET b0= c0000(a); `N`aCREATE TEMP TABLE t0(a PRIMARY KEY, b c); CREATE INDEX t000000 ON t0(c COLLATE BINARY);ATE INDEX t000002 ON t0(b COLLATE NOCASE); ``ECREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '* *߀000'; ._aCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b);EXPLAIN INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; Qkd[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= ' "a","b"EATETABLE 00(a NOT NULLCURRENT_TIMESTAMPt1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR?cCREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, d,e DESC, b, c, a DESC; hbUCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x INTEGERPRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000 t001, t002 WHERE t002.z GLOB '0000'; ? gCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b,c,d,a,b,c,d,a,b,c)) ,e); 000000 _fCCREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| zeroblob(1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); Ze9CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| abs(1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); CC kPRAGMA foreign_keys = ON; CREATE TABLE t1(a UNIQUE,d REFERENCES 1(a)UNIQUE);REPLACE INTO t1 VALUES(1,2); PRAGMA foreign_keys = OFF; [j;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg( -1) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); giSCREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| sqlite_compileoption_used(1)| '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); bhICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf( time(1,1,1),c) FROM t1 ORDER BY rowid; 9f?9=qCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,?) AS00 FROM t0 GROUP BY m ORDER BY 1, 2; p DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( 0e0, -1 /* */) FROM t1 GROUP BY i01; :o{SELECT 10060000E10000000&60E10000000&6E00006000; 0000; $nODROP TRIGGER IF EXISTS t03. C000 m=CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('0z'); INSERT INTO t0 VALUES('0y'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m; SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,M) FROM t0 ORDER BY lower(m); wlsCREATE TABLE t1(x, y DEFAULT(datetime('0 @1avg(1)es'))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); U@sCREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE b OR (SELECT b FROM t0 GROUP BY b); 'rSCREATE 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 (b=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND ?=3) AND y IS NULL; CREATE TEMP T[BLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WH^RE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 L SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; u!uzvyCREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d); INSERT INTO t0 VALUES('000','000r000','00a','000000'); INSERT INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT DISTINCT*, '0' FROM t0 ORDER BY c, a; +u]SELECT printf('%*.*f',5,2, ltrim(1,1)); [t;BEGIN; CREATE TABLE n00be0s(a PRIMARY KEY, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid& b = '000000000000000000000000000000000000'; COMMIT; AxPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT trim(1,1),a FROM t0t0006; ?wCREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('c', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY a, a,@id kky'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(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,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a || +4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,62001-01-01,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60;   ozcDROP 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,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'||sr(c,4) FROM t1 WHERE c GLOB INSE BB(}UPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (57754)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500-4)) ); INSERT INTO t1 VALUES( randomblob(110 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid= 3; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid = 1; P|%PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COMLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('AB); INSERT INTO t0t0006 VAX'); SELECT DISTINCT a FROM t0t0006; :{yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR likely(1)ER BY +x; ##ywCREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); CREATE INDEX t1a ON t1(a); CREATE INDEX t1b ON t1(b); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','12000'),('t1','t1b','10000'); ANALYZE sqlite_master; SELECT*, nullif(1,1)'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c; (WDROP INDEX IF EXISTS MATCHy00.x000i; CSELECT time(CURRENT_TIME); ~%BEGIN; CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT last_insert_rowid() TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; J1gCREATE TABLE t0(a PRIMARY KEY, b REFERENCLOBt0); CREATE TABLE t2(a PRIMARY KEY, c REFEt0);VACUUM; CREATE TABLE t3(a REFERENCES t0, b REFERENCES t2, c REFERENCES t0);VACUUM 2iANALYZE; DROP TABLE IF EXISTS sqlite_stat1; DROP TABLE IF EXISTS s2; DROP TABLE IF EXISTS l0; DROP TABLE IF EXISTS s4; SELECT name FROM sqlite_master WHERE name GLOB ' [a]'; jj)PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = +0; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randombloS($00), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; 8T8Z9CREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a, CAST(a AS char(1)) FROM t0; ;{PRAGMA auto_vacuum = incremental; PRAGMA journal_modT = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1080), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT IXTO t1 SELECT randomblob(1000), r00) FROM t1; DELETE FROM t1 WHERE rowid%2; (UPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0W 75\7" KSELECT strftime( total(1), 1); t mCREATE TABLE t00b AS SELECT "a","b"COLLALEt00b ,"b"COLLALE AS SELECT "a","b"COLTE''LIKE''; SELECT * FROM t00b; _ CWITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 06  )CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES( random()-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; < }PRAGMA foreign_keys = ON; CREATE TABLE t1(a PRIMARY KEY, b); CREATE TABLE t2(c REFERENCES t1 DEFERRABLE INITIALLY DEFERRED, d); INSERT INTO t1 VALUES(9,2); INSERT INTO t1 VALUES(1,3); riSELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20) SELECT SQLITE_RENAME_TABLE('f00', '000'); r)CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, total_changes()b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,b,c,d,e,c,d,e,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; (Q'SELECT typeuf(group_ANDcat(x,'')) FROM (SELECT '' AS x UNION ALL SELECT ''); CREATE TEMP TABLE sqlite_version()MARY KEY AUTOINCREMENT, b); INSERT INTO t0 VALUES(null,'00'); INSERT INTO t0 VALUES(null,'00') DE0; +]SELECT sqlite_rename_trigger(' ',NULL); 3BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');EXPLAIN UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; ttskCREATE TABLE "'000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n00b00" FROM (SELECT "000000", "n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 1) AS "0000"; 'PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES 1 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); INSERT INTO t0 VALUES(13); INSERT INTO t3 VALUES(13); 55APRAGMA foreign_keys =ON; CREATE TABLE t1(a UNIQUE, b); ; PRAGMA foreign_keys = OFF; CREATE TABLE t2(c, d REFERENCES t1(a));REPLACE INTO t2 VALUES(2, 1); BEGIN; PRAGMA foreign_keys = OFF; 1CREATE TABLE t1(x INTEGERPRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a, a, sum(m) AS; eOWITH i(x) AS ( VALUES(1) UNION ALL SELECT-x+1 FROM i LIMIT 5) SELECT group_concat(1,?) x FROM i;  CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,b,c /* */)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; xuBEGIN 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 IN ( total_changes(),1,1) a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; n1gSCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 JOIN t102 AS t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0)); CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a, b,c,d,e); VACUUM :{SELECT sqlite_compileoption_used('THREADSAFE=0 blob'); %QDETACH printf('0%110.100c0','0'); gSPRAGMA auto_vacuum=O00; PRAGMA auto_vacuum=O00; PRAGAGMA page_size=1024; CREATE TABLE t0(x FLOA0); ] ?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, 'o00'); 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,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'||sr(c,4) FROM t1 WHERE c GLOB INSE nn!!CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, date(1,1,1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; 6U6#;PRAGMA encoding=UTF16; CREATE TABLE t1(x c REAL DEFAULT '9e99'); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPd t1 SET x=x+1; SELECT* FROM t1; '"SCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=2 OR ?13; SELECT?5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; ~k'[CREATE TABLE t0(a N00000); INSERT INTO t0 VALUES('99223372036854775808'); SELECT a, typeof(a) FROM t0; L&CREATE TABLE t0000(a texmary key, b00000, primary key(a,key, b00000b)); N%!PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x-16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; ^$ACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE 102 GLOB '*[-000'; o?;\.=SELECT 00000060.00>>000<000060.010000>>0000000060.00>>000<000060.010000>>0000000060.00; ^-ACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*T[0߀'; R,)CREATE TABLE t0(a, CHECK (a COLLATE m00000000 IN ('000', '000', '00000'))) ; T+-BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t0000. AFTER UPDATE ON TempT000e BEGINs*kPRAGMA encoding=UTF16be; CREATE TABLE t0tASC6(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); -)aPRAGMA encoding=utf16be; PRAGMA encoding; (CREATE TABLE t0(x); CREATE UNIQUE INDEX t00 ON t0(x); BEGIN; INSERT OR ROLLBACK INTO t0 VALUES(1); INSERT OR ROLLBACK INTO t0 VALUES(1); g1gx1uCREATE TABLE t0a(a,b); CREATE TABLE t0b(x); INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE@b200; VACUUM; $$X25CREATE 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','t4aNl','600000 16 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; W_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 su00000_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);REINDEX TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) TdT 4DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a","b""a","b" /* */) FROM t1 GROUP BY 002; 3CREATE 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(dateV ?f?^7?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 Z06eCREATE TABLE t0(a TEXT, b TEXT); CREATE VIEW v0 AS SELECT t0.a FROM t0; CREATE TRIGGER t0001 INSTEAD OF DELETE ON v0 BEGIN SELECT 0; END;EXPLAIN DELETE FROM v0 WHERE a= 1; b5ICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%q0%s',?,b,c) FROM t1 ORDER BY rowid; [int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200)\ not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L0000]0000000000D 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 te|t(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, U00000000000^0000 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, D0_005 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 TA`BLE 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, ISSUEaID 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 texbt(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,c 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) nulld, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) noet null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE fTABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30)g not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000h text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TiABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 C: CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le ORDER BY Tex00e0; SELECT* FROM De00Ta0le UNION ALL SELECT * FROM De00V0e0 ORDER BY D; ;9{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(200) 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; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(900); v8qSELECT 1000000%0000000101000000%008000000600600001000000%008000060000000101000000%0080000600000000%008000060000; i?=CREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE d=2 AND c=3 ORDER BY d DESC, c DESC, b, c, a DESC; 3<kCREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 GROUP BY b, c, d,e DESC,C; ;+CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2001-01-012*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; Sm?ShAUCREATE TABLE t000(a INTEGIR PRIMARY KEY, b c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 WHERE t002.z GLOB '0000'; +@]SELECT c000(l(b),l0(b),m5),b*100,I) a; i?WWITH i(x) AS ( VALUES(12001-01-01) UNION ALL SELECT x+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; #>KCREATE TEMP TABLE ob0list(type, name, tbl_name); INSERT INTO ob0list SELECT type, name, tbl_name FROM sqlite_master; INSERT INTO ob0list SELECT type,name, tbl_name FROM sqlite_temp_master WHERE NAME!='ob0list'; SELECT type name, tbl_name FROM ob0list ORDER BY tbl_name, type desc, name; n00000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, Ro0000000 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));EXPLAIN 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 int0p0000, 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 int000q00, 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, rD0003 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 P0000000000000000s 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) nott 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, P0000000000000Du text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID));ANALYZETABLE I0(O000 tex 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, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ""YC7CREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0.a FROM ((t0 JOIN t2 ON t0.a$ab0 OR b.y<$ab0); ILPRAGMA auto_vacuum=1; CREATE TABLE t0(a); CREATE TABLE t0(a); DReck; DK CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX '''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES( `a`, 3); I1JgCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE 0 IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERTI TI-CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('000'); VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); xPuCREATE TABLE t0a(a,b); CREATE TABLE t0b(x); INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE@b=t0b.rowid GROUP BY "a","" BY a; O-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN round(1,1)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; LNPRAGMA read_uncommitted= 1; BEGIN; CREATE TABLE t0(a, b, UNIQUE(a, b)); 0o;T{BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b = '00..'; COMMIT; eSOWITH i(x) AS ( VALUES(1) UNION ALL SELECT glob(1,1) FROM i ORDER BY 1) SELECT-x FROM i LIMIT 10; VR1ATTACH(x) AS ( VALUES(1) UNION ALL SELECT upper(1)COLLATE i ORDER BY 1) SELECT 0; LQCREATE 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,14), x+100 FROM t0; SELECT rowid,CURRENT_TIME x FROM t0; **RU)PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x AND+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; 88^YACREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| instr(1,1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); BX SELECT sum( strftime(1,1,12001-01-01,1)-9223372036854775800); QW'CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(SELECT t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); HVCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='ABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO sqlit%_ =q=1\iCREATE TABLE a0c(a, b, c); PRAGMA page_count; [CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE UPDATE ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000'); INSERT INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) SELECT('000000');REPLACE INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) SELECT('0000'); SELECT * FROM t0000 ORDER BY a; ZCREATE TABLE t00a(a,b); INSERT INTO t00a VALUES(0,0); CREATE TABLE t00b(n); CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN SELECT 0 FROM t00a WHERE 0>n0000 UNION ALL SELECT 0 FROM t00a WHERE 0>new>x ORDER BY 0 LIMIT 0, END; INSERT INTO t00b VALUES(6); int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0  Z K_SELECT NULL "a","b" UNION SELECT NULL UNION SELECT 1 UNION SELECT 2x; |^}WITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT x+1 FROM i ORDER BY 1) VALUES( 1=11) UNION ALL SELECT x FROM i LIMIT 10; ^]?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 0 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);EXPLAIN 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);EXPLAIN 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);ANALYZE INDEX su00000 UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) `!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 INT000 :CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE (1)NOTNULL; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON?(x=M B SELECT name FROM sqlite_master WHERE name LIKE 'RENAME000_0'; %OCREATE TABLE t3(a TEXT, b REAL, c INT0000);EXPLAIN INSERT INTO t3 VALUES(X'000000', '1.0', 4.5); SELECT typeof(a), avg(1) a, typeof(b), b, typeof(c), c FROM t3; t%mCREATE TABLE test(c0l0 TEXT PRIMARY KEY); INSERT INTO test(c0l0)values('a'); INSERT INTO test(c0l0)values('b'); INSERT INTO test(c0l0)values('c'); CREATE TABLE test2(c0l0 TEXT PRIMARY KEY); INSERT INTO test2(c0l0)values('a'); INSERT INTO test2(c0l0)values('b'); INSERT INTO test2(c0l0) values('c'); SELECT*FROM test t0 LEFT OUTER JOIN test2 t2 WHERE +t2.c0l0 IS 1=1; a$GCREATE 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 20p0 60 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE d=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 }l4}u*oSELECT * FROM (SELECT name+1 AS one FROM sqlite_master LOINCREMENT1) WHERE one LIKE one LIKE '000000' LIKE one; ;){CREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,a); INSERT INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e02 VALUES(300,100,200); UPDATE t0e01 set b = 200 where a = 1.0; SELECT* FROM t0e01, t0e02; 5(qSAVEPOINT s00;RELEASE SAVEPOINT s00; RELEASE s00; q'gWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime( /* */1) x FROM i LIMIT 10; &=PRAGMA auto_vacuum=2; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; DROP TABLE t0; M&"0KSELECT strftime( zeroblob(1)); +/]CREATE VIEW a00.v0 AS SELECT#:memory:; c.KWITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT x+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; =-CREATE TABLE x1(a); CREATE TABLE x2(b); INSERT INTO x1 VALUES(1), (1), (2); INSERT INTO x2 VALUES(1), (2); SELECT count(*) FROM x2 WHERE b IN (SELECT random() a FROM x1 LIMIT 2)ISNULL; A,PRAGMA encoding=UTF16be; SELECT hex(@trim(x'0e0000'));VACUUM k+[CREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x a,b, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT tabC.a, txyZ.x, tb0Th.a, round(1,?) FROM tabc, txyz, tb0th GROUP BY 1 LIMIT 1; WW%1OCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2/a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2* sqlite_compileoption_get(1)a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; !|!X35CREATE VIRTUAL TABLE t0 USING fts4( [a],"b "p "a","b"); 2DROP 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');EXPLAIN INSERT INTO t1 SELECT a+1,2,'000'AND substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; ofC|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ U#TSRQPON I HGF{ExDuCs0:-5,0.+ ' &$!   ~}{wspn߉lމh݉d܉`ۉ^ډ\ىYщVЉQωMˉLʉJɉIȉDljAƉ=ʼn;95310*%# Ao@l?i>d=a<^;X:T9R8P7N6L5I4F3B2?1<zvqolfdc`_\~Y}U|T{PBrzMyHxFwEvClAk=j:Y7X4U2T1S.R'Q# c5KWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(?)FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002y4wCREATE TABLE t4( [a]a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 60 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE e=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; x-x69sSELECT quote(printf()), quote(printf( char(1),3)); y8wCREATE VIEW x1 AS SELECT 100 AS '', 200 AS '', 300 AS '' ; SELECT * FROM x1;$ 7PRAGMA foreign_keys = ON; CREATE TABLE t1(ASa UNIQUE, b); CREATE TABLE t2(c, d REFERENCES t1(ASCa));REPLACE INTO t1 VALUES(1,2); INOFF; ?6CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('c', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY b, b,oid int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID));REINDEX TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ?;SELECT sqlite_rename_parent( " time(1,1,1)a",'000','000'); ^:?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000  ,=]PRAGMA vum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; -------BLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; y<wCREATE TABLE t4(a,b,c int,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40010'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; B-B4AmCREATE TABLE t3(a TEXT, b REAL, c INT0000); INSERT INTO t3 VALUES(X'000000', '1222222222222222222.03a00', 4.5); SELECT typeof(a), avg(1) a, typeof(b), b, typeof(c), c FROM t3; G@CREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS d FROM t44) A000 ON a= upper(?)=4 OR d IS NULL; e?OCREATE TABLE t0(a, b);EXPLAIN SELECT a FROM (SELECT 00000e2001-01E0110 AS a FROM t0) WHERE a==0; O>#PRAGMA auto_vacuum = incremental; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(2000), zeroblob(5000)); DELETE FROM t1; PRAGMA incremental_vacuum; 9 9OD#CREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE b IN (SELECT replace(1,1,1) b FROM t0 ORDER BY b); xCuBEGIN 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 IN (SELECT replace(A,1,1) a FROM t1 WHERE a<>0); DROP INDEX i1; DELETE FROM t1; COMMIT; tBmCREATE TABLE test(c0l0 TEXT PRIMARY KEY); INSERT INTO test(c0l0)values('a'); INSERT INTO test(c0l0)values('b'); INSERT INTO test(c0l0)values('c'); CREATE TABLE test2(c0l0 TEXT PRIMARY KEY); INSERT INTO test2(c0l0)values('a'); INSERT INTO test2(c0l0)values('b'); INSERT INTO test2(c0l0) values('c'); SELECT*FROM test t0 LEFT OUTER JOIN test2 t2 WHERE +t2.c0l0 OR NULL; X ^IACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?E000'; KHPRAGMA synchronous = full; PRAGMA cache_size = 10; PRAGMA synchronous; G CREATE TABLE t0a(a,b); CREATE TABLE t0b(x); INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT zeroblob(1) a, count(b) FROM t0a, t0b WHERE b=t0b.rowid GROUP BY a ORDER BY a; _FCCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b='000'), t0 WHERE strftime(A,CURRENT_TIME); IFSERT c=':E{SELECT sqlite_compileoption_used('SQLIT_THREADSAFE'); UU'JSCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b= sqlite_source_id() WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; bL1CREATE TABLE t4(a TGXT); INSERT INTO t4 VALUES(''); INSERT INTO t4 VALUES('00t'); INSERT INTO t4 VALUES('04'); SELECT min(a), max(a -1) FROM t4; K9CREATE TABLE x(i0 integer prymary key, a TEXT NULL); INSERT INTO x (a) VALUES ('00'); CREATE TABLE tempx(i0 integer primary key, a TEXT NULL); INSERT INTO tempx (a) VALUES ('0'); CREATE VIEW t01 AS SELECT x.i0, tx.i0 FROM x JOIN x tx ON tx.i0=x.i0; CREATE VIEW t010 AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx on tx.i0=x.i0; CREATE VIEW t02 AS SELECT * FROM t01 UNION SELECT * FROM t010; SELECT * FROM t02; '0000000000004000'); INSERT INTO t1(oid,a,x)VALUES(7000000000000,17,'00000f00000000f0'); INSERT INTO t1(oid,a,x)VALUES(80000,18,'00000000000f0f00'); INSERT INTO t1(oid,a,x)VALUES(100000000000,19,'0000010000000000'); INSERT INTO t1(oid,a,x)VALUES(0040000000,20,'00000000000f0f0f'); INSERT INTO t1(oid,a,x)VALUES(-30,21,'000f000000000000'); INSERT INTO t1(oid,a,x)VALUES(34359738368,22,'0000000800000000'); INSERT INTO t1(oid,a,x)VALUES(30000,23,'0000000000000f0f'); INSERT INTO t1(oid,a,x)VALUES(8388608,24,'0000000000800000'); INSERT INTO t1(oid,a,x)VALUES(10000000000000,25,'00000f00000000ff'); INSERT INTO t1(oid,a,x)VALUES(20000000000000,26,'0001000000000000'); INSERT INTO t1(oid,a,x)VALUES(3000000000000000,27,'00000f0000000f00'); INSERT INTO t1(oid,a,x) VALUES(72057594037927936,28,'0100000000000000'); INSERT INTO t1(oid,a,x) VALUES(-6,29,'00000f0000000f0f'); INSERT INTO t1(oid,a,x) VALUES(205,30,'00000000000000f0'); INSERT INTO t1(oid,a,x) VALUES(4,31,'0000000000000004'); INSERT INTO t1(oid,a,x) VALUES(-68,32,'00000f0000008000'); INSERT INTO t1(oid,a,x) VALUES(-2,33,'00000f0000000ff0'); INSERT INTO t1(oid,a,x) VALUES(10000000000008,34,'00008000'); INSERT INTO t1(oid,a,x) VALUES(50000000000,35,'0000008000000000'); INSERT INTO t1(oid,a,x) VALUES(4000000000,36,'0000000100000000'); INSERT INTO t1(oid,a,x) VALUES(-60,37,'00000f0000800000'); INSERT INTO t1(oid,a,x) VALUES(-1,38,'00000f0f'); INSERT INTO t1(oid,a,x) VALUES(3000000000,39,'00000000000f0ff0'); INSERT INTO t1(oid,a,x) VALUES(8400000,40,'0000000010000000'); INSERT INTO t1(oid,a,x) VALUES(2,41,'0000000000000002'); INSERT INTO t1(oid,a,x) VALUES(90000,42,'0000000000200000'); INSERT INTO t1(oid,a,x) VALUES(50000000,43,'000200000000'); INSERT INTO t1(oid,a,x) VALUES(-7,44,'000f800000000000'); INSERT INTO t1(oid,a,x) VALUES(060000000,45,'0080000000000000'); INSERT INTO t1(oid,a,x) VALUES(5000000000,46,'0000000000000fff'); INSERT INTO t1(oid,a,x) VALUES(-20,47,'00000f000000f000'); INSERT INTO t1(oid,a,x) VALUES(60000,48,'00000000000000ff'); INSERT INTO t1(oid,a,x) VALUES(128,49,'0000000000000080'); INSERT INTO t1(oid,a,x) VALUES(32768,50,'0000000000008000'); INSERT INTO t1(oid,a,x) VALUES(2147483648,51,'0000000080000000'); INSERT INTO t1(oid,a,x) VALUES(-3,52,'00000f00000000fd'); INSERT INTO t1(oid,a,x) VALUES(-28,53,'00000f0000000f80'); INSERT INTO t1(oid,a,x) VALUES(-29,54,'00000f0000000f70'); INSERT INTO t1(oid,a,x) VALUES(-9223372036854775808,55,'8000000000000000'); INSERT INTO t1(oid,a,x) VALUES(400000000000,56,'0000040000000000'); INSERT INTO t1(oid,a,x) VALUES(10000000000,57,'0000000000000ff0'); INSERT INTO t1(oid,a,x) VALUES(00800,58,'00000f000000f00f'); INSERT INTO t1(oid,a,x) VALUES(0,59,'0000000000000000'); INSERT INTO t1(oid,a,x) VALUES(1,60,'0000000000000001'); INSERT INTO t1(oid,a,x) VALUES(206,61,'0000000000000100'); INSERT INTO t1(oid,a,x) VALUES(60006,62,'0000000000010000'); INSERT INTO t1(oid,a,x) VALUES(-5000000000,63,'00000f8000000000'); INSERT INTO t1(oid,a,x) VALUES(8,64,'0f800000'); CREATE INDEX t000 ON t1(a); CREATE INDEX t002 ON t1(x); ++AMCREATE TABLE t1(a,x); INSERT INTO t1(oid,a,x)VALUES(-9,1,'000000000f000000'); INSERT INTO t1(oid,a,x)VALUES(900,2,'0f00000000000000'); INSERT INTO t1(oid,a,x)VALUES(922+372036854775800,3,'0f0000000000000f'); INSERT INTO t1(oid,a,x)VALUES(7,4,'000000000000000f'); INSERT INTO t1(oid,a,x)VALUES(3,5,'0000000000000003'); INSERT INTO t1(oid,a,x)VALUES(6000000,6,'0000000001000000'); INSERT INTO t1(oid,a,x)VALUES(90000000000,7,'0000030000000000'); INSERT INTO t1(oid,a,x)VALUES(300,8,'0000000000000f00'); INSERT INTO t1(oid,a,x)VALUES(6000005,9,'00000000000f0000'); INSERT INTO t1(oid,a,x)VALUES(200000000000,10,'00000f0000000000'); INSERT INTO t1(oid,a,x)VALUES(-8,11,'0000000f00000000'); INSERT INTO t1(oid,a,x)VALUES(0400000,12,'00000000000f000f'); INSERT INTO t1(oid,a,x)VALUES(40000000000,13,'00000f000000000f'); INSERT INTO t1(oid,a,x)VALUES(67000,14,'00000000000f00f0'); INSERT INTO t1(oid,a,x)VALUES(200,15,'00000000000f00ff'); INSERT INTO t1(oid,a,x)VALUES(304,16, QCCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count(), NULLIF( "a",'00c')A00 FROM t03 GROUP BY lower(n00e); +P]SELECT 10 UNION ALL SELECT 20 ORDER BY 1BO PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a''00',1); INSERT INTO t1 VALUES(2,'00', 'a''e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) |N}DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2)MATCH min(?,1)FROM t1 GROUP BY 01; E(V-CREATE TABLE [i UBEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary kiTWWITH i(x) AS ( VALUES(12001-01-01) UNION ALL SELECT 1=1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; KSSELECT 0 AS x, 0 AS y UNION SELECT 2 AS y, -0 AS x ORDER BY x |IMIT 1; iRWBEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(?,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; ey (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000008 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 ( SSUEID, OB0ECTID)); CREAt not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U0000000000000xt(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 YY7SELECT $::00s0 LIKE $::00s LIKE $::000::s0 LIKE $::00s0 LIKE $::00s LIKE $::0000003; X!CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, zeroblob(1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; lW]CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX a.b ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR ?\CREATE TABLE t0(a,b); CREATE TABLE l00(x UNIQUE, y); CREATE TRIGGER r0 AFTER INSERT ON t0 BEGIN UPDATE l00 SET y=y+ ?10 WHERE@x=new.a; INSERT OR IGNORE INTO l00 VALUES(new.a,00); END; INS[CREATE TABLE test(c0l0 TEXT PRIMARY KEY); INSERT INTO test(c0l0)values('a'); INSERT INTO test(c0l0)values('b'); INSERT INTO test(c0l0)values('c'); CREATE TABLE test2(c0l0 TEXT PRIMARY KEY); INSERT INTO test2(c0l0)values('a'); INSERT INTO test2(c0l0)values('b'); INSERT INTO test2(c0l0) values('c'); SELECT*FROM test t0 LEFT OUTER JOIN test2 t2 ON t0.c0l0/ t2.c0l0 WHERE +t2.c0l0 IS NULL; bZICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf( trim(1,1),b,c) FROM t1 ORDER BY rowid; v?vE^PRAGMA journal_mode = WAL; PRAGMA page_size = 1024; BEGIN; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FROM t1; /* 4 */ COMMIT; INSERT INTO t1 SELECT randomblob(900) FROM t1 LIMIT 4; /* 8 */ INSERT INTO t1 SELECT randomblob(900) FROM t1 LIMIT 4; /* 12 */ INSERT INTO t1 SELECT randomblob(900) FROM t1 LIMIT 4; /* 16 */ INSERT INTO t1 SELECT randomblob(900) FROM t1 LIMIT 4; /* 20 */ INSERT INTO t1 SELECT randomblob(900) FROM t1 LIMIT 4; /* 24 */ INSERT INTO t1 SELECT randomblob(900) FROM t1 LIMIT 4; /* 28 */ INSERT INTO t1 SELECT randomblob(900) FROM t1 LIMIT 4; /* 32 */ =]CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY@m OR round(1,1); h;`{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 last_insert_rowid() t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT sqlite_compileoption_get(1) /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(200); _-CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, group_concat(1,1) b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; /~/bdICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%337s',a/b,c) FROM t1 ORDER BY rowid; fcQATTACH''AS noname; ATTACH':memory:' AS inme; ATTACH':memory:' AS oname; ATTACH':memory:' AS imi BOb#SELECT 10060000E10000000&60E10000000&600000600E10000000&60E10000000; 0000; ,a]CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0 0000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY idx; (g(;h{CREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,b); INSERT INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e02 VALUES(300,100,200); UPDATE t0e01 set b = 200 where a!= 100; SELECT* FROM t0e01, t0e02; Tg-PRAGMA writable_schema = 1; CREATE TABLE s00000_00004 AS SELECT changes()EXISTSnhfUCREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE '0'; Re)CREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16,y+16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT x-64, y+64 FROM t2; SELECT count(*),sum(x), sum(y) FROM t2; z1lz1lgPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1002001-01-oid), randomblob(1000) FROM t1; I 9kwPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT typeof(1) *a FROM t0t0006; AjPRAGMA foreign_keys = ON; CREATE TABLE t1(a UNIQUE, b); ; PRAGMA foreign_keys = OFF; CREATE TABLE t2(c, d REFERENCES t1(a));REPLACE INTO t2 VALUES(2, 1);VACUUM; PRAGMA foreign_keys = OFF; KiCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000');EXPLAIN SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b<'000'), t0 WHERE c='abc'; 2nkSELECT 10 EXCEPT SELECT 10 EXCEPT SELECT 200OmCREATE TABLE c000a00001(a, b); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); CREATE VIEW c000a000v1 AS SELECT * FROM c000a00001 ORDER BY 1 COLLATE a,b; SELECT * FROM c000a000v1; ,wpsPRAGMA encoding=UTF16le; CREATE TABLE t0tASC6(VIEWa COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); Po%PRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size = 2000; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(100)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(?0 ) 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; CfCs;CREATE TABLE t3(a TEXT, b REAL, c INT0000); INSERT INTO t3 VALUES(X'000000', '1.03a00', 4.5); SELECT typeof(a), a, typeof(b)< b, typeof(c), c FROM t3; rCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(b); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_checkq1CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, last_insert_rowid()b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; R)RSw+CREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTC); CREATE TABLE t002(x INTEGER PRIMARL KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 WHERE t002.z GLOB '0000'; pvePRAGMA encoding=UTF16le; CREATE TABLE t0t06(a CLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); {u{CREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT x, y FROM t01 UNION ALL SELECT x, y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT * FROM v0 WHERE x='0' GROUP BY 2001-01-01"a"btIWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM i GROUP BY 1) SELECT x FROM i LIMIT 10 -1; bxby{wCREATE TABLE t0( a,ba,b,c,d,e, PRIe, PRIMARY KEY(a,E,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); 008000 z1PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2(a, b, FOREIGN KEY(a, a,bb) REFERENCES t1 ON UPDATE CASCADE);; +y[PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13); INSERT INTO t0 VALUES(13); INSERT INTO t3 VALUES(13); INSERT INTO t0 VALUES(3); Ux/PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%0; PRAGMA incremental_vacuum(4); ROLLBACK; !h!C} CREATE TABLE t15(a INTEGER PRIMARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),(20,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,a) VALUES(5,'000'),(15,'000'),(25,'000'),(35,'000'); UPDATE t15 SET c=printf("0%d",a) WHERE c IS NULL; SELECT a,b,c,'0'FROM t15 ORDER BY a; |-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN randomblob(2)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; E~CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT last_insert_rowid() idx, stat FROM sqlite_stat1 ORDER BY idx;  y jYCREATE TABLE t0(x,y DEFAULT 4.3, z DEFAULT x'00A0'); INSERT INTO t0 DEFAULT VALUES; SELECT * FROM t0;  DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1,X'0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,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,62001-01-01,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; 8=e8!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,b,c,d,b,c,b,c,d,e,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; KPRAGMA synchronous /* */; PRAGMA cache_size = 10; PRAGMA synchronous; JCREATE TABLE t0(a INTEGER PRIMARY KEY AUTOINCREMENT,b) WITHOUT rowid; T-CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,0); CREATE VIEW v1 AS SELECT b FROM t1 WHERE a>0; CREATE TABLE t0(p,q); INSERT INTO t0 VALUES(0,0); SELECT * FROM v1 WHERE EXISTS(SELECT strftime(1,1,1,1)=v1.b); ?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 randomblob(900) FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x =-randomblob(900); hUPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(990)); INSERT INTO t0 SELECT sqlite_source_id() x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(4); ROLLBACK; tmBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0( a,bx,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.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT; text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text nullK0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0   h UCREATE TABLE t000(a "a"GER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARW KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 WHERE t002.z GLOB '0000'; BBEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000  - CREATE TABLE messa0es(W00 INTEGER PRIMARY KEY AUTOINCREMENT, messa0e_id, document_id BLOB, i00, remote_id INT0000, sender INT0000, sub0ect0000000, sub0ect INT0000s COLLATE NOCASE, commen, 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,O #PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT rtrim(1,1)LIKE x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM;  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(sub0ect, 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 su OU sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATENTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) u 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(dae CREATE TABLE t0e03(a INTEGER PRIMARY KEY, b, UNIQUE(a,b)) WITHOUT rowid+0e03 set b = 200 where a = 100; SELECT* FROM t0e03, t0e00; _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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) <0eCREATE TABLE x0(a CHECK( a||b ), b); CREATE TABLE t0(a, b, CHECK( a||b )) INSERT INTO x0 VALUES(1, 'x0'); INSERT INTO x0 VALUES(1, 'y0'); INSERT INTO t0 SELECT * FROM x0; KCREATE VIRTUAL TABLE t0 USING fts4(TABLE"b"prefx<<<<<<<<<<<<<<<<=""); hUCREATE TABLE "0 0" ("""00"""); INSERT INTO "0 0" ("""00""") VALUES (1); SELECT "" (1)"" FROM "0 0"; @PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; DELETE FROM t0 WHERE rowid<200;ANALYZE; 9BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char(2001-01-011)tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; HH<SELECT printf('0%110.100s0%110.130s0','REN0','RENAME0');riCREATE VIRTUAL TABLE t0 USING fts4( "a",TE VIRTUAL TAB"a",TE VIRTUAL TABLE t0 USIN"b"LE t0 USIN"b"prefix=""); CREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER tp BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER d0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2r&; e1QehUCREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT x, zeroblob(2001.01-011) y FROM t0 GROUP BY z; \=CREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT "a","b"OR@x, * FROM t0 ORDER BY z; KPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT rtrim(?,1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; w!w;PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('a'); INSERT INTO t0t0006 VALUES('A'); S6; LPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT date(1,1,1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; 8wSELECT time(CURRENT_DATE);SELECT time(CURRENT_DATE); [;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x>avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x> avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) >$avg(y)); @CREATE TABLE nn(a, b, c, d, e, PRIMARY KEY(c,a,e)); CREATE TABLE nn0(a, b, c, d, e, PRIMARY KEY(c,a,e))WITHOUT ROWID; INSERT INTO nn VALUES(1,2,3,4,5); INSERT INTO nn0 VALUES(1,2,3,4,5); `ECREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT $$$$$$$$ t001, t002 WHERE t002.z GLOB '0000'; ?CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('000'); INSERT INTO t0000(a) VALUES('000<); END; CRE000 AFTER INSERT ON t0000 BEGIN INSERT I00'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); MM0!gSELECT 1.0000000<000.06000000000<000.0600 0; | }DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1, -11,''); 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,B) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; !V$1CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('000'); INSERT INTO t0000(a) VALUES('000<); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT I00'); INSERT INTO t0000(b) VALUES('00'); END;EXPLAIN INSERT INTO t0000(b) VALUES('0000'); i#WWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 2001-01,0110; p"ePRAGMA auto_vacuum=1; CREATE TABLE t1(a); CREATE TABLE t0(a);EXPLAIN DROP TABLE t1; PRAGMA integrity_check; B& SAVEPOINT `a`; CREATE TABLE t0(a, b); ROLLBACK TO [a];SELECT C%+BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char( -11)tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; 'PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c /1, b||c||a, c||a||b FROM abc; IO abcb, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID));ANALYZE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 \ \@+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*2E16,14), x+100 FROM t0; SELECT rowid, x FROM t0; u*oCREATE TABLE t0(ӝc,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); 000000 >)SELECT group_concat(1,1) NOT IN (10 IN (@0,:0),@0)90000); ^(?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000  [.;CREATE TABLE t1(a, b); PRAGMA auto_vacuum=O00; PRAGMA synchronous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA jou0; PRAGMA synchronous=N00000rnal_mode=TRUNCATE; INSERT INTO t1 VALUES(1, 2); -BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPAJ,SELECT * FROM (t0)ON(t0), (tRE t0=t0.a+1 AND t0.a=t0.a0000 AND t+100; NTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null!, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null);ANALYZE TABLE E00000000000ull, S0000 int nxt null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TA"BLE 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, ISSUE#ID 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 tex$t(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null,% D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null&, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) no't null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE (TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30)) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000* text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE T+ABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 --S0+CREATE TABLE t00b AS SELECT "a"RELEASE,"b"RENAMEE'', 6''; SELECT * FROM t00b; y/wDROP TABLE IF EXISTS t0; CREATE TABLE t1(a NTEGER 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, avg(1)| substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b= /* */a BETWEEN.30 AND 60; GuG|5}CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NU,L); I4'DETACH mai; 3CREATE 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.S2+PRAGMA auto_vacuum=O00; PRAGMA page_size=1024; CREATE TABLE t0(x FLOA0);VACUUM 21kCREATE TABLE t0(z INT UNIQUE); SELECT 1 IN t0; /_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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address OLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) aZ!:9CREATE TABLE t1(a char(1), b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE a IN (1,A) ORDER BY b; 69sPRAGMA encoding=UTF16be; SELECT hex( trim( 'Ϛ')); 8 PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUML b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 QGIDx=x+1; SELECT* FROM t1; F7;/*; /da600000H/*;/* coa@e1,1))8 *UES8);FRO; R6)BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT @1ROM IN (SELECT "a","a" b)a WHERE i0 NOT IN (SELECT "a","a" b); 5<oCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql= time(1 -11); PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; VACUUM ink_;CCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b='000'), t0 WHERE strftime(1,CURRENT_TIME); IFSERT c=' db?ICREATE TABLE t00b AS SELECT 4 AS '', 5 AS '""""""""""""""""""', 6 AS ''; SELECT * FROM 0b; 0>eCREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t0 AFTER UPDATE OF t0 BEGIN Id=MCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES(#ab00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('ABX0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); SELECT DISTINCT a FROM t0t0000; @^@=BPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim( -11,1) YA7CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t1.i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0)); @ACREATE TABLE x(i0 integer primary key, a TEXT NULL); INSERT INTO x (a) VALUES ('00'); CREATE TABLE tempx(i0 integer primary key, a TEXT NULL); INSERT INTO tempx (a) VALUES ('0'); CREATE VIEW t01 AS SELECT 00e0, hex(1)FROM x JOIN tempx tx ON tx.i0=x.i0; CREATE VIEW t010 AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx on tx.i0=x.i0; CREATE VIEW t02 AS SELECT * FROM t01 UNION SELECT * FROM t010; SELECT * FROM t02; XX>FSELECT sqlite_compileoption_used('ENDSQITE_THREADSAFE'); *EYCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES( 'a''b''0z'); INSERT INTO t0 VALUES( 'a''b''0y'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m; SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,?) FROM t0 ORDER BY lower(m); GDCREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS d FROM t44) A000 ON a= upper(1)= total_changes()kC[SELECT quote(likely(x'000000BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB000BBBB000000')); XHXIACREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('AB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000OF0000000000000000000000000000000'); SELECT DISTINCT a FROM t0t0000; KHSELECT group_concat(1,1) NOT IN (10 ,1) NOT IN (10 IN (10,10),1,10)AS0 4GmCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('AB0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000NOTNULL0000000000000000000000000000'); SELECT DISTINCT a FROM t0t0000; JL'DETACH@main; tKmCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT tabC.a, txyZ.x< tb0Th.a, tb0tH.x, * FROM tabc, txyz ORDEbc, txyz, tb0th GROUP BY 9 LIMIT 1; 2JiCREATE TABLE t30a(x); INSERT INTO t30a VALUES(1),(2),(3); CREATE TABLE t300(y); INSERT INTO t300 VALUES(90), (99); SELECT max((SELECT zeroblob(2001-01-011) t300)) FROM t30a; kNN!SELECT * FROM(c000000000 NOT INDEXED NATURAL JOIN c000000000 NOT INDEXED; M'PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(60) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomb~ob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; oo:PyPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR round(1,1)OO#DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE x1(a); INSERT INTO x1 VALUES(1); CREATE TABLE x0(b NOT NULL); CREATE TABLE x3(c, d); INSERT INTO x3 VALUES('0',NULL); INSERT INTO x3 VALUES('b',NULL); INSERT INTO x3 VALUES('c',NULL); SELECT * FROM x1 LEFT JOIN x0 LEFT JOIN x3 ON x3.d = x0.oid ^^-R_CREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( round(1, -13)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); mQ_CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; +T]SELECT printf('%*.*f',5.2,3*000000003); SCREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END;CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2r6; <XCREATE TABLE t1(x, y DEFAULT(datetime('6 ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELEC FROM t1; (WUCREATE 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+1.,14), x+100 FROM t0; SoVcSELECT 1000000%0000000600600001000000%0000000600000001000000%0000000600600001000000%00000006000000010000; @UPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid&200; VACUUM; ,O^#CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE ' @10'; *][SELECT '9223372036854775800x'AND+'1x'; d\MCREATE VIRTUAL TABLE t0 USING fts4( [a],"b "p "a","b"); ([UCREATE TABLE t30a(x); INSERT INTO t30a VALUES( 1=12),(3); CREATE TABLE t300(y); INSERT INTO t300 VALUES(90), (99); SELECT max((SELECT avg(y) FROM t300)) FROM t30a; ZZ9PRAGMA encoding=UTF16be; SELECT hex( trim( 'Ϛ0000')); sYkCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n00b00"MATCH (SELECT "000000") "n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 1) AS "0000"; '\'!aGCREATE TABLE t1(x, y REAL); INSERT INTO t1 VALUES(1,'1.0'); INSERT INTO t1 VALUES(2, '.5'); INSERT INTO t1 VALUES(3, '1.'); INSERT INTO t1 VALUES(4,'1e0'); INSERT INTO t1 VALUES(5,'.03'); INSERT INTO t1 VALUES(6,'1e0'); INSERT INTO t1 VALUES(10,'1.'); INSERT INTO t1 VALUES(12,'.5'); INSERT INTO t1 VALUES(13,'3.'); INSERT INTO t1 VALUES(14,'3e0'); INSERT INTO t1 VALUES(15,'.2'); INSERT INTO t1 VALUES(16,' 20e4'); INSERT INTO t1 VALUES(20,'1 '); INSERT INTO t1 VALUES(22,'5 '); INSERT INTO t1 VALUES(23,'3.'); INSERT INTO t1 VALUES(24,'1.e0'); INSERT INTO t1 VALUES(25, '.5e+3 '); INSERT INTO t1 VALUES(26,'1 '); SELECT x FROM t1 WHERE typeof(y)=='real' ORDER BY y; `PRAGMA encoding=UTF16le; CREATE TABLE tϐRECURSIVE0tϐ06(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); _ECREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,f,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM t4 WHERE g=7; SELERT I c`/cHdCREATE TABLE x(a,b); CREATE VIEW y AS SELECT group_concat(1,1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT total(1)p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; .ccSELECT $::s0 LIKE $::00s0 LIKE?0000000013; b=PRAGMA main.cache_size= 10; PRAGMA tempcache_size =210; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(32001-01-0100), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; <^iACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*T?000'; HhSELECT sqlite_rename_trigger('CREAT0 TRIGGER r0 ON x00 W.EN',NULL); \g=CREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND-b='000'), t0 WHERE strftime(1,1,1,1 AND-b='000') >=0tfmCREATE TABLE t1(x); INSERT INTO t1 VALUES(randomblob(100)); INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT sqlite_version()FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; CREATE INDEX i0 ON t1(x); ieWCREATE TABLE t000(c000 INT0000); CREATE TABLE t002(c000 INT0000); SELECT a,b0.* ,ROM,t000 NATURAL JO .@lCREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT group_concat(1,1) IN (SELECT b FROM t0 ORDER BY b); rkiBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.a = 2001-01-010 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT * FROM t0; INSERT INTO t0 SELECT * FROM t1; UPDATE t0 SET y=y+1 WHERE x=new.rowi2001-01-01000; DELETE FROM t0 WHERE x=new.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); Nj!PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2( [a]a, b, FOREIGN KEY(a, b) REFERENCES t1 ON DELETE CASCADE);REPLACE INTO t1 VALUES(1,2);REPLACE INTO t1 VALUES(1, 2); jioWCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(b); INSERT INTO t000 VALUES('stat0','s0'),('00000','000'),('0r000','m0r00r0'); SELECT likely(1) FROM t000 WHERE a?='stat0' OR b='m0r00r0' ORDER BY +a; n)CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c AND b=? AND c=? AND d=? AND e= likely(1)AND e=B; m)CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, datetime(1,1,1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; AArCCREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, sqlite_compileoption_used(1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; qPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN bINT0000 DEFAULT-'90NOTNU99999999999LL'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e999LL'; ALTER TABLE t1 ADD CLT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM NO; pCREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,b); INSERT INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e02 VALUES(300,100,200);REINDEX t0e01 b =2; ``s=PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(52001-01E0100), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; ^.^LuCREATE TABLE t0(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%%' ESCAPE ''; Nt!PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(600)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x;    %xODROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(12001-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1;ANALYZE ?wSELECT $::s0 LIKE $::00s0 LIKE?0000000004 LIKE?0000000004 qvgCREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT x, y FROM t01 UNION ALL SELECT x, y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM v0 WCO ORDER BY y; bb{-ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem; BEGIN; CREATE TABLE noname.n00000(x); CREATE TABLE inmemi0000(y); z!CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8,CURRENT_TIME b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; pyeBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT *FROM t0; INSERT INTO t0 SELECT * FROM t0; UPDATE t0 SET y=y+1 WHERE x=new.rowid; SELECT 000; DELETE FROM t0 WHERE x=new.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT; `9yCREATE VIRTUAL TABLE t0 USING fts4( [], [a] "a","b"); j~YCREATE TABLE t0(x INTEGER PRIMARY KEY, y); CREATE TABLE t3(a, b); CREATE TRIGGER a0000000 AFTER INSERT ON t0 BEGIN INSERT INTO t3 VALUES(new.x, new.y); END; INSERT INTO t0 VALUES(5000000000, 0);EXPLAIN SELECT last_insert_rowid(); (}UPRAGMA page_size= 512; PRAGMA aut_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT ANT512-4)) ); INSERT)INTO t1 VALUES( randomblob(2 * (500-4)) ); INSERT INTO t1 VALUES( randomblob(110 * (PRAGMA page_size= 512; PRAGMA aS(randomblob(3 @ (5-4)) ); DELETE FROM t1 WHERE row= F; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid = 1; |=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (12001-01-01,A) OR changes() 77\=CREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0.a FROM ((t0 JOIN t2 ON t0.a=t2.b) AS x JOIN t2x ON x.b=t2x.b>-1) as00; ;{BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'000E'; COMMIT; :{SELECT 0x1ADD000D0s0700000;SELECT 0x1ADD000D0s0700000; iWCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('stat0','s0'),( hex(1),'000'),('0r000','m0r00r0'); SELECT a, b, '0' FROM t000 WHERE a=='stat0' OR b='m0r00r0' ORDER BY +a; D6/@D\ =WITH i(x) AS ( VALUES(1) UNION SELECT (x+1)*10 FROM i) SELECT hex(1) x FROM i LIMIT 20; l ]SELECT 1.00000,0<000.06000000000<000.06000000000<000.00<000.06006000000000<000.06000000000<000.000; 00; + ]SELECT printf('%*.*f',5,2 -10*0000003); U/CREATE TABLE t1(a,x a,b); INSERT INTO t1(oid,a,x)VALUES(-9,1,'000000000f000000'); INSERT INTO t1(oiJ}CREATE TABLE t6(x INT0000); INSERT INTO t6 VALUES(1); INSERT INTO t6 VALUES(1<<70); SELECT hex(1)+- ((1<<63)+1) from t6;  CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c,b,c,d,b,c,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; |}CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,e,d,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; FCREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a,ba,ba ON t10 BEGIN UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r0000; END; INSERT INTO t10(a)VALUES('000'); Kd,a,x)VALUES(900,2,'0f00000000000000'); INSERT INTO t1(oid,a,x)VALUES(9223372036854775800,3,'0f0000000000000f'); INSERT INTO t1(oid,a,x)VALUES(7,4,'000000000000000f'); INSERT INTO t1(oid,a,x)VALUES(3,5,'0000000000000003'); INSERT INTO t1(oid,a,x)VALUES(6000000,6,'0000000001000000'); INSERT INTO t1(oid,a,x)VALUES(90000000000,7,'0000030000000000'); INSERT INTO t1(oid,a,x)VALUES(300,8,'0000000000000f00'); INSERT INTO t1(oid,a,x)VALUES(6000005,9,'00000000000f0000'); INSERT INTO t1(oid,a,x)VALUES(200000000000,10,'00000f0000000000'); INSERT INTO t1(oid,a,x)VALUES(-8,11,'0000000f00000000'); INSERT INTO t1(oid,a,x)VALUES(0400000,12,'00000000000f000f'); INSERT INTO t1(oid,a,x)VALUES(40000000000,13,'00000f000000000f'); INSERT INTO t1(oid,a,x)VALUES(67000,14,'00000000000f00f0'); INSERT INTO t1(oid,a,x)VALUES(200,15,'00000000000f00ff'); INSERT INTO t1(oid,a,x)VALUES(304,16,'0000000000004000'); INSERT INTO t1(oid,a,x)VALUES(7000000000000,17,'00000f00000000f0'); INSERT INTO t1(oid,a,x)VALUES(80000,18,'00000000000f0f00'L); INSERT INTO t1(oid,a,x)VALUES(100000000000,19,'0000010000000000'); INSERT INTO t1(oid,a,x)VALUES(0040000000,20,'00000000000f0f0f'); INSERT INTO t1(oid,a,x)VALUES(-30,21,'000f000000000000'); INSERT INTO t1(oid,a,x)VALUES(34359738368,22,'0000000800000000'); INSERT INTO t1(oid,a,x)VALUES(30000,23,'0000000000000f0f'); INSERT INTO t1(oid,a,x)VALUES(8388608,24,'0000000000800000'); INSERT INTO t1(oid,a,x)VALUES(10000000000000,25,'00000f00000000ff'); INSERT INTO t1(oid,a,x)VALUES(20000000000000,26,'0001000000000000'); INSERT INTO t1(oid,a,x)VALUES(3000000000000000,27,'00000f0000000f00'); INSERT INTO t1(oid,a,x) VALUES(72057594037927936,28,'0100000000000000'); INSERT INTO t1(oid,a,x) VALUES(-6,29,'00000f0000000f0f'); INSERT INTO t1(oid,a,x) VALUES(205,30,'00000000000000f0'); INSERT INTO t1(oid,a,x) VALUES(4,31,'0000000000000004'); INSERT INTO t1(oid,a,x) VALUES(-68,32,'00000f0000008000'); INSERT INTO t1(oid,a,x) VALUES(-2,33,'00000f0000000ff0'); INSERT INTO t1(oid,a,x) VALUES(10000000000008,34,'0000800000000000M'); INSERT INTO t1(oid,a,x) VALUES(50000000000,35,'0000008000000000'); INSERT INTO t1(oid,a,x) VALUES(4000000000,36,'0000000100000000'); INSERT INTO t1(oid,a,x) VALUES(-60,37,'00000f0000800000'); INSERT INTO t1(oid,a,x) VALUES(-1,38,'00000f0f'); INSERT INTO t1(oid,a,x) VALUES(3000000000,39,'00000000000f0ff0'); INSERT INTO t1(oid,a,x) VALUES(8400000,40,'0000000010000000'); INSERT INTO t1(oid,a,x) VALUES(2,41,'0000000000000002'); INSERT INTO t1(oid,a,x) VALUES(90000,42,'0000000000200000'); INSERT INTO t1(oid,a,x) VALUES(50000000,43,'000200000000'); INSERT INTO t1(oid,a,x) VALUES(-7,44,'000f800000000000'); INSERT INTO t1(oid,a,x) VALUES(060000000,45,'0080000000000000'); INSERT INTO t1(oid,a,x) VALUES(5000000000,46,'0000000000000fff'); INSERT INTO t1(oid,a,x) VALUES(-20,47,'00000f000000f000'); INSERT INTO t1(oid,a,x) VALUES(60000,48,'00000000000000ff'); INSERT INTO t1(oid,a,x) VALUES(128,49,'0000000000000080'); INSERT INTO t1(oid,a,x) VALUES(32768,50,'0000000000008000'); INSERT INTO t1(oid,a,x) VALUES(2147483648,51,'0000000080000000'); INSERT INTO t1(oid,a,x) VALUES(-3,52,'00000f00000000fd'); INSERT INTO t1(oid,a,x) VALUES(-28,53,'00000f0000000f80'); INSERT INTO t1(oid,a,x) VALUES(-29,54,'00000f0000000f70'); INSERT INTO t1(oid,a,x) VALUES(-9223372036854775808,55,'8000000000000000'); INSERT INTO t1(oid,a,x) VALUES(400000000000,56,'0000040000000000'); INSERT INTO t1(oid,a,x) VALUES(10000000000,57,'0000000000000ff0'); INSERT INTO t1(oid,a,x) VALUES(00800,58,'00000f000000f00f'); INSERT INTO t1(oid,a,x) VALUES(0,59,'0000000000000000'); INSERT INTO t1(oid,a,x) VALUES(1,60,'0000000000000001'); INSERT INTO t1(oid,a,x) VALUES(206,61,'0000000000000100'); INSERT INTO t1(oid,a,x) VALUES(60006,62,'0000000000010000'); INSERT INTO t1(oid,a,x) VALUES(-5000000000,63,'00000f8000000000'); INSERT INTO t1(oid,a,x) VALUES(8,64,'0f80000000000000'); CREATE INDEX t000 ON t1(a); CREATE INDEX t002 ON t1(x); **R )PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT random(),randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; oZ9SELECT.1999999999999999999999999E99999990 EXCEPT SELECT 20 ORDER BY 1 COLLATE s00000; CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64, instr(1,1)b FROM t1; ANALYZE; A8ACREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2);EXPLAIN SELECT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 3; iWPRAGMA cache_spill=OFF; PRAGMA cache_spill; PRAGMA main.cache_spill;EXPLAIN PRAGMA temp.cache_spill; P%SELECT * FROM sqlite_master WHERE quote(1)=-1; SELECT * FROM t0 ORDER BY a; cKSELECT last_insert_rowid()ULL UNION SELECT.1 UNION SELECT 2 UNION SELECT 2 AS 'x' ORDER BY x; PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT 8+2,randomblob(400)FROM t1; IT IN,randomblob(400)FROM t1; INSERT ndomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; vSv;{CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le GROUP BY Tex00e0; SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0O1; 9CREATE TABLE x0(a CHECK( a||b ), b, CHECK( a||b )); INSERT INTO x0 VALUES(1, 'x0'); INSERT INTO x0 VALUES(1, 'y0'); INSERT INTO t0 SELECT * FROM x0; 7uSELECT 10 EXCEPT SELECT 20 ORDER BY+3333333333#3331 1iCREATE TEMPORARY VIEW v0 AS SELECT 'a''b' t0; ;{PRAGMA auto_vacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b);EXPLAIN DROP TABLE t1; PRAGMA integrity_check; DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; fQCREATE TABLE t1(x NTEGER PRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN (A,2,3)%Y/CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, sqlite_source_id()b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; zySELECT * FROM (SELECT name+1 AS one FROM sqlite_master LIMIT 1 OFFSET 1) Wster LIMIT 1 OFFSET 1) WHERamLIKE '000000'; MMocCREATE TABLE t1(x, y DEFAULT(-replace(1,1,1))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y)%Y FROM t1; MCREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a,CURRENT_DATE x FROM t1, t2 ORDER BY 2, 2; l]CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000');REPLACE INTO t0t0000 VALUES('ABX0000000000000000000000000000000000000000000000'); SELECT 00000000000E000000000000000000000000000000000000000 00 SEL NN.aPRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint;EXPLAIN INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROMt1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; ""h#USELECT sqlite_rename_trigger('CREAT0?//................................/"//////////00 WHEN',NULL); B" SELECT $::s0 LIKE $::00s LIKE $::00s0 LIKE $::00 LIKE ?103; D! BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE /* */(SELECT "a","b"t1 WHERE a<10); DRb ICREATE TABLE t1(x); CREATE TABLE t2(y); INSERT INTO t1 VALUES(111); INSERT INTO t1 VALUES(222); INSERT INTO t2 VALUES(300); INSERT INTO t2 VALUES(444); SELECT * FROM t1, t2 WHERE (x=111 AND avg(1)) OR x=222 GROUP BY x, y; C.C&CREATE TABLE t10("c0l.0" [char.3]); CREATE TABLE t11 AS SELECT sqlite_source_id() sql FROM sqlite_master WHERE name = 't10'; c%KWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(?)FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; N$!PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<90; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; sQD+ CREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE+-11 AND b='000'), t0 WHERE c='abc'; =*CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2.1) AS00 FROM t0 GROUP BY zeroblob(1), 2; :){SELECT sqlite_compileoption_used('SQLEFT_THREADSAFE'); a(GCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(b); INSERT INTO t000 VALUES('s','s0'),('00000','000'),('0r000','m0r00r0'); SELECT a, b, '0' FROM t000 WHERE round(1,1) OR b='mr0' ORDER BY +a; 'CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 0)); ).YSELECT fts0000000000r('00000000000'); -CREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT strftime(1,1,1,1) x, y FROM t01 UNION ALL SELECT 1=1 x, y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT * FROM v0 WHERE x='0' OR likely(1)6,qPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a0',b)OR a='0' ORDER BY + -1 y/wDROP TABLE IF EXISTS t0; CREATE TABLE t1(a char(1) PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1,X'0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; Vx`4EWITH i(x) AS ( VALUES( 1-11) UNION SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; f3QWITH i(x) AS ( VALUES(12001-01-01) UNION SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; Z29CREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0.a FROM ((t0 JOIN t2 ON t0.a=t2.a) AS x JOIN t2x ON x.b=t2x).b) as00; i1WCREATE TABLE blob0(k, v BLOB); INSERT INTO blob0 VALUES(1, zeroblob(length(CAST( -10000 AS BLOB)))); :0yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('aϚ0',b)OR a=CURRENT_TIME +x; M5MX85CREATE TABLE t0(a, b); SELECT a FROM (SELECT 00.00e10 AS a FROM t0) WHERE a= [a]=0; U7/PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(1); ROLLBACK; 16iSELECT * FROM t1 NATURAL CROSS OUTER JOIN t0; G5PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT sqlite_version(), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%2; (#;MSELECT zeroblob(10) LIKE '%00'; s:kBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT * FROM t0; INSERT INTO t0 SELECT * FROM t0; UPDATE t0 SET y=y+1 WHERE x=new.rowid;END SELECT 000; DELETE FROM t0 WHERE x=new.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT; ^9ACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E00-'; ==?<PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT total_changes() FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; PWP7@sDROP 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,4, -1.) FROM t1; INNSEH?CREATE TABLE""(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q QROM x AS x1, x AS x2 WHERE x2.a=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, AS y2 WHERE y1.q=y2.q; SELECT * from z; 2>kSELECT '-922337203685477582001-01-0100x'-'1x'; q=gWITH i(x) AS ( VALUES(1) UNION ALL SELECT group_concat(1,1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; EE DCREATE TEMP TABLE t0(a PRIMARY KEY, b, c); CREATE INDEX t000000 ON t0(c COLLATE BINARY);REINDEX INDEX t000002 ON t0(b COLLATE NOCASE); nCaCREATE TABLE t3(a,EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, e DESC, b, c,d DESC, e DESC, b, e DESC a DESC; XB5CREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHE, t0 WHERE c=1 AND b='000'), t0 WHERE strftime(1,1,1,1) c='[A;CREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a, CAST(a AS blob int) FROM t0; K.K_FCCREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE '0'; NE!PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1;EXPLAIN DELETE FROM t1 WHERE rowid%2; hh\I=CREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE b IN (SELECT zeroblob(1)LIKE zeroblob(1) b FROM t0 ORDER BY b); |H}PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT-'90NOTNULL'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x;1; SG-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN zeroblob(5)ELSE 'a''b'END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; Tr T4MmCREATE TABLE t1(x COLLATE NOCASE PRIMARY KEY); CREATE TRIGGER t00 AFTER DELETE ON t1 WHEN EXISTS ( SELECT 1 FROM t0 WHERE o00.x0=$y ) BEGIN INSERT INTO t0 VALUES(o00.x); END; CtLmCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('ABX0000000000000000000000000000000000000000000000'); SELECT 0E000000000600000000000000000000000000000000000000000000000 00 SELjKYCREATE TABLE t1(a char(1),b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%q0%s',a,b,c) FROM t1 ORDER BY rowid; JCREATE TABLE t14(a,b,k); INSERT INTO t14 VALUES(1,6) INTERSECT VALUES( l2,3),(4,5,6) INTERSECT VALUES( lower(1),3,1),( total(1),1,3); [f\R=SELECT typeof(group_concat(x,$)) FROM (SELECT '' AS x UNION ALL SELECT instr(1,1) ''); zQyDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1( "a"UNIQUE,""R PRIMARY KEY ON CONFLICT REPLACE, b);qPgCREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT x, y FROM t01 UNION ALL SELECT x, y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT * FROM v0 WHERE x>'0' ORDER BY y; _OCWITH i(x) AS ( VALUES(1) UNION ALL SELECT 1+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 06 @NCREATE VIRTUAL TABLE t0 USING fts3(c000000, tokenize b000); N=UCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M,4); LTSELECT * FROM c000000000 NOT INDEXED NATURAL c0000 JOIN c000000F00 NOT I_SCPRAGMA cache_size = 5; CREATE TABLE t11(a, b); INSERT INTO t11 VALUES(randomblob(5000),NULL); INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(50<0), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob( [a]), NULL FROM t11; --0 UPDATE t11 SET b0= c0000(a); [lY]DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY ON CONFLICT FAIL, b); CREATE TABLE t0(x INTEGER PRIMARY KEY ON CONFLICT FAIL, y); INSERT INTO t0 VALUES(1,3); INSERT INTO t0 SELECT * FROM t0; S>00000010000>>00000000600060.00>>0000004060.010000>>0000000060.00; zCREATE TABLE c000a00001(a, b); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); CREATE VIEW c000a000v1 AS SELECT avg(1)IN c000a00001 ORDER BY 1 COLLATE u000; SELECT * FROM c000a000v1; yDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN zeroblob(4)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 +~[CREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b int); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; m}_CREATE TABLE t0(x, y); CREATE INDEX i0 ON t0(x, y); CREATE VIEW v0 AS SELECT /* ;*/ * FROM t0; ANALYZE; 6qCREATE TABLE x0(a CHECK( a||b ), b); CREATE TABLE t0(a, b, CHECK( a||b )); INSERT INTO x0 VALUES(1, 'x0'); INSERT INTO x0 VALUES(1, 'y0'); INSERT INTO t0 SELECT * FROM x0;VACUUM Z9CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' || new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes();ANALYZE A. AGCREATE 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 d DESC, c DESC, b, c, a , b, c, a ,C; ESELECT 0x1000000DESC000000; N!PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+96,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; ~hUCREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(8,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT x, zeroblob(2001-01-011) y FROM t0 ORDER BY z; ocCREATE TABLE c000a00001(a, b); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); CREATE VIEW c000a000v1 AS SELECT * FROM c000a00001 ORDER BY 1 COLLATE ""a";1; MCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(2,'000'); INSERT INTO t1 VALUES(1,'0'); INSERT INTO t1 VALUES(3,'000000'); SELECT *, ( SELECT y FROM (SELECT x.b "a","b"y) ) FROM ( SELECT * FROM t1 ) AS x; +]SELECT-printf('%*.*f',542,3.000000003); Q'SELECT typeof(group_concat(x,'')) FROM (SELECT '' AS x UNION ALL SELECT ''); << CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b,c,d,b,c)) WITHOUT ROWID;,e); 000N !PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY( a,bx, y)); CREATE TABLE t2(a, b, FOREIGN KEY(a, b) REFERENCES t1 ON UPDATE CASCADE); INSERT INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(1, 2); h UCREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES(1,2,$3); INSERT INTO t1 VALUES(1,NULL, 3); INSERT INTO t1 VALUES(1,2,$3); INSERT INTO t1 VALUES(1, 2, NULL); INSERT INTO t1 VALUES(4, 5, 6); CREATE UNIQUE INDEX i0 ON t1(b, a, c); r iCREATE TABLE t0(a,b,c,d, PRIMARY KEY(b,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000'); INSERT INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *, '0' FROM t0 ORDER BY c, a; ZmZ#PRAGMA enchding=6; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INE TT0charDEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x1; .aCREATE TABLE t1(x COLLATE NOCASE PRIMARY KEY); CREATE TRIGGER t00 AFTER DELETE ON t1 WHEN EXISTS ( SELECT 1 FROM t0 WHERE o00.x0= y ) BEGIN INSERT INTO t0 VALUES(o00.x); END; CREATE TABLE t0(y REFERENCES t0); INSERT INTO t1 VALUES('0'); INSERT INTO t1 VALUES(''); INSERT INTO t0 VALUES('0');VACUUM ] ?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| length(1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); of|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$  ,(" }xrp̍3ˍ.ʍ)%!~{wrolfdc`][VRPNKJGD?><750*%$# ~|xuzqymxlwkvcg`f\hecߍ_ލ\ݍZ܍XۍTڍPٍM؍I׍F֍BҍAэ?Ѝ8͍5eYdUcRbMaI`F_D^@]<\;[8Z4Y/X.W+lV&U#TSRQPON I HGF{ExDu #naCREATE table t0(a,b); INSERT INTO t0 VALUES('0000','00'); INSERT INTO t0 VALUES('00000','xy0'); CREATE TABLE t2(x,y); INSERT INTO t2 SELECT strftime() a, CASE b WHEN 'xy0' THEN null ELSE b END FROM t0; SELECTCx, y FROM t2 ORDER BY x; iWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x%1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 2001-01-0,10; Y7PRAGMA auto_vacuum = incremental; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(902001-01-0100), zeroblob(5000)); DELETE FROM t1; PRAGMA incremental_vacuum; 00'); INSERT INTO t3 VALUES(0.6, 'l0000', '0000'); INSERT INTO t3 VALUES(0030000000, 300000, '00000'); INSERT INTO t3 VALUES('s', 034000, '000'); INSERT INTO t3 VALUES('p', NULL, '0000'); INSERT INTO t3 VALUES('A00000',0.5, '0000000'); INSERT INTO t3 VALUES('A00000', NULL, '0000'); INSERT INTO t3 VALUES(0.6,0.3, '0000'); INSERT INTO t3 VALUES('v0000000', 't0000', '0000'); INSERT INTO t3 VALUES('u000000', 'r000000000', '00'); INSERT INTO t3 VALUES('a00', 300000, '000'); INSERT INTO t3 VALUES(NULL, 0005000000, '00'); INSERT INTO t3 VALUES(0.1, 034000, 0.4); INSERT INTO t3 VALUES('a00', 3000000000, '000'); INSERT INTO t3 VALUES('N00', 'a00', 1000000000); INSERT INTO t3 VALUES('o0', 'o0000', '00000'); INSERT INTO t3 VALUES(NULL, 't0000000', '000'); INSERT INTO t3 VALUES(0.1, NULL, '00000'); INSERT INTO t3 VALUES('N00',0.5, NULL); INSERT INTO t3 VALUES('s', 0020000000, '00'); INSERT INTO t3 VALUES(3000000000,0.1, '000'); INSERT INTO t3 VALUES(0.2,0.5, 5000000000); INSERT INTO t3 VALUES(0.2, 2600000000, '000000000'); INSERT INTO t3 VALUES('w000', 'h00', '00'); INSERT INTO t3 VALUES('u000000', 0020000000,1000.000006); INSERT INTO t3 VALUES('o0', 'A00000', '000'); INSERT INTO t3 VALUES('o00000000', NULL, '0000'); INSERT INTO t3 VALUES('w0000000', 'i0',1000.000006); INSERT INTO t3 VALUES('i0', 'a00', '00000000'); INSERT INTO t3 VALUES('a0', 't00', '00000000'); INSERT INTO t3 VALUES(0010000000, 0010000000, '0000'); INSERT INTO t3 VALUES(0.10, 'l0000', 1000000000); INSERT INTO t3 VALUES(NULL, 0000300000, '000'); INSERT INTO t3 VALUES(NULL, 's',000000); INSERT INTO t4 VALUES('h', 'f', '0'); INSERT INTO t4 VALUES('s', 'o', NULL); INSERT INTO t4 VALUES('A', 'h', '0'); INSERT INTO t4 VALUES('h', 'p', '0'); INSERT INTO t4 VALUES('h', NULL, '0'); INSERT INTO t4 VALUES('a',0200000000, '0'); INSERT INTO t4 VALUES('t', 'o', '0'); INSERT INTO t4 VALUES('a', 100000, 000000); INSERT INTO t4 VALUES('a', 'i', '0'); INSERT INTO t4 VALUES(3, 2, '0'); INSERT INTO t4 VALUES('i', 'a', '0'); INSERT INTO t4 VALUES('a', 's',300000000.5); INSERT INTO t4 VALUES('f', 0005000000, 000000); INSERT INTO t4 VALUES('s', 'a', '0'); INSERT INTO t4 VALUES(300000, 040000, '0'); INSERT INTO t4 VALUES('p', NULL, 000000); INSERT INTO t4 VALUES('s', 'h', '0'); INSERT INTO t4 VALUES(0.1,0.1, 000000); INSERT INTO t4 VALUES(000030, 'h', '0'); INSERT INTO t4 VALUES(NULL, 'a', 000000); INSERT INTO t4 VALUES('r', NULL, '0'); INSERT INTO t4 VALUES('v',2, '0'); INSERT INTO t4 VALUES(060000, 'p', '0'); INSERT INTO t4 VALUES(6, 'o', '0'); INSERT INTO t4 VALUES('p', 'o', '0'); INSERT INTO t4 VALUES('i', 'o', 000000); INSERT INTO t4 VALUES('o', 'N', '0'); INSERT INTO t4 VALUES(NULL, 'p', '0'); INSERT INTO t4 VALUES('o', 'h', 000000); INSERT INTO t4 VALUES('l', 'h', 0); INSERT INTO t4 VALUES(500000, 'N', '0'); INSERT INTO t4 VALUES('a', 'N', NULL); INSERT INTO t4 VALUES('h', 'o',0); INSERT INTO t4 VALUES(0.1, 'v', 000000); INSERT INTO t4 VALUES('h', 'a', '0'); CREATE TABLE t5(s); INSERT INTO t5 VALUES('0'); CREATE TABLE t6(t); INSERT INTO t6 VALUES(100000); COMMIT; >>ywSAVEPOINT abc; CREATE TABLE t0(a0 b); ROLLBACK; ROLLBACK 55555555555TTO 55555555TTO abc; Cabc; CT; 2iBEGIN; CREATE TABLE t3(a INT0000, b REAL, c TEXT); CREATE TABLE t4(f INT0000, g REAL, h TEXT); INSERT INTO t3 VALUES('l0',NULL,000000); INSERT INTO t3 VALUES('a00','o0',NULL); INSERT INTO t3 VALUES('h000','t0000000',5000000000); INSERT INTO t3 VALUES(NULL,0.2,'000'); INSERT INTO t3 VALUES('s000',040000, NULL); INSERT INTO t3 VALUES('o00000000', 'i0', 000000); INSERT INTO t3 VALUES(0.1, 300000, NULL); INSERT INTO t3 VALUES(0005000000, 'o0', '000'); INSERT INTO t3 VALUES(NULL, 0.2, '000000000'); INSERT INTO t3 VALUES('o000', 't00', 000000); INSERT INTO t3 VALUES(034000,0.1,2000000.003); INSERT INTO t3 VALUES('o', 's000', '000'); INSERT INTO t3 VALUES(NULL, 'l0000', 000000); INSERT INTO t3 VALUES('f000', 't0000', '000000'); INSERT INTO t3 VALUES('f000', 'A00000', '0'); INSERT INTO t3 VALUES('f000', 's00000000', '00000 :1>g:*[SELECT printf('%d0000%d',5.,- avg(1)); S+CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE 'NOTNULL0'; @SELECT 10 EXCEPT SELECT 20 ORDER BY +3333333333,331 COLLCTE T-SELECT CASE WHEN -0.13333333333333333 || 33333333 THEN '0000' ELSE '00000' END; U/PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(6); ROLLBACK; !CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a=D AND b=? AND c=? AND d=? AND b=? AND c=? AND d=? AND e e=?; :{SELECT '1.00e64'/'1.0000e00e64'/'1.0000e+62'; <<ywDROP 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'AND substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '000'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; D PRAGMA encoding=UTF16be; SELECT hex(ltrim(~' ttal(1)0e000')); S%MQ#'CREATE TABLE t1(x, y DEFAULT( OFFSETe(1,1,1))); INSERT INTO t1(x)VALUES(1); p"eCREATE TABLE t0(x,y DEFAULT 4.3, z DEFAULT x'0000'); INSERT INTO t0 DEFAULT VALUES; SELECT * FROM t0;VACUUM T!-PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES(' sqlite_compileoption_used(1)ABX'); SELECT DISTINCT a FROM t0t0006; \ =PRAGMA cache_size = 200; PRAGMA secure_delete= 1; CREATE TABLE t0(x); SELECT * FROM t1; KCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b='000'), t0 WHERE c='abc';ANALYZE )WCREATE TABLE p00000(x PRIMARY KEY); CREATE TABLE c00000(c REFERENCES p00000 ON DELETE RESTRICT); CREATE TABLE c00002(c REFERENCES p00000 ON DELETE NO ACTION);VACUUM zz$ CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+.4,b FROM t1; ANALYZE; ..N%!PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; PsPr*iSELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('[00', '000'); :)yCREATE VIRTUAL TABLE t4 USING fts4(x); INSERT INTO t4(docid, x) VALUES(-100000000000000000, '00'); INSERT INTO t4(docid, x) VALUES(0, '0b'); SELECT rowid FROM t4 WHERE x MATCH '0*'; H(PRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE 13 USING fts3; VAL!'GCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,b,c /* */)); SELECT DISTINCT* FROM t0 WH; SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AN@ c=? AND d=? AND e=?; &CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE 1=1 NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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; KWK{0{CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| glob(1,1)| new.b || '0' |old.b | lower(1)| glob(1,1)| n| changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ]/?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,2,20000); INSERT INTO t5 VALUES(1,2,?,4,5,10000); INSERT INTO t5 VALUES(2,3,4,5,6,20000);REINDEX S.+SELECT 0 AS x, 0 AS y UNION SELECT 2 AS y, sqlite_version() x LIMIT "a","b" 1; S-+SELECT NULL UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY a.bD, PRAGMA encoding=UTF16be; SELECT hex(ltrim(~' total(1)0e000')); _+CWITH i(x) AS ( VALUES(1) UNION ALL SELECT 1+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 03 pYpe5OCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(b); INSERT INTO t000 VALUES('stat0','s0'),('00000','000'),('0r000', quote(1)); SELECT a, b, '0' FROM t000 WHERE a=='stat0' OR b='mr0' ORDER BY +a; 4CREATE TABLE ""("" UNIQUE, x CHAR(100)); CREATE TABLE t2(x);ANALYZE INTO ""("") VALUES(1);REINDEX INTO tLUES(2); SELECT * FROM "", t2; *3[SELECT printf('%0020G%d',50,-10,3000); k2[WITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT time(1 -11) x FROM i LIMIT 50; z1ySELECT NULL "a","b" UNION SELECT "b" UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2 ANNULL UNION SELECT 1 UNI i7WSELECT * FROM c00000000 NOT INDEXED NATURAL JOIN c00000 NOT INDEXED NATURAL JOIN c0000 NOT INDEXED; y6wDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50,-1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; CL<CREATE VIEW v0 AS SELECT t0.x AS00, t0.y AS00 FROM(t0 JOIN t0 USING(a); 8;uCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=A) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND (a=2 AND b=3) AND y Ib=3>:SELECT quote(printf( 'a''b')), quote(printf(NULL,1,2,3)); C9 SELECT c000(b(b),l0(b),m00(b,5),b,100,cR,NOT b,-b,5),b*100,cR 38mSELECT 10 IN (SELECT _rwid FROM sqlite_master); c.cG>CREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS d FROM t44) A000 ON sqlite_compileoption_used(1)N=!PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob( [a]), sqlite_compileoption_get(1)ELETE FROM t1 WHERE rowid%2;REINDEX OO-?_PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELEComblob(500), randomblob(600) FROM tt; gXD5CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, b, c,d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d , e DESC, b, e DESC, b, c, a DESC; ]C?PRAGMA encoding=UTF16le; CREATE TABLE OR0006(a RIMARY KEY); INSERT INTO t0VALUES('aT'UB/SELECT NULL UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 AS 'xOR' ORDER BY x; A CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,c,c /* */)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; U@/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 x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(4); ROLLBACK; 66(GUPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500*4)) ); INSERT INTO t1 VALUES( randomblob(1100* (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid+ 3; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid = 1; TF-CREATE TABLE t1(XT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSERT INTO t1 VALUES(5.4e-08,'5.4e-08'); SELECT typeof(a), a, typeof(b), b FROM t1; BE CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx,CURRENT_TIMESTAMP stat FROM sqlite_stat1 ORDER BY idx;  4U EJCREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(9); INSERT INTO t1 VALUES(9); INSERT INTO t1 VALUES(9); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); ALTER TABLE t1 ADD COLUMN b REAL DEFAULT 4.0; SELECT avg(b), typeof(avg(b)) FROM t1; [I;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg( -1) > avg(y)); HHCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, random()q FROM x AS x1, x AS x2 WHERE likely(q); CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; KCCREATE TABLE t2(a INT, b TEXT, c CLOB, d REAL); CREATE INDEX i0 ON t2(a ASC, b DESC, c ASC); CREATE INDEX i4 ON t2(b DESC, a ASC, d DESC); INSERT INTO t2 VALUES(1,'o00',x'00',1.0); INSERT INTO t2 VALUES(2,'two',x'32',2); INSERT INTO t2 VALUES(3,'0',x'00',3); INSERT INTO t2 VALUES(4,'u',x'00000000',4); INSERT INTO t2 VALUES(5,'f000',x'0000000000',5.0); INSERT INTO t2 VALUES(6,'x',x'00',6); INSERT INTO t2 VALUES(2,'two',x'200',2.1); INSERT INTO t2 VALUES(2,'w',x'00',2.0); INSERT INTO t2 VALUES(2,NULL,NULL,3); SELECT count(*) FROM t2; _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(seder); 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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) md8mGNCREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS d FROM t44) A000 ON unicode(1)=4 OR d IS hex(?))MY3E+ CASE(, HbE(,  LCREATE 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(datet00i0000 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 su00000_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 sub0ecta0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREAssa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) }gPSPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DE REFERENCES"a","b" REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t0 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); I sOkCREATE 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  |eROCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT avg(A)%Y, txyZ.x, tb0Th.a,tH.x, * FROM tabc, txyz, tb0th ORDER BY 9 LIMIT 1; QCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),( 1=1,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check $UR$+V]SELECT printf('%+.*q',5 || .000000003); \U=SELECT '0000' UNION SELECT '000h' ORDER BY+++d++++++++++++++++++++++++++ 1 ASC, 1 ASC; TECREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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* randomblob(1)a,2* random()b,2*c,d FROM t1; 'SSCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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* randomblob(1)a,2* total_changes()b,2*c,d FROM t1; %D%x[uWITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1 UNION ALL SELECT +1 FRO0; ZECREATE TABLE t2(a'N TEXT, c BLOB, d REAL); ON t2(a ASC, b DESC, c ASC); CREATE INDEX i4 ON t2(b DESC, a ASC, d DESC); INSERT INTO t2 VALUES(1,'o00',x'00',1sYkSELECT coalesce(1,1)UNION SELECT "b" UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY x; }XDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(aINTEGER PRIMARY KEY ON CONFLICT REPLACE, b); CREATE TABLE t2(x, y); INSERT INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(1,3); INSERT INTO t1 SELECT * FROM t2; SELECT * FROM t1;VACUUM BW SELECT@CASTob(10ST (blob(100) AT INT000J);0) AV INT000R);  ]CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, length(1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; x\uCREATE TABLE t0a(a,b); CREATE TABLE t0b(x); INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE b= lower(1) GROUP BY a ORDER BY a; //`ADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN randomblob(12001-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; J_PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2(a, b, FOREIGN KEY(a, b) REFERENCES t1 ON UPDATE CASCADE);REPLACE INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(1, 2); ]^?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| glob(1,1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); "5"Qc'CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 /* */JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t1.i0= t0.i0 AND(t0.i0<>500 AND t2.i0=t1.i0)); ;b}SELECT name FROM sqlite_master WHERE name LIKE '000'; GaCREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS d FROM t44) A000 ON a= upper(1)= abs(1)IS NULL; d%BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + sqlite_version() OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; CpC*f[SELECT-quote(11/11111111111111111111); eDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB '?????????????????????o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FRO INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b) INSERT INTO t1 SELECT a+3,4,'; ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; B,BlCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( min(),1)), N3 GROUP BY lower(n00fkQCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE+t1.x IN (A)2,3); LjCREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '0h0' ESCAPE '0'; 4ioSELECT '1.00e64'/'1.0000e+6277777777<777777777'; jhYCREATE TABLE t0(a); INSERT INTO t0 VALUES('0'); PRAGMA full_column_names=on; SELECT rowid, * FROM t0; Pg%CREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE b OR+(SELECT zeroblob(1)LIKE b FROM t0 ORDER BY b); GoPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(0000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid-2; MnCREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a,CURRENT_DATE-x FROM t1, t2 ORDER BY 2, 2; \m=CREATE VIEW x1 AS SELECT 100 AS '', 200 AS '', 300 AS '' ; SELECT * FROM x1; b@rCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(' -100'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,M) AS00 FROM t0 GROUP BY m ORDER BY 1, 2; jqYCREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE UPDATE ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000'); INSERT INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t0000000AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000'); INSERT INTO t0090(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); M ,p]CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0 0000' 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; VF*w[SELECT 'P00' LIKE X'A000'LIKE X'A000'; Cv SELECT 1 "a","b" UNION SELECT 2,3 UNION SELECT 4,5 ORDER BY 1; uCREATE TABLE t00a(a,b); INSERT INTO t00a VALUES(0,0); CREATE TABLE t00b(n); CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN SELECT 0 FROM t00a "a","b"n0000 UNION ALL SELECT 0 FROM t00a WHERE 0>new>x ORDER BY 0 LIMIT 0; END; INSERT INTO t00b VALUES(6); Ct 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 randomblob(900) FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(90 || 0); &sQCREATE TABLE t1(a, b); PRAGMA auto_vacuum=O00; PRAGMA synchronous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA auto_vacuum=O00; PAGMA jo; 66p{eBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0AFTER 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.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT; FzSELECT 10000.,000000000000060000.+0000060000.,000000000000060000. =yCREATE TABLE t0(m HAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M,1); HxPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char(1200,-0 || 1,01),b)OR a='0' ORDER BY +x; i~WBEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10.12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; $}MBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.row)d,1)>|PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,b ),?)OR a='0' ORDER BY +x; -@[-GCREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS d FROM t44) A000 ON unicode(?)=4 OR d IS NULL; `ESELECT NULL LIMIT"a","b" UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY x; aGCREATE TABLE t0 (a I "a","b"NTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0.a FROM ((t0 JOIN t2 ON t0.a=t2.a) AS x JOIN t2x ON x.b=t2 .b) as00; <}PRAGMA foreign_keys = ON; CREATE TABLE t1(a PRIMARY KEY, b); CREATE TABLE t2(c REFERENCES t1 DEFERRABLE INITIALLY DEFERRED, d);REPLACE INTO t1 VALUES(1,2); INSERT INTO t1 VALUES(1,3); yyC CREATE TABLE t15(a INTEGER PRIMARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),(20,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,b) VALUES(5,'000'),(15,'000'),(25,'000'),(35,'000'); UPDATE t15 SET a=printf("0%d",b) WHERE c IS NULL; SELECT a,b,c,'0'FROM t15 ORDER BY a; <}CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT rtrim(?,1)idx, stat FROM sqlite_stat1 ORDER BY idx; fQCREATE VIEW x1 AS SELECT 100 AS '', 200 AS '', 200 AS '', 300 AS '', 300 AS ''; SELECT * FROM x1; ywDROP 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'AND substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '*000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; >ey>KSAVEPOINT s00; SAVEPOINT s00; RELEASE s00; SAVEPOINT s00; RELEASE s00; n aCREATE TEMP TABLE t0001(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??????0?????????TE000'; y wCREATE TABLE t0( a,ba,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); 000000 h UCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q6 r); CREATE TABLE t002(x INTEGEV PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 WHERE t002.z GLOB '0000'; 2 kSELECT sum( strftime(1,1,1,1)AND-9223372036(); T -SELECT sqlite_rename_trigger(' [a]T0 TRIGGER ............r0 ON!x00 WHEN',NULL); +PRAGMA auto_vacuum=O00; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; CREATE TABLE t1(x); INSERT INTO t1 VALUES(zeroblob(81E8*1020)); t; uoCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,c,c,e,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); VACUUM x)7uPRAGMA reelist_count /* */; PRAGMA freelist_count; FCREATE TABLE t10(x INTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON a.x=b.x WHERE (b.x=$ab0 OR b.y=$ab0); tmCREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000');REPLACE INTO t0000(b) VALUES('000GER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES(000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); SELECT * FROM t0000 ORDER BY a; LCREATE TABLE c000A(x); CREATE INDEX i0000000 ON c000A(x COLLATE c0000);  PRAGMA writable_schema = 1; CREATE TABLE CURRENT_TIMEGROUP AS SELECT t00, i0000000, n0t, n0000000000(s00000) AS0000000 FROM s0; 9BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char(12001-01-01)tSt00n0 FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; uoPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT-'00000'; UPDATE t1 SET x=x;1; mAm+CREATE TABLE t4(a TEXT); INSERT INTO t4 VALUES(''); INSERT INTO t4 VALUES('000'); INSERT INTO t4 VALUES('04'); SELECT min(a), max(a) FROM t4; :{SELECT sqlite_compileoption_used('SYLITE_THREADSAFE'); ;{BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'000 '; COMMIT; ##9CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('AB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000OF0000000000000000000000000000000'); SELECT DISTINCT+a FROM t0t0000; APRAGMA encoding=UTF16be; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT trim(1,1) a FROM t0t0006; vqCREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); CREATE INDEX t1a ON t1(a); CREATE INDEX t1b ON t1(b); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','12000'),('t1','t1b','10000'); ANALYZE sqlite_master; SELECT*, min(1,1)'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c; !MG}!Y!7CREATE VIRTUAL TABLE t0 USING fts4( [a],"b"p,"b"p "B", "b"p,"b"p "B", "a","ba","b"); F CREATE TABLE nn(a, b, c, d, e, PRIMARY KEY(c,a,e)); CREATE TABLE nn0(a, b, c, d, e, PRIMARY KEY(c,a,e)) WITHOUT ROWID; INSERT INTO nn VALUES(1,2,3,4,5); INSERT INTO nn0 VALUES(1,2,3,4,5);VACUUM !GCREATE TABLE t0(x TEXT UNIQUE, y TEXT UNIQUE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000') AND x ISNULL N ^ACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE 300 GLOB '*000'; CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab0000000000000000000000000000000000000000000000000000Y00000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('ABX0000000000000000000000000000000000000000000000'); SELECT 00000000000E00000000000000000000000000000000000000000000000000000000000000000000000 00 SEL GSELECT 10000>>0000000060.00; .%+BEGIN; VACUUM; %$MBEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID));EXPLAIN CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 #CREATE TABLE t0a(a,b char(1)); CREATE TABLE t0b(x); INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE b500 AND t2.i0=t1.i0)); 2CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND d=? AND e=?; E1CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE x=99; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON~~~~~~~~2001-01-01~ %0QSELECT printf('0%110.100QUERY0'); "/ICREATE TABLE t3(a TEXT, b REAL, c INT0000); INSERT INTO t3 VALUES(X'000000', '10e0300', 4.5); SELECT typeof(a), avg(1) a, typeof(b), b, typeof(c), c FROM t3; 33Y57CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,c,d,e)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,2,20000); INSERT INTO t5 VALUES(1,2,3,4,5,10000); INSERT INTO t5 VALUES(2,?,4,5,6,20000);REINDEX l4]CREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x "a","b"PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 WHERE t002.z GLOB '0000'; _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(sunder); 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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) db8ICREATE TABLE t13(a PRIMARY KEY CHECK(a =2)) WITHOUT rowid; BEGIN; REPLACE INTO t13 VALUES(1); ^7ACREATE TABLE t1(a TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSERT INTO t1 VALUES(5.4e-08,'5.4e-2001-01-0108'); SELECT typeof(a), a, typeof(b), b FROM t1; 6CREATE 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 TA6)?WCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( length(?)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); Y>7CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT last_insert_rowid()NOT LIKE '%h%' ESCAPE trim(1,1) -1; {={CREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E000'; &<SSELECT CAST(zeroblob(1000) AS tt); ; PRAGMA encoding=UTF16le; CREATE TABLE tϐ0tϐLUES('ab0'); nocasEACHIMARYKEY); I5SERT INTO t0t VALUES('ab0'); :'DETACH main; (9UCREATE TABLE t30a(x); INSERT INTO t30a VALUES(1),(2),(3); CREATE TABLE t300(y); INSERT INTO t300 VALUES(90), (99); SELECT max((SELECT 'a''b' FROM t300)) FROM t30a; #AMREINDEX nocase; REINDEX nocase; @PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT-'90NOTNULL'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=b+1; SELECT* FROM t1; 0'); INSERT INTO t1(oid,a,x)VALUES(7000000000000,17,'00000f00000000f0'); INSERT INTO t1(oid,a,x)VALUES(80000,18,'00000000000f0f00'); INSERT INTO t1(oid,a,x)VALUES(100000000000,19,'0000010000000000'); INSERT INTO t1(oid,a,x)VALUES(0040000000,20,'00000000000f0f0f'); INSERT INTO t1(oid,a,x)VALUES(-20,21,'000f000000000000'); INSERT INTO t1(oid,a,x)VALUES(34359738368,22,'0000000800000000'); INSERT INTO t1(oid,a,x)VALUES(30000,23,'0000000000000f0f'); INSERT INTO t1(oid,a,x)VALUES(8388608,24,'0000000000800000'); INSERT INTO t1(oid,a,x)VALUES(10000000000000,25,'00000f00000000ff'); INSERT INTO t1(oid,a,x)VALUES(20000000000000,26,'0001000000000000'); INSERT INTO t1(oid,a,x)VALUES(3000000000000000,27,'00000f0000000f00'); INSERT INTO t1(oid,a,x) VALUES(72057594037927936,28,'0100000000000000'); INSERT INTO t1(oid,a,x) VALUES(-6,29,'00000f0000000f0f'); INSERT INTO t1(oid,a,x) VALUES(205,30,'00000000000000f0'); INSERT INTO t1(oid,a,x) VALUES(4,31,'0000000000000004'); INSERT INTO t1(oid,a,x) VALUES(-68,32,'00000f0000008000'); INSERT INTO t1(oid,a,x) VALUES(-2,33,'00000f0000000ff0'); INSERT INTO t1(oid,a,x) VALUES(10000000000008,34,'0000800000000000'); INSERT INTO t1(oid,a,x) VALUES(50000000000,35,'0000008000000000'); INSERT INTO t1(oid,a,x) VALUES(4000000000,36,'0000000100000000'); INSERT INTO t1(oid,a,x) VALUES(-60,37,'00000f0000800000'); INSERT INTO t1(oid,a,x) VALUES(-1,38,'00000f0f'); INSERT INTO t1(oid,a,x) VALUES(3000000000,39,'00000000000f0ff0'); INSERT INTO t1(oid,a,x) VALUES(8400000,40,'0000000010000000'); INSERT INTO t1(oid,a,x) VALUES(2,41,'0000000000000002'); INSERT INTO t1(oid,a,x) VALUES(90000,42,'0000000000200000'); INSERT INTO t1(oid,a,x) VALUES(50000000,43,'000200000000'); INSERT INTO t1(oid,a,x) VALUES(-7,44,'000f800000000000'); INSERT INTO t1(oid,a,x) VALUES(060000000,45,'0080000000000000'); INSERT INTO t1(oid,a,x) VALUES(5000000000,46,'0000000000000fff'); INSERT INTO t1(oid,a,x) VALUES(-20,47,'00000f000000f000'); INSERT INTO t1(oid,a,x) VALUES(60000,48,'00000000000000ff'); INSERT INTO t1(oid,a,x) VALUES(128,49,'0000000000000080'); INSERT INTO t1(oid,a,x) VALUES(32768,50,'0000000000008000'); INSERT INTO t1(oid,a,x) VALUES(2147483648,51,'0000000080000000'); INSERT INTO t1(oid,a,x) VALUES(-3,52,'00000f00000000fd'); INSERT INTO t1(oid,a,x) VALUES(-28,53,'00000f0000000f80'); INSERT INTO t1(oid,a,x) VALUES(-29,54,'00000f0000000f70'); INSERT INTO t1(oid,a,x) VALUES(-9223372036854775808,55,'8000000000000000'); INSERT INTO t1(oid,a,x) VALUES(400000000000,56,'0000040000000000'); INSERT INTO t1(oid,a,x) VALUES(10000000000,57,'0000000000000ff0'); INSERT INTO t1(oid,a,x) VALUES(00800,58,'00000f000000f00f'); INSERT INTO t1(oid,a,x) VALUES(0,59,'0000000000000000'); INSERT INTO t1(oid,a,x) VALUES(1,60,'0000000000000001'); INSERT INTO t1(oid,a,x) VALUES(206,61,'0000000000000100'); INSERT INTO t1(oid,a,x) VALUES(60006,62,'0000000000010000'); INSERT INTO t1(oid,a,x) VALUES(-5000000000,63,'00000f8000000000'); INSERT INTO t1(oid,a,x) VALUES(8,64,'0f80000000000000'); CREATE INDEX t000 ON t1(a); CREATE INDEX t002 ON t1(x); QB'CREATE TABLE t1(a,x); INSERT INTO t1(oid,a,x)VALUES(-9,1,'000000000f000000'); INSERT INTO t1(oid,a,x)VALUES(900,2,'0f00000000000000'); INSERT INTO t1(oid,a,x)VALUES(9223372036854775800,3,'0f0000000000000f'); INSERT INTO t1(oid,a,x)VALUES(7,4,'000000000000000f'); INSERT INTO t1(oid,a,x)VALUES(3,5,'0000000000000003'); INSERT INTO t1(oid,a,x)VALUES(6000000,6,'0000000001000000'); INSERT INTO t1(oid,a,x)VALUES(90000000000,7,'0000030000000000'); INSERT INTO t1(oid,a,x)VALUES(300,8,'0000000000000f00'); INSERT INTO t1(oid,a,x)VALUES(6000005,9,'00000000000f0000'); INSERT INTO t1(oid,a,x)VALUES(200000000000,10,'00000f0000000000'); INSERT INTO t1(oid,a,x)VALUES(-8,11,'0000000f00000000'); INSERT INTO t1(oid,a,x)VALUES(0400000,12,'00000000000f000f'); INSERT INTO t1(oid,a,x)VALUES(40000000000,13,'00000f000000000f'); INSERT INTO t1(oid,a,x)VALUES(67000,14,'00000000000f00f0'); INSERT INTO t1(oid,a,x)VALUES(200,15,'00000000000f00ff'); INSERT INTO t1(oid,a,x)VALUES(304,16,'000000000000400 bpbvFqPRAGMA encoding=UTF16le; CREATE TABLE t0tOR6(VIEWa COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); = NULL OR b=3;E; S >M'ATTACH''AS noname; ATTACH':memory:' AS inmem; BEGIN; CREATE TABLE noname.n00000(x); CREATE TABLE inmem.i0000(y); CREATE TABLE TEMP.m000(z)A |L}CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(1, '000'); INSERT INTO t1 VALUES( ?12, randomblob($00000000)); xKuPRAGMA foreign_keys = 1; CREATE TABLE t1( INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON UPDATE SET NULL); INSERT INTO t1 SELECT(13); INSERT INTO t0 VALUES(13); INCJ CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le GROUP BY+Tex00e0; SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0 GROUP BY 1; EPCREATE TABLE t1(a, b, PRIMARY KEY(a,b));REPLACE INTO t1 VALUES(1,1),( 1=11,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y));REPLACE INTO t2 VALUES(3,3),(4,4); SELECT a, x FROM t1, t2 ORDER BY 1, 2; 4OmPRAGMA auto_vacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check+ DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; N-PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT ' replace(1,1,1)00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1;  gTSCREATE TABLE x(a,b); CREATE VIEW y AS SELECT+++++++++++++++++++++++++++++++ x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q-y2.q; SELECT * from z; *S[CREATE TABLE 13(a DEFAULT (a!=2)) W; BGRPRAGMA page_size= 1024; PRAGMA auto_vacuum = 2; CREATE TABLE t0(x); CREATE TABLE t4(x); CREATE TABLE t5(x); INSERT INTO t0 VALUES(randomblob(1000)); CREATE TABLE t7(x); CREATE TABLE t8(x);VACUUM %QOCREATE TABLE tbl (a, b, c, d, PRIMARY KEY(a,b,c,d)) WITHOUT rowid; CREATE TABLE lo0 (a); INSERT INTO lo0 VALUES(0); INSERT INTO tbl VALUES(0,0, 0, 0); INSERT INTO tbl VALUES (1, 0, 0, 0); CREATE TRIGGER t000000000000000000 BEFORE UPDATE OF c, d ON tbl BEGIN UPDATE l00 SET a0= a + 0; END; b<5XqSELECT-printf('%*.*f',5, -11-01-012,3.000000003); #WMPRAGMA temp_store_directory=''; VCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,d,b,c,d,e,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; U%BEGIN; CREATE TABLE Re00T000e(T00000INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char( )tSt00n0 FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; 2RZ)PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; JYPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT length(1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; -\=PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(52001-01-0100), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; O[#PRAGMA auto_vacuum = incremental; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(1000), zeroblob(5000)); DELETE FROM t1; PRAGMA incremental_vacuum; k$k'_UCREATE TABLE t1(x); SELECT 1 IN t1; ^CREATE TEMP TABLE t0(a PRIMARY KEY, b, c); CREATE INDEX sqlite0 ON t0(c COLLATE BINARY); CREATE INDEX t000002 ON t0(b COLLATE NOCASE); X]5CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%' ESCAPE ''; SjS2ckSELECT $::s0 LIKE $::00s0 LIKE randomblob(1); 'bUATTACH null AS ndll;ANALYZE '' .S ''4amCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX '' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sile] VALUES(1, 2, 3`)PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 30; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; ThTe%BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PR,MARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; d-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN zeroblob(0)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; ahGCREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0. "a","b"a FROM ((t0 JOIN t2 ON t0.a=t2.a) AS x JOIN t2x ON x.b=t2 .b) as00; g-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN zeroblob(A)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; kf[CREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(0,1,10),(4,8,10),(1,1,100); CREATE INDEX t1a ON t1(a); CREATE INDEX t1b ON t1(b); ANALYZE; DELidx FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','12000'),('t1','t1b','10000'); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEE 3 AND 8 ORDER BY c; ZZ!lGCREATE TABLE t0(x TEXT UNIQUE, y TEXT UNIQUE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000') AND y ISNULL N FkDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY ON CONFLICT IGNORE, b); CREATE TABLE 2(x, y); INSERT INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(1,3); I; SELECd OM t hf1QCREATE TABLE t0(a, b); CREATE INDEX i0 ON t0(a); CREATE INDEX i2 ON t0(a,b); CREATE INDEX i3 ON t0(b,b); INSERT INTO t0 VALUES(randomblob(20),randomblob(20)); INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0; INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0; INSERT INTO t0 SELECT randomblob(20), randomblob(25) FROM t0; ANALYZE; 0-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN zeroblob(4)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; aa^4?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000  L3CREATE TABLE t00b AS SELECT "a"'"b"COLLGTE'',a"'"b"COLLGTE'', 6''a"'"; %2OCREATE TABLE t0e03(a INTEGER PRIMARY KEY, b, UNIQUE(a,b)) WITHOUT rowid; INSERT INTO t0e03 VALUES(100,200); CREATE TABLE t0e00(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e00 VALUES(300,100,200); UPDATE t0e03 set b = 200 where a = 100; SELECT* FROM t0e03, t0e00;VACUUM int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 i.t null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 \\?6CREATE 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 b, c, d,e DESC, b, c, a,b,"b" ]5?PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT sqlite_compileoption_used(1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; g7SCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT tabC.a, txyZ.x, tb0Th.a, tb0tH.x, 2 FROM tabc, txyz, tb0th GROUP BY 1 LIMIT 1; dMdT;-CREATE TABLE t0(x INTEGER PRIMARY KEY AUTOINCREMENT, y); DROP TABLE t0; VACUUM; Q:'CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,a,b,b,d,a,b,c)) WITHOUT ROWID+ ;9}SELECT sqlite_rename_parent( " min(1,1)a",'000','000'); /8cCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a char(1),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(y=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; !ate_l0000e0_inde0 ON messa0es(date_last_0ie0ed); CREATE INDEX d0t000000000000000 ON messa0es(date_created); CREATE INDEX m000a0e000100000i0000i0000_0n000 ON messa0es(messa0e_id,mailbo0); CREATE INDEX s000e_0ocument_0d_inde0 ON messa0es(documento00000000INDEX m000a0e0r0000000e0automated_con0ersation); ON messa0es(read); CREATE INDEX m000000000000000i0000 ON messa0es(fla00ed); CREATE INDEX m0000000000000000n000 ON messa0es(mailbo0, date_recei0ed); CREE INDEX me00a0e0r0000e00000000020000 ON messa0es(remote_mailbo0, remote_id); CREAME INDEX m0s0a00000000i000 messa0es(t0pe); CREATad); CREATE INDEX m00000E INDEX m00000e00o00000a00000000000000s0t0o00p0000I00_0n000 ON messa0es(con0ersationdd, con0ersation_posiion); CREATE INDEX m00000000000 ON messa0es(fu000_ancestor); CREATE INDEX mNTEGER PRIMARY KEY, add0000 ON messa0es(sub0ect,fu000_ancestor); CREATE INDEX m000a0e0000000000000ct00u000000dnew00e00000000000ENT_DATEnder INT0000r, sub0ect, automated_con0ersation); CREATE INDEX m0000000000000000000 ON messa0es(sender); CRECOLLATEEX m0s00s0 ON messa0es(root_status); CREATE TABLEsub0ects (W00 INTEGER PRIMARY KEY, sub0ect COLLATE RTRIM, normali0ed_sub0ect COLLATE RTRIM); CREATE INDEX s00000000000000000000 ON sub0ects(sub0ect); CREATE INDEX su00000_0o000000000000000000 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 3Y, u00 UNIQUE,a0000000 INT0000 DEFAULT 0 u00000000000 INT0000 00000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u0000000000000000000d000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(sourKe); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labessa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) wwy<wCREATE TABLE messa0es(W00 INTEGER PRIMARY KEY AUTOINCREMENT, messa0e_id, document_if BLOB, i00, remote_idCURRENT_DATEnder INT0000, sub0ect0000000, sub0ect INT0000, d00000000 INT0000, date_recei0ed INT0000, date_created INT0000, date_last_0ie0ed INT0000, mailbo0 INT0000, remote_mailbo0 PNT0000, 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 NUNT0000 DEFAULT 0, root_status INT000 DEFAULT -0, con0ersation_position INT0000 DEFAULEX t00i0000 ON messa0es(date_recei0ed); CREATE INDEX d $_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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX s_ ON labels(mailbo0_id) d(?UCREATE TABLE t30a(x); INSERT INTO t30a VALUES( 1=12),(3); CREATE TABLE t300(y); INSERT INTO t30A VALUES(90), (99); SELECT max((SELECT zeroblob(1) t300)) FROM t30a; >;CREATE TABLE t3(a TEXT, b REAL, c INT0000); INSERT INTO t3 VALUES(X'000000', '1.03a00', 4.5); SELECT total(1), a, typeof(b), b, typeof(c), c FROM t3; =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# PB%CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE 'a''0'; [A;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (907,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(oid) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); Q@'CREATE TABLE t15(a INTEGER PR,MARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),( 2001-01-011=120,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,b) VALUES(5,'000'),(15,'000'),(25,'000'),(35,'000'); UPDATE t15 SET c=printf("0%d",a) WHERE c IS NULL; SELECT a,b,c,'0'FROM t15 ORDER BY a; ))MECREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a,CURRENT_TIME x FROM t1, t2 ORDER BY 2, 2; ;D{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 b, c, b, b, c, d, b, c,E; CC CREATE TABLE t15(a,INTEGER PRIMARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),(20,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,b) VALUES(5,'000'),(15,'000'),(25,'000'),(35,'000'); UPDATE t15 SET c=printf("0%d",a) WHERE c IS NULL; SELECT a,b,c,'0'FROM t15 ORDER BY a; ,T,RH)CREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16,y+16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT ~+64, y+64 FROM t2; SELECT count(*),sum(x), sum(y) FROM t2; NG!CREATE TEMP TABLE t0(a INTEGER PRIMARY KEY AUTOINCREMENT, b); INSERT INTO t0 VALUES(null -1,'00'); INSERT INTO t0 VALUES(null,'00'); DELETE FROM t0; INSERT INTO t0 VALUES(null,'000'); SELECT * FROM t0; (FUPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE 1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500-4)) ); INSERT INTO t1 VALUES( randomblob(110 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid= 3; PRAGMA incremental_vacuum = 2; DELETE FROM t1 WHERE rowid = 1; K!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1,1,A,1,b,c,d,e)); (JUPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500*4)) ); INSERT INTO t1 VALUES( randomblob(110 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(3 * (5-4)) ); DELETE FROM t1 WHERE rowid+ 3; PRAGMA incremental_vacuum =22; DELETE FROM t1 WHERE rowid = 1; TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30)? not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000@ text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TAABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 =zH=[CREATE TABLE c000a00001(a, b); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); CREATE VIEW c000a000v1 AS SELECT group_concat(1,1) ORDER BY 1 COLLATE u000; SELECT * FROM c000a000v1; /ZeALTER TABLE SqLiTe_master RENAME TO m00000; Y CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT 0e0, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+22,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; 5]#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE-d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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;VACUUM G\PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob( [a]), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%2; ?T`-CREATE TABLE abc(a, b, c); CREATE TABLE abc0000000(a, b, c); CREATE TEMP TRIGGER BEFORE INSERT ON abc BEGIN INSERT INTO abc0000000( `a`, c) VALUES(new.a, new.b, new.c); END; INSERT INTO abc VALUES(0, 0, 3); SS_+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' || randomblob(1)|| changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); =^CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR "a","b",$2; ; O;d{CREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(b,b); INSERT INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e02 VALUES(300,100,200); UPDATE t0e01 set b = 200 where a = 100; SELECT* FROM t0e01, t0e02; 7csCREATE TABLE t3(a TEXT, b REAL, c INT0000); INSERT INTO t3 VALUES(X'000000', '1.03a00', 4.5); SELECT typeof(a), avg(1) a, typeof(b), b, typeof(c), c, b, typeof(c), c FRO FROM t3; .bcSAVEPOINT s00; SAVEPOINT s02; RELEASE s00; AaCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab00000000000000 quote(1)000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('AB000000000000000000000000000000000000000000000000000000000000000000000000000000000000L0000000000000000000000000000000'); SELECT DISTINCT a FROM t0t0000; d#XtjmPRAGMA encoding=UTF16be; CREATE TABLE t006(VIEWa COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); >iSELECT '96854775800x'AND+'1x223372036854775800x'AND+'1x'; GhCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M,2001-01-011); >gSELECT 10 EXCEPT SELECT ltrim(2000021-011, random()-11)YfCREATE TABLE t14(a,b,c); INSERT INTO t14 VALUES(1,2,3),(4,5,6); SELECT * FROM t14 INTERSECT VALUES(3,2, a,b2,3,1),(1,2,3),(2,1,3); ePRAGMA cache_size=10; CREATE TABLE t1(x,y); INSERT INTO t1 VALUES(1,randomblob(100000)); INSERT INTO t1 VALUES(2,randomblob(50000)); INSERT INTO t1 VALUES(3,randomblob(20000)); INSERT INTO t1 VALUES(4,randomblob(10000)); SELECT x< length(y) FROM t1 ORDER BY rowid; O6O)nWCREATE TABLE t3(a TEXT, b REAL, c INT0000); INSERT INTO t3 VALUES(X'000000', '1.03a00', 4.5); SELECT typeof(a)& typeof(a)& a, a, typeof(b), b, typeof(c), c FROM t3; 6mqPRAGMA ing=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char(1),b)OR a='0' ORDER BY +x; tlmCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,ba,b,ce)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND!d=? AND e=?; Ok#CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO 'a' VALUES(old.b || '0000' || new.b || '0' ||nges() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); \L8ruPRAGMA auto_vacuum=1; CREATE TABLE t1( a,ba, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; GqCREATE TABLE t1(a,b); SELECT a FROM t1 WHERE max(b)< avg(1)P BY a; Bp CREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a ON t10 BEGIN UPDATE t00 SET u0= u00000000+1 WHERE r00000= o00.r0000; END; INSERT INTO t10(a)VALUES('000'); oECREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid;EXPLAIN CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('s','s0'),( hex(1),'000'),( hex(1),'m00'); HtCREATE TEMP TABLE t0(a PRIMARY KEY, b, c);REINDEX INDEX 000 ON t0(c COLLATE BINARY); CREATE INDEX t000002 ON t0(b COLLATE NOCASE); 4smPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(?)FROM abc; INSERT INTO abc SELECT a, b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; h#h7xsCREATE 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, total(1)b, C; wECREATE 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);EXPLAIN ANALYZE; DELETE FROM sql1; ITv-PRAGMA foreign_keys= ON; CREATE TABLE p(i PRIMARY KEY); CREATE TABLE c(j REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c SELECT('0e00o'); UPDATE p SET i= '000'; SELECT * FROM c; ]u?CREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| glob(1,1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); [+[LzCREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%'; SELECT 2, x FROM t0 WHERE x LIKE '%' ESCAPE ''; Qy'CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t1.i0= t0.i0 OR (t0.i0<=500 AND t0.i0=t1.i0)); yy{ DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1,X'0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,0) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,62001-01-01,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; >W3SELECT sqlite_rename_trigger('CR TIGGER`r0 ON x00 WHEN',NULL); @CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*),REPLACE(m,2, -11) AS00 FROM t0 GROUP BY CURRENT_TIME,oid ~3CREATE TABLE t5(a TEXT PRIMARY KEY, b V00CHARCURRENT_TIMESTAMP(50)) WITHOUT ROWID; INSERT INTO t5 VALUES('00000','0000'); SELECT count(*) FROM t5; h}UCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTCURRENT_TIMESTAMP q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 WHERE t002.z GLOB '0000'; t|mCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,b,c,d,e,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=?A >6x>CREATE TABLE t1(x, y DEFAULT(datetime(' -'))); INSERT INTO t1(x)VALUES(1); ; INSERT INTO t1(x)VALUES(1);SELECT x, leng`h(ROM t1; BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary kOECREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,c)) WITHOUT ROWID+ skCREATE TABLE blob0(k, v BLOB); INSERT INTO blob0 VALUES(1, zeroblob(length(CAST( hex(12001-01-01) AS CLOB)))); HSELECT sqlite_rename_trigger(' [a] [a]RIGGER r0 ON x00 WHEN',NULL); 5qSELECT-printf('%*.*f',5,20,1-01-012102000000003); C CREATE TABLE t15(a NTEGER PRIMARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),(20,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,b) VALUES(5,'000'),(15,'000'),(25,'000'),(35,'000'); UPDATE t15 SET c=printf("0%d",a) WHERE c IS NULL; SELECT a,b,c,'0'FROM t15 ORDER BY a,bPey (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, PQ000000 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) noRt 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, LS00000000000000 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 notT 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, S000006 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000U008 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 ( SSUEID, OB0ECTID)); CREAt not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U0000000000000xt(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 5t mCREATE TABLE t0b(x); INSERT INTO t0b(rowid, x) VALUES(1,10),(2,1 -11); UPDATE t0b SET rowid=rowid+1 WHERE x=10; GPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000),$randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%2; Dp eCREATE TABLE t1(x, y DEFAULT(datetime('0es') -1)); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); 8 uPRAGMA max_page_count = 1000000; CREATE TABLE abc( [a]a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||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, count(1)FROM abc; INSERT INTO abc SELECT a, b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; of|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ ԑӑ ґ ёБϐΐ{͐w̐tɐrȐpǐmƐk+&" ~}zxzuyqxpwmviuhtescr`n_m\lVkRjNiMhLgIfDe>d;c5b2a,`(_%^"]\[ZYW V NML{KzJxItHrGnFjEdD`C]B[1Xgfa^ZXVPNMIC@<83-0V/R.N*M)K(H'E&B%?"<;76 4 1i / ,(" }xr iO#SELECT 1000000%000000060000100000070000%00000006000010000007000000060000; V 1PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT sqlite_compileoption_get(1) x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B)  +CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, julianday(1,1,1)b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; J~J1iPRAGMA synchronous=2; PRAGMA synchronous (1); !CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 3, 2,a, '000' FROM; C BEGIN; CREATE TABLE n00be0s(a DEFAULT -1, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT (1)L FROM n00be0s; T; %OCREATE TABLE t2(a INT, b TEXT, c BLOB, d REAL); CREATE INDEX i0 ON t2(a ASC, b DESC, c ASC); CREATE INDEX i4 ON t2(b DESC, a ASC, d DESC); INSERT INTO t2 VALUES(1,'o00',x'00',1.0); INSERT INTO t2 VALUES(2,'two',x'32',2); INSERT INTO t2 VALUES(3,'0',x'00',3); INSERT INTO t2 VALUES(4,'u',x'00000000',4); INSERT INTO t2 VALUES(5,'f000',x'0000000000',5.0); INSERT INTO t2 VALUES(6,'x',x'00',6); INSERT INTO t2 VALUES(2,'two',x'3200',2.1); INSERT INTO t2 VALUES(2,'w',x'00',2.0); INSERT INTO t2 VALUES(2,NULL,NULL,3); SELECT count(*) FROM t2;VACUUM 557sCREATE TABLE t0(a INT PRIMARY KEY, b, c, UNIQUE(b, c)) WITHOUT rowid; CREATE TABLE t2(e REFERENCES t0, f); CREATE TABLE t3(g, h, i, FOREIGN KEY (h, i) REFERENCES t0(b, c));VACUUM PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'999'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; B CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 OR (t0.i0=t1.i0)); =CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date($1=11) stat FROM sqlite_stat1 ORDER BY 002; K 6*YCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( round(1,9)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); PRAGMA encoding=UTF16le; CREATE TABLE tϐ0tϐRIGHT06(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); D PRAGMA incremental_vacuum("+3");PRAGMA incremental_vacuum("+3") >PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=MATCH( char( a,b ),b)OR a='0' ORDER BY +x; 1gCREATE TABLE t0(a PRIMVRY KEY, b REFERENaES t0); CREATE TABLE t2(a PRIMARY KEY, c REFEt0);VACUUM; CREATE TABLE t3(a REFERENCES t0, b REFERENCES t2, REFERENCES t1);VACUUM 00HCREATE 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+x1.a=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; CREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END;CREATE TRIGGER t0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2r6; RRH"CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE likely(0); CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; t!mWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ strftime(1,1,1,1) -11 FROM i GROUP BY 1) SELECT x FROM i LIMIT 1002w sCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b,c,d,e) 00 bICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%q0%s',a,b,c) FROM t1 ORDER BY 00001; CREATE TABLE c000a00001(a, b); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); CREATE VIEW c000a000v1 AS SELECT * FROM c000a00001 ORDER BY 1 COLLATE "a"; SELECT * FROM c000a000v1; i%WWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 2001-01-0,30; X$5CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, C, b, c,d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=+2 days BY d DESC,d , e DESC, b, e DESC, b, c, a DESC; ##KCREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t10d ON t0(d); ANALYZE sqlite_master; INSERT INTO sqlite_stat1 VALUES('t1','t1b','1C000 500'); INSERT INTO sqlite_stat1 VALUES('t0','t0d','10000 500'); ANALYZE sqlite_master; EXPLAIN QUERY PLAN SELECT * FROM t1, t0 WHERE d=b; j=:({PRAGMA encoding=UTF16be; SELECT hex(ltrim(x'De0000')); *'[SELECT printf('%n0000%d',50,-10,3000); &)PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =002; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; ^1-,_BEGIN; CREATE TABLE t1(a, b); CREATE TABLE t2(x, y); INSERT INTO t2 VALUES(1,2); SAVEPOINT o; INSERT INTO t2 VALUES(3,4); SAVEPOINT t0o; DROP TABLE t1; ROLLBACK TO t0o; _+CSELECT sqlite_rename_trigger('CR@T0 TR@T0 TRIGG.R r0 ON x20bWIGG.R r0 ON x?b WHEN',NUlL);**[SELECT printf('%0#X%0#X',50,-12,3000);ԃ)ADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN randomblob(52001-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; `&E2SELECT 0x1ABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBDD000DESC000000; 1CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a,b,c,d,a,b,c)) WUT R); 000000 (0UCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( quote(1)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); 2/kSELECT '1.0e64'/'1.0000e-020e64'/'1.0000e-62'; *.[SAVEPOINT ``; CREA4E TABLBACK TO [a]; C:-yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('e0',b)OR a='0' ORDER BY +x; /+/x5uCREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t1b ON t1(b); CREATE INDEX t0d ON t0(d); ANALYZE sqlite_master; INSERT INTO sqlite_stat1 VALUES('t1','t1b','10000'); INSERT INTO sqlite_stat1 VALUES('t0','t0d','10500'); REINDEX't1b',=4CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m, -1) AS00 FROM t0 GROUP BY m ORDER BY 2, 2; 3%BEGIN; CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char(1)tSt00n0 FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; 33n;aCREATE TABLE t0(a, CHECK (a COLLATE m00000000 IN ('000'< '000', '00000'))); INSERT INTO t0 VALUES('000'); \:=CREATE VIRTUAL TABLE t0 USING fts4(prefix=2007777777777777777777(1,1,1) min(1,1)-01""); |9}CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' IN new.b || '0' ||nges() ); END; C 8CREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t1b ON t1(b); CREATE INDEX t0i ON t0(d); ANALYZE sqlite_master; INSERT INTO sqlite_stat1 VALUES('t1','1b','10000 500'); INSERT INTO sqlite_stat1 VALUES('t0','t0d','10000 500'); ANALYZE sqlite_master; EX 7CREATE TABLE t0b(x); INSERT INTO t0b(rowid, x) VALUES(20000001012001-01-011,10),(2,11); UPDATE t0b SET rowid=rowid&1 WHERE x=10; `6ESELECT '.00e64'/'1.0000e+'/'1.0000e+'/'1.00'/'1.0000e+'/'1.0000e+'/'1.00001.0000e+P2';62'; e  >CREATE TABLE t0(a real, b text); INSERT INTO t0 VALUES(100,'00'); INSERT INTO t0 VALUES(100/0,'02'); SELECT * FROM t0 ORDER BY a, b; U=/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 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(4); ROLLBACK; <3DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN randomblob(1)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote( @1x) FROM t2 ORDER BY 1; /o/GDCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE - -111 AND b='000'), t0 WHERE c='abc'; %COCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c AND b=? AND? AND c AND b=? AND c=? AND d=? AND e=? AND d=? AND e=B; HBCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT total(1)p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; avg(y)); p?ePRAGMA encoding=UTF16be; CREATE TABLE t0t06(a߼LATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); n|nI'CREATE TABLE t0(a,b); CREATE TABLE l00(x UNIQUE, y); CREATE TRIGGER r0 AFTER INSERT ON t0 BEGIN UPDATE l00 SET y=y+0 WHERE x=new.a; INSERT OR IGNORE INTO l00 VALUES(new.a,00); END+ INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES(5,0); SELECT*FROM l00 ORDER BY x; 'HUSELECT abs(-922337203685477.|| -1); ^GAPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(200)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT random() x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(); ROLLBACK; jFYCREATE VIRTUAL TABLE t0 USING fts4(languageid=l00); INSERT INTO t0 VALUES('I belong t0 l0ng00g0 0!'); ECREATE TEMP TABLE ob0list(type, name, tbl_name); INSERT INTO ob0list SELECT type, name, tbl_name FROM sqlite_master;INSERT Y_YL CREATE TABLE t102 (i0 TEXT UYIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR ++++++++++++++++++(t0.i0<>500 AND t2.i0=t1.i0)); 2KkATTACH null AS null;ANALYZE '' ;ANALYZE ''AS ''iJWSELECT NULL "a","b" UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 AS"b" UNION SELECT NULL DER BY+2 ccM7PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b);EXPLAIN INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; _NCPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x || +32200/-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; IRCREATE TABLE t0( a,ba,b,c,d,e, PRIMARY KEY(a,b,c,e,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, c,e,b,c,d,a,b,b); VACUUM 3QmPRAGMA empty_result_callbacks=on;PRAGMA VACUUM; PCCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count(), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(@00e); O%BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; :Fo:2VkSELECT printf('%+.*f%+.*f',5 || 3); ',5 || 3); SU+PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT sqlite_source_id() x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; PT%CREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE b OR (SELECT :eroblob(1)LIKE b FROM t0 ORDER BY b); bSICREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT "a","b" x, "a",oid y FROM t0 ORDER BY z; OjOD\ SELECT sqlite_rename_parent( "REFERENCES @1(1)a",'000','000'); P[%PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2(a, b, FOREIGN KEY(a, b) REFERENCES t1 ON UPDATE CASCADE); INSERT INTO t1 VALUES(1,2); INSERT INTO t2 VALUES(1, 2);VACUUM _ZCWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM i GROUP BY 1) SELECT x FROM i LIMIT 1002BY CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT julianday(1,1,1) idx, stat FROM sqlite_stat1 ORDER BY idx; |X}PRAGMA page_siAL; PRAGMA wal_autocheckpoint == WAL; PRAGMA wal_autocheckpoint= 100; PRAGMA journal_size_limit = 10000; lW]CREATE TEMP TABLE CONSTRAINTt0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[^ [a]000'; _PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e8'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; 6^sCREATE VIRTUAL TABLE t00000 USING fts4aux(t0, t0); h]UCREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES(1,2, 3); INSERT INTO t1 VALUES(1,NULL, 3); INSERT INTO t1 VALUES(1,2, 3); INSERT INTO t1 VALUES(1, 2, NULL); INSERT INTO t1 VALUES(4, 5, 6); CREATE UNIQUE INDEX i0 ON t1(b, a, c); p0'); INSERT INTO t1(oid,a,x)VALUES(7000000000000,17,'00000f00000000f0'); INSERT INTO t1(oid,a,x)VALUES(80000,18,'00000000000f0f00'); INSERT INTO t1(oid,a,x)VALUES(100000000000,19,'0000010000000000'); INSERT INTO t1(oid,a,x)VALUES(0040000000,20,'00000000000f0f0f'); INSERT INTO t1(oid,a,x)VALUES(-30,21,'000f000000000000'); INSERT INTO t1(oid,a,x)VALUES(34359738368,22,'0000000800000000'); INSERT INTO t1(oid,a,x)VALUES(30000,23,'0000000000000f0f'); INSERT INTO t1(oid,a,x)VALUES(8388608,24,'0000000000800000'); INSERT INTO t1(oid,a,x)VALUES(10000000000000,25,'00000f00000000ff'); INSERT INTO t1(oid,a,x)VALUES(20000000000000,26,'0001000000000000'); INSERT INTO t1(oid,a,x)VALUES(3000000000000000,27,'00000f0000000f00'); INSERT INTO t1(oid,a,x) VALUES(72057594037927936,28,'0100000000000000'); INSERT INTO t1(oid,a,x) VALUES(-6,29,'00000f0000000f0f'); INSERT INTO t1(oid,a,x) VALUES(205,30,'00000000000000f0'); INSERT INTO t1(oid,a,x) VALUES(4,31,'0000000000000004'); INSERT INTO t1(oid,a,x) VALUES(-68,32,'00000f00000080q00'); INSERT INTO t1(oid,a,x) VALUES(-2,33,'00000f0000000ff0'); INSERT INTO t1(oid,a,x) VALUES(10000000000008,34,'0000800000000000'); INSERT INTO t1(oid,a,x) VALUES(50000000000,35,'0000008000000000'); INSERT INTO t1(oid,a,x) VALUES(4000000000,36,'0000000100000000'); INSERT INTO t1(oid,a,x) VALUES(-60,37,'00000f0000800000'); INSERT INTO t1(oid,a,x) VALUES(-1,38,'00000f0f'); INSERT INTO t1(oid,a,x) VALUES(3000000000,39,'00000000000f0ff0'); INSERT INTO t1(oid,a,x) VALUES(8400000,40,'0000000010000000'); INSERT INTO t1(oid,a,x) VALUES(2,41,'0000000000000002'); INSERT INTO t1(oid,a,x) VALUES(90000,42,'0000000000200000'); INSERT INTO t1(oid,a,x) VALUES(50000000,43,'000200000000'); INSERT INTO t1(oid,a,x) VALUES(-7,44,'000f800000000000'); INSERT INTO t1(oid,a,x) VALUES(060000000,45,'0080000000000000'); INSERT INTO t1(oid,a,x) VALUES(5000000000,46,'0000000000000fff'); INSERT INTO t1(oid,a,x) VALUES(-20,47,'00000f000000f000'); INSERT INTO t1(oid,a,x) VALUES(60000,48,'00000000000000ff'); INSERT INTO t1(oid,a,x) VALUES(128,49,'0000000000000080'); INSERT INTO t1(oid,a,x) VALUES(32768,50,'0000000000008000'); INSERT INTO t1(oid,a,x) VALUES(2147483648,51,'0000000080000000'); INSERT INTO t1(oid,a,x) VALUES(-3,52,'00000f00000000fd'); INSERT INTO t1(oid,a,x) VALUES(-28,53,'00000f0000000f80'); INSERT INTO t1(oid,a,x) VALUES(-29,54,'00000f0000000f70'); INSERT INTO t1(oid,a,x) VALUES(-9223372036854775800,55,'8000000000000000'); INSERT INTO t1(oid,a,x) VALUES(400000000000,56,'0000040000000000'); INSERT INTO t1(oid,a,x) VALUES(10000000000,57,'0000000000000ff0'); INSERT INTO t1(oid,a,x) VALUES(00800,58,'00000f000000f00f'); INSERT INTO t1(oid,a,x) VALUES(0,59,'0000000000000000'); INSERT INTO t1(oid,a,x) VALUES(1,60,'0000000000000001'); INSERT INTO t1(oid,a,x) VALUES(206,61,'0000000000000100'); INSERT INTO t1(oid,a,x) VALUES(60006,62,'0000000000010000'); INSERT INTO t1(oid,a,x) VALUES(-5000000000,63,'00000f8000000000'); INSERT INTO t1(oid,a,x) VALUES(8,64,'0f80000000000000'); CREATE INDEX t000 ON t1(a); CREATE INDEX t002 ON t1(x); Q`'CREATE TABLE t1(a,x); INSERT INTO t1(oid,a,x)VALUES(-9,1,'000000000f000000'); INSERT INTO t1(oid,a,x)VALUES(900,2,'0f00000000000000'); INSERT INTO t1(oid,a,x)VALUES(9223372036854775800,3,'0f0000000000000f'); INSERT INTO t1(oid,a,x)VALUES(7,4,'000000000000000f'); INSERT INTO t1(oid,a,x)VALUES(3,5,'0000000000000003'); INSERT INTO t1(oid,a,x)VALUES(6000000,6,'0000000001000000'); INSERT INTO t1(oid,a,x)VALUES(90000000000,7,'0000030000000000'); INSERT INTO t1(oid,a,x)VALUES(300,8,'0000000000000f00'); INSERT INTO t1(oid,a,x)VALUES(6000005,9,'00000000000f0000'); INSERT INTO t1(oid,a,x)VALUES(200000000000,10,'00000f0000000000'); INSERT INTO t1(oid,a,x)VALUES(-8,11,'0000000f00000000'); INSERT INTO t1(oid,a,x)VALUES(0400000,12,'00000000000f000f'); INSERT INTO t1(oid,a,x)VALUES(40000000000,13,'00000f000000000f'); INSERT INTO t1(oid,a,x)VALUES(67000,14,'00000000000f00f0'); INSERT INTO t1(oid,a,x)VALUES(200,15,'00000000000f00ff'); INSERT INTO t1(oid,a,x)VALUES(304,16,'000000000000400o <:<icWBEGIN 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 IN (SELECT a FROM t1 WHERE a<>0); DROP INDEX i1; DELETE FROM t1; COMMIT; bCREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, rtrim(1,1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; Ba CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE (1)NOTNULL; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON 1=199) M 99GeCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0 00000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY idx; xduCREATE TABLE t0a(a,b); CREATE TABLE t0b(x); INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE@b=t0b.rowid GROUP BY random()"a" BY "^hACREATE TABLE t0(a, b); SELECT a FROM (SELECT 1=100e2001-01E0310 AS a FROM t0) WHERE a==0; mg_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(a); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','000'),('t1','t1b','0000'); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY a; ifWBEGIN TRANSACTION; CREATE TABLE t1( "a","b" int, c int); CREATE INDEX i1 ON t1(a,a); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; [[!iGCREATE TABLE t1(x, y REAL); INSERT INTO t1 VALUES(1,'1.0'); INSERT INTO t1 VALUES(2, '.5'); INSERT INTO t1 VALUES(3, '1.'); INSERT INTO t1 VALUES(4,'1e0'); INSERT INTO t1 VALUES(5,'.03'); INSERT INTO t1 VALUES(6,'1e0'); INSERT INTO t1 VALUES(10,'1.'); INSERT INTO t1 VALUES(12,'.5'); INSERT INTO t1 VALUES(13,'3.'); INSERT INTO t1 VALUES(14,'3e0'); INSERT INTO t1 VALUES(15,'.2'); INSERT INTO t1 VALUES(16,' 20e4'); INSERT INTO t1 VALUES(20,'1 '); INSERT INTO t1 VALUES(22,'5 '); INSERT INTO t1 VALUES(23,'3.'); INSERT INTO t1 VALUES(24,'1.e0'); INSERT INTO t1 VALUES(25, '.5e+3 '); INSERT INTO t1 VALUES(26,'1 '); SELECT x FROM t1 WHERE typeof(y)=='real' ORDER BY x%Y Tm-SELECT typeof(group_concat(ROWx,'')) FROM (SELECT '' AS x UNION ALL SELECT ''); l5BEGIN; CREATE TEMP TABLE t1(a, b); INSERT INTO t1 VALUES(1, 2); COMMIT; SELECT S(1, 2); COMMIT; SELECT * FROM t* FROM t1; PRAGMA temp.journal_mode; k%CREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT [a].a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; Rj)CREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16,y+16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT x+64, y+64 FROM t2; SELECT count(*),sum( random()) FROM t2; s0 pCREATE TABLE ""("" UNIQUE, x CHAR(100)UNIQUE); CREATE TABLE t2(x); INSERT INTO ""("") VALUES(1);REINDEX INTO tLUELECT * FROM "", t2; ?oBEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5)INTERSECT SELECT* FROM a WHERE i0 NOT IN (SELECT i0 FROM b) -1; nCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE-d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTOS($ 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; yqwDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(c); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; joTu-CREATE TABLE t0(a, b); SELECT a FROM (SELECT 00080e19 AS a FROM t0) WHERE a==0; 'tSCREATE 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= sqlite_compileoption_get(1)IN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; MsSELECT 0 AS x, 0 ASy UNION SELECT 2 AS y, -0 AS x ORDER BY x%Y LIMIT 1; r)CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE `a` (1,2) ORDER BY b; |int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200)} not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L0000~0000000000D 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);ANALYZE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 zWzYx7CREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0.a FROM ((t0 JOIN t2 ON t0.a=t2.a) )S x JOIN t2x ON x.b=t2x.b) as00; wPRAGMA writable_schema = 1; CREATE TABLE CURRENT_DATE AS SELECT glob(1,1)0000, n0t, n0000000000(s00000) AS0000000 FROM s0; ^v?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 { jj:z{PRAGMA encoding=UTF16be; SELECT hex(ltrim(~ "a","b")); Uy/PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(990)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(); ROLLBACK; .T[.*}[SELECT quote(1111111111111111111E113); u|oPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REF0 REFERENCES t1(x) OERENCES t1 ON DEETE SET NULL);REPLACE INTO t1 VALUES(13); INSERT INTO t0 VALUES(13) ({UCREATE TABLE t1(x, y REAL); INSERT INTO t1 VALUES(1,'1.0'); INSERT INTO t1 VALUES(2, '.5'); INSERT INTO t1 VALUES(3, '1.'); INSERT INTO t1 VALUES(4,'1e0'); INSERT INTO t1 VALUES(5,'.03'); INSERT INTO t1 VALUES(6,'1e0'); INSERT INTO t1 VALUES(10,'1.'); INSERT INTO t1 VALUES(12,'.5'); INSERT INTO t1 VALUES(13,'3.'); INSERT INTO t1 VALUES(14,'3e0'); INSERT INTO t1 VALUES(15,'.2'); INSERT INTO t1 VALUES(16,' 20e4'); INSERT INTO t1 VALUES(20,'1 '); INSERT INTO t1 VALUES(22,'5 '); INSERT INTO t1 VALUES(23,'3.'); INSERT INTO t1 VALUES(24,'1.e0'); INSERT INTO t1 VALUES(25, '.5e+3 '); INSERT INTO t1 VALUES(26,'1 '); SELECT avg(1) x FROM t1 WHERE typeof(y)=='real' ORDER BY x; ==?~PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 / INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 64 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; u?T:yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1E1) ywCREATE TABLE t1(x, y DEFAULT(datetime('+2 blobaysnow'))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; k[CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "a","b" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 1) AS ""; 3mSELECT 10 EXCEPT SELECT ltrim(1, random()-11)YPRAGMA auto_vacuum = incremental; PRAGMA journal_mode =''b'Rdomblob(1000), randomblob(1000) FROM 1; DELETE FROM 'a''b'RE rowid%2; ''@CREATE TABLE nn(a, b, c, d, e, PRIMARY KEY(c,a,e)); CREATE TABLE nn0(a, b, c, d, e, PRIMARY KEY(c,a,e)) WITHOUT ROWID; INSERT INTO nn VALUES(1,2,3,4,5);REPLACE INTO nn0 VALUES(1,2,3,4,5); 1CREATE TABLE t1(x INTEGERPRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a, a, sum(b) AS; PRAGMA encoding=UTF16le; CREATE TABLE tϐ0tϐUES('ab0'); 06(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); =PRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(22000000101,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 ICREATE TABLE t0001(a UNIQUE); ALTER TABLE t0001 ADD COLUMN b UNIQUE; ii BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary ( UATTACH''AS nonamonameme; ATTACH':memory:' AS inm; ATTACH':memory:' AS inmee; ATTACH':memory:' AS inme; ATTACH':memory:' AS oname; ATTACH':memory:' AS inminmem;em; BK PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT unicode(1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; i WWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<001-01-011 FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; key (ISSUEID, OB0ECTID, PARTICIPANTID));EXPLAIN CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text50) null, R0000000 iOB0ECTID)); 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) n0 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID));ANALYZETABLE I0(O000 tex text(50), 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, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 te @X5CREATE VIRTUAL TABLE t0 USING fts4( [a],"b "a" "p "a","b"); ?CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT rtrim( -11,1) idx, stat FROM sqlite_stat1 ORDER BY idx; < }PRAGMA foreign_keys = ON; CREATE TABLE t1(a PRIMARY KEY, b); CREATE TABLE t2(c REFERENCES t1 DEFERRABLE INITIALLY DEFERRED, d); INSERT INTO t1 VALUES(9,2); INSERT INTO t2 VALUES(1,3); h=CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR "a","m",.2; ?PRAGMA user_version = 2; m_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) || +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10 -1; -DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN-zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; 6S6eOATTACH''AS noname; ATTACH':memory:' AS inmem;ANALYZE CREATE TABLE noname.n00000(x); CREATE TABLE inmem.i0000(y); CREATE TABLE main.m000(z); COMMIT; SELECT name FROM noname.sqlite_master; SELECT name FROM inmem.sqlite_master; 1iSELECT abs(-9 || 72036858547758047758 || 00); C CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le ORDER BY+Tex00e0; SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0 GROUP BY 1; HPRAGMA wal_checkpoint = full; INSERT INTO a0c VALUES(r00000(1000)); 3PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON UPDATE SET NULL); INSERT INTO t1 VALUES(13); INSERT INTO t0 VALUES(13); INSERT INTO t3 VALUES(13);VACUUM ddD CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='ABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO sq,&QCREATE TEMP TABLE ob0list(type, name, tbl_name); INSERT INTO ob0list SELECT type, name, tbl_name FROM sqlite_master; INSERT INTO ob0list SELECT type,name, tbl_name FROM sqlite_temp_master WHERE NAME!='ob0list'; SELECT type,name COLLATE name FROM ob0list ORDER BY tbl_name, type desc, name; 'USELECT CAST(zeroblob(100) AS BLOB); &&Z9CREATE TABLE t0(a, b); SELECT a FROM (SELECT count(*)IS@ULL AS a FROM t0) WHERE a==A; ywDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 1=1 P PLCREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE 8 LIKE '%h%' ESCAPE'߀'; \=PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(22001-01-01,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x || +32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; =i"WPRAGMA auto_vacuum=1; CREATE TABLE t1(a); CREATE TABLE t0(a); DROP TABLE t1; PRAGMA integrity_check; p!eCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON lower(1)=30 WHERE y >= NULL OR b-3;E; SL PRAGMA read_uncommitted= 1;VACUUM; CREATE TABLE t0(a, b, UNIQUE(a, b)); 4A4H&PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' ORDER BY randomblob(1) +x; <%SELECT printf('0%1100.100s0%110.100s0','REN0','RENME0');$CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,b,c,a, b,c,d,e)000000 ;#{BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'00..'; COMMIT; y1:+{SELECT 1 UNION SELECT 2,3 UNION SELECT 4,5 ORDER BY a.bS*+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | typeof(1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); E)SELECT-printf('%d000%d',50,-10,3,00,50,-10,3,-10,3,00,50,-000); ( PRAGMA encoding=UTF16le; CREATE TABLE tϐ0tϐ06(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); |'}DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400, trim(1,1)); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(va0u01) FROM t1 GROUP BY i01; S@-PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a, b, c FROM abc; INSERT INTO abc SELECT b, a, zeroblob(1) c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; ),WCREATE TABLE t0(a TEXT, b TEXT); CREATE VIEW v0 AS SELECT t0. *FROM t0; CREATE TRIGGER t0001 INSTEAD OF UPDATE ON v0 BEGIN SELECT 0; END; DELETE FROM v0 WHERE a= 1; |B@_%H3PRAGMA auto_vacuum= incremental; PRAGMA auto_vacuum- incremeBLE t1(72uSELECT CASE WHEN - -1 THEN '0000' ELSE '00000' END; ]1?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b /* */,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,2,20000); INSERT INTO t5 VALUES(1,2,3,4,5,10000); INSERT INTO t5 VALUES(2,?,4,5,6,20000);REINDEX ~0PRAGMA encodiAg=6; CREATE TABLE t1(xUMN c REAL blob D); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '9'; ALTER TABLE t1 ADD COLUMN c REALDEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '0'; UPDATE t1 SET x=x+1; 7/uSELECT 10 EXCEPT SELECT 20 ORDER BY-3333333333#3331 .BEGIN; CREATE TEMP TABLE t1(a, b); INSERT INTO t1 VALUES(1, 2)INTERSECT SELECT * FROM t1; PRAGMA temp.journal_mode;ROLLBACK ^0dp8ePRAGMA encoding=UTF16be; CREATE TABLE 6(a COTLATE nocasqliteMARY KEY); INSERT INTO t0t VALUES('ab0'); H7CREATE VIEW v0 AS SELECT t0.x AS00, t0.y AS00 FROM tIN t0 USING(a); H6PRAGMA page_size= 1024; PRAGMA auto_vacuum = 2; CREATE TABLE t0(x); CREATE TABLE t4(x); CREATE TABLE t5(x); INSERT INTO t0 VALUES(randomblob(1000)); CREATE TABLE t7(x); CREATE TABLE t8(x);ANALYZE +5]SELECT CAST (zeroblob(100) AS INT000R); 4ACREATE TABLE x(i0 integer primary key, a TEXT NULL); INSERT INTO x (a) VALUES ('00'); CREATE TABLE tempx(i0 integer primary key, a TEXT NULL); INSERT INTO tempx (a) VALUES ('0'); CREATE VIEW t01 AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx ON tx.i0=x.i0; CREATE VIEW t010 AS SELECT x.i0, tx.i0 FROM x JOIN tempx tx on tx.i0=x.i0; CREATE VIEW t02 AS SELECT * FROM t01 UNIO; SELECT * FROM t010; SELECT * FROM t02; !e<OSELECT 10 IN (SELECT strftime(1,1,1,1)IN (SELECT strftime(,1,1,1) ro rowid FROme(1,1,1,1) ror); e;OPRAGMA auto_vacuum= incemental; PRAGMA auto_vacuum= inctal; PRAGMA auto_vacuum= incremeBLE t1(K:PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT sqlite_version() x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) $9MPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT sqlite_version(), randomblob(1000) FROM t1; 1J@SELECT '1.0e666'/'1.0000e-320e64'/'16'/'1.0000e-320e64'/'1.0000e-62'; \?=CREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b-'000'), t0 WHERE strftime(1,1,1,1 AND b='000'), t0V>1CREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER Pq, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t001, t002 WHERE t002.z GLOB '0000'; ='PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); INSERT INTO t0 VALUES(13); INSERT INTO t3 VALUES(13); T5T]C?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,?,2,20000); INSERT INTO t5 VALUES(1,2,?,4,5,10000); INSERT INTO t5 VALUES(2,?,4,5,6,20000);REINDEX OB#CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t0AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' || new.a || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); tAmBEGIN TRANSACTION; CREATE TABLE t1( a,ba,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT * FROM t0; INSERT INTO t0 SELECT * FROM t0; UPDATE t0 SET y=y+1 WHERE x=new.rowid; SELECT 000; DELETE FROM t0 WHERE x=new.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT;  iIWCREATE TABLE blob0(k, v BLOB); INSERT INTO blob0 VALUES(1, zeroblob(length(CAST( hex(1) AS LOB)))); :H{SELECT sqlite_compileoption_used('SQLITE_THREADDAFE'); 0GgSELECT typeof(replace( "a", hex(?), "000")); bFICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%n0%q',a,b,c) FROM t1 ORDER BY rowid; =EDROP TABLE IF EXISTS t; CREATE TABLE t1(a TEXT); INSERT INTO t1(a)VALUES(1),(2); DROP TABLE IF EXISTS t; CREATE TABLE t2(x TEXT, y TEXT); INSERT INTO t2(x,y)VALUES(3,4); DROP TABLE IF EXISTS t; CREATE TABLE t3 AS SELECT a AS p, coalesce(y,y) AS q FROM t1 LEFT JOIN t2 ON a= sqlite_compileoption_get(q)ORDER BY q; \D=PRAGMA foreign_keys = 1; CREATE TABLE t1( INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); I (?(^MACREATE TEMP TABLE 1(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*000'; L CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+?, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; ,K]PRAGMA enchding=6; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INE TT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x1; =JCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M,8); ss NCREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, abs(1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; s.s7PsPRAGMA encoding=UTF16le; VALUES('ABX'); SELECT DISTINCTnocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT a FROM t0t0006; NO!PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<<0; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; BR BoVcCREATE TABLE t1(x, y DEFAULT( rTOeplace(1,1,1))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; TU-CREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10);SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT tabC.a, txyZ.x, tb0Th.a, tb0tH.x, * FROM tabc, txyz, tb0th ORDER BY 1 LIMIT 1; hTUCREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY round(1,1)OR+a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); WS3PRAGMA encoding=UTF16be; SELECT hex( trim( 'Ϛ0000')); ?RCREATE VIRTUAL TABLE t0 USING fts4( [a], [a] "a", [a]"b"); iQWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<041-01-011 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; ??{X{CREATE TABLE t1( TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE ES(?WCREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('c', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 ORDER BY c, b, c; gZSCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b,c,d)e); 00 jYYDROP 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,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'||sr(c,4) FROM t1 WHERE c GLOB INSE ; ^CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, rtrim(1,1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; ']UATTACH null AS null;ANALYZE '' AS ''o\cWITH i(x) AS ( VALUES( 1=11) UNION SELECT (x | group_concat(1,1)| +1)*10 FROM i) SELECT x FROM i LIMIT 20; O[#CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('000'); INSERT INTO t0000(a) VALUES('000<); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT I00'); INSERT INTO t0000(b) VALUES('00'); /* */INSERT INTO t0000(b) VALUES('0000'); _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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) |.a)CREATE TABLE abc(a UNIQUE, b UNIQUE, c UNIQUE); BEGIN; INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a+1, b+1, c+1 FROM abc;REINDEX K`SELECT $::s0 LIKE $::00s00 LIKE $::00s0 LIKE $::0 LIKE $::0000000003; t_mCREATE 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 -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 ^KAfSELECT 10 UNION ALL SELECT 20 ORDER10 UNION ALL SELECT 20 ORD6esSELECT $::s0 LIKE $::00s0 LIKE $::00s LIKE $::03; KdSELECT 1 UNION SELECT 2,3 UNION SELECT 4,5 ORDER BY likelihood(1,1) 1; AcPRAGMA encoding=UTF16be; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT trim(1,1),a FROM t0t0006; bACREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM t4 WHERE g=7; SELERT I g%BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT replace(1,1,1) FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;  iPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90 blob'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; h /* */ CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT.1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; CELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 7kuSELECT 10 EXCEP; SELECT 20 ORDER BY 3333333333#3331 ^j?BEGIN; CREATE TABLE 000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000  1Cm CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le ORDER BY+Tex00e0; SELECT* FROM De00Ta0le UNION ALL SELECT * FROM De00V0e0 ORDER BY 1; KlPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT rtrim(oid) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; zpyCREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT x, y FROM t01 UNION ALL SELECT min(1,1) x, y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM v0 WCO ORDER BY y; oCREATE TABLE t1(a, b, c); INSERT INTO t1(a) VALUES('000000000'); INSERT INTO t1(a)VALUES(10); INSERT INTO t1(a) VALUES(NULL); INSERT INTO t1(a) VALUES(22.0); INSERT INTO t1(a) VALUES(x'00000'); CREATE INDEX i0 ON t1(a, b, c); ANALYZE; SELECT o00(se) FROM s000; ^nACREATE TABLE t0000(aCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000');VALUES('00'); END;EXPLAIN INSERT INTO t0000(b) VALUES('0000'); SELECT * FROM t0000 ORDER BY a; eyer%BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char(1)tSt00n0 FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; q CREATE TABLE t13(a,b); CREATE INDEX t000 ON t13(a); INSERT INTO t13 VALUES(4,5); SELECT 2 FROM t13 WHERE (1=2 AND a=3) OR a=4; (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 I00 UNIQUE,a0000000 NTEGER PRIMARY KEY, sub0ectCOLLATE RTRIM, normali0ed_sub0ect COLLATE RTRIM); CREATE INDEX s00000000000000000000 ON sub0ects(sub0ect); CREATE INDEX su00000_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, d0000 INT0000 DEFAULT 0, u0000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) iFtCREATE TABLE t10(x NTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON a.y=b.x WHERE (b.x=$ab0 OR b.x=$ab0); sCREATE 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 88LwCREATE TABLE t00b AS SELECT "a","b"COLLATE''LIKE''LIKE''; SELECT * 00b; vCREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, avg(1)b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; huUCREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT x, zeroblob(2001.01-011) y FROM t0 ORDER BY z; ^%{QSELECT printf('0%110EXCLUSIVE0'); *zYCREATE TABLE t1(a); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 SELECT a+2 FROM t1; INSERT INTO t1 SELECT a+4 FROM t1; INSERT INTO t1 SELECT a+8 FROM t1; INSERT INTO t1 SELECT a+10 FROM t1; INSERT INTO t1 SELECT a+30 FROM t1 ORDER BY a LIMIT 7; SELECT x000000(*)FROM t1; cyKWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(?)FROM i ORDER BY 1) SELECT x FROM i LIMIT 18; xADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN x'0000000000'WHEN 2 THEN zeroblob(52001-01-01)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; =iCREATE TABLE t0 (a, b, PRIMARY KEY(b, a)) WITHOUT ROWID; INSERT INTO t0(a, b) VALUES('ab0', '000');REINDEX t0 SET a='ab0', b='000'; H~SELECT sqlite_rename_trigger(' >= >= >=IGGER r0 ON x00 WHEN',NULL); P}%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT DISTINCT* from z; ?|PRAGMA auto_vacYum = inc; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(10.0), randomblob(8000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%2; A|ICREATE TABLE av4(a, b, c); CREATE INDEX av00 ON av4(a); CREATE INDEX a000 ON av4(b); CREATE INDEX a00000 ON av4(c); CREATE INDEX a004 ON av4(a, b, c); INSERT INTO av4 VALUES('0', '0', '0');ANALYZE ACREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, x FROM t1, t2 GROUP BY 1,.2; ;{PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FROߋ; 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; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(.00); tzt:{PRAGMA encoding=UTF16be; SELECT-hex(@trim(x'0e0000')); =CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000:000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY idx;  CREATE TABLE FOO(bar int0000); CREATE TRIGGER f0 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN (NOw.bar BETWEEN(0 AND 20) THENse(r CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+6, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; c>f\ =CREATE VIEW x1 AS SELECT 100 AS '', 200 AS '', 300 AS '' ; SELECT * FROM x1; T -CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c,C,d DESC, e DESC, b, e DESC, b, c, "a","b" " KSELECT '1.00e64'/'1.0000e+02'; 1gCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(2,'0(1)0'); INSERT INTO t1 VALUES(3,'000000'); SELECT *, ( SELECT y FROM (SELECT*, ( SELECT y FROM (SE( SELECT* FROM t1 ) AS x; dMCREATE TABLE t10(x INTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON a.y=b.x WHERE (b.x=$y); EXPLAIN QUERY PLAN SELECT ab0 OR b.y=$ab0); Aj YWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime() x FROM i LIMIT 10; ; {PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(200)); 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 randomblob(900) FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(900); 5^?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 ՃGPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(:000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%2; int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V a,b07 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 fxuCREATE TABLE t0b(x); INSERT INTO t0b(rowid, x) VALUES( 1=11,10),(2,1 >=1); UPDATE t0b SET rowid=rowid+1 WHERE x=10; Y7PRAGMA auto_vacuum = incremental; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(503001-01-0100), zeroblob(5000)); DELETE FROM t1; PRAGMA incremental_vacuum; 1CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3, 1=14); SELECT c FROM t1 WHERE a IN (1,2) ORDER BY b; U6sCREATE VIRTUAL TABLE t00000 USING 'a''b'(t0, t0); fQSELECT 1000000%000000060E001000000%0000000000%00000%060E00100006000000000%000000060E001000000%0; 'SCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON y=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(y=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON y=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON y=20 AND b=3 WHERE y IS NULL; =PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B -1) S3mSELECT printf('%d0000%f',50, random()-10,3000); -aSELECT fts3_tokenizer('00000000000000r'); ywDROP TABLE IF EXISTS t0; CREATE TABLE t1(a NTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '*000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN.30 AND 60; ^?BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 CREATE TABLE t1(a, b, c); INSERT INTO t1(a) VALUES('000000000'); INSERT INTO t1(a)VALUES(10); INSERT INTO t1(a) VALUES(NULL); INSERT INTO t1(a) VALUES(22.0); INSERT INTO t1(a) VALUES(x'000000'); CREATE INDEX i0 ON t1(a, b, c); REINDEX;REINDEX SELECT o0 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 -'-NBEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, LZ9SELECT sqlite_rename_trigger(' [a]T0 !!!!!!!!!!!!!!!!!!TRIGGER r0 ON x00 WHEN',NULL); xuCREATE TABLE t0a(a,b); CREATE TABLE t0b(x); INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE b= total(1) GROUP BY a ORDER BY a; 000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text30) 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));ANALYZE TABLE I0(O000 tex 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, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 !z_"CPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(22001-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; #!KCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM t4 WHERE g=7; SELER" ICREATE TABLE t1(a); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b DEFAULT ; CREATE TABLE t2(a, b); INSERT INTO t2 SELECT * FROM t1; SELECT* FROM t2; 5oCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql= time(1,1,1); PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10;REINDEX ink =&PRAGMA page_size = 4096; CREATE TABLE t0(x); PRAGMA wal_autocheckpoint = O00; PRAGMA journal_mode = WAL; PRAGMA checkpoint_fullfsync=[s00000000]; PRAGMA synchronous = [n0000000];VACUUM %;PRAGMA max_page_count; \$=PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(4); ROLLBACK;ANALYZE }#DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY ON CONFLICT FAIL, b); CREATE TABLE t0(y INTEGER PRIMARY KEY ON CONFLICT FAIL, y); INSERT INTO t0 VALUES(1,3); INSERT INTO t1 SELECT * FROM t0; SELECT * FROM t0; E{A*SELECT sqlite_compileoption_used('EXISTSSQITE_THREADSAFE'); e)OWITH i(x) AS ( VALUES(1) UNION ALL SELECT rowi/ x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; F(CREATE TABLE t3(a INTEGER PRIMAY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, d, b, c, d, e, f); C; 7'sPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('a'); INSERT INTO t0t0006 VALUES('AB'); SELECT DISTINCT a FROM t0t0006; CzCX.5SELECT CASE WHEN 'en00000' THEN '0000'WHEN 'en00000' THEN '0000' ELSE '00000' END; X-5CREATE TABLE t0(a,b); CREATE TABLE l00(x UNIQUE, y); CREATE TRIGGER r0 AFTER INSERT ON t0 BEGIN UPDATE l00 SET x=y+0 WHERE x=new.a; INSERT OR IGNORE INTO l00 VALUES(new.a,00); END;REPLACE INTO t0 VALUES('0','0') ,GSELECT 1000000000000000e140; _+CPRAGMA cache_size = 5; CREATE TABLE t11(a, b); INSERT INTO t11 VALUES(randomblob(5000),NULL); INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5000), NULL FROM t11; --0 INSERT INTO t11 SELECT randomblob(5337), NULL FROM t11; --0 UPDATE t11 SET b0= c0000(a); K21CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,b,c,d,a,b,c)) WITHOUT Rc,aF b,c,d,e); 000000 19CREATE TABLE t0t0000( COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('AB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000OF0000000000000000000000000000000'); SELECT DISTINCT a FROM t0t0000; +0[CREATE TABLE t0 (a primary key, b, c); INSERT INTO t0 values (0,00, 3); CREATE TRIGGER a0000l AFTER UPDATE ON t0 BEGIN UPDATE OR IGNORE t0 SET a0= n00.a, c =$00; END; e/OWITH i(x) AS ( VALUES(1) UNION ALL SELECT glob(1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; >A;6{CREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( sqlite_compileoption_get(1)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); K5CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0e0; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON (x=99) ORDER BY x;VACUUM +4]SELECT printf('%*.*s', replace(1,1,1)); >3PRAGMA encoding=UTF16be; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT a FROM t0t0006;REINDEX /8eSELECT printf('0%110.100s0',' glob(1,1)0'); -7_DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1,X'0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,0e02|substr(c,4) FROM t1 AA9:wCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT# FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON#t2 t0. ~9CREATE 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','tJall','600000 16000NTO t4 VA0 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; ^Y?7CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON( @1i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0)); @>SELECT 10 EXCEPT SELECT 20 ORDER BY +33333333333331 COLLCTE p=ePRAGMA encoding=UTF16be; CREATE TABLE t0t(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); </CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,b,c,d,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND b=? AND c=? AND d==? AND e=?; O;#DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE x1(a); INSERT INTO x1 VALUES(1); CREATE TABLE x0(b NOT NULL); CREATE TABLE x3(c, d); INSERT INTO x3 VALUES('0',NULL); INSERT INTO x3 VALUES('b',NULL); INSERT INTO x3 VALUES('c',NULL); SELECT * FROM x1 LEFT JOIN x0 LEFT JOIN x3 ON CURRENT_TIME ?o?B7CREATE TABLE t1000(x); CREATE TRIGGER r000 INSERT ON t1000 BEGIN INSERT INTO t1000 SELECT y FROM (SELECT new.x.y); END; INSERT INTO t1000 VALUES(1); A#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d COLLATE [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;VACUUM @CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, rtrim(1,1)b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; 0OF#DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE x1(a); INSERT INTO x1 VALUES(1); CREATE TABLE x0(b NOT NULL); CREATE TABLE x3(c, d); INSERT INTO x3 VALUES('0',NULL); INSERT INTO x3 VALUES('b',NULL); INSERT INTO x3 VALUES('c',NULL); SELECT * FROM x1 LEFT JOIN x0 LEFT JOIN x3 ON CURRENT_DATE :E{SELECT '1.0.0e64'/'e64'/'1.0000e-320e64'/'1.0000e-62'; pDeBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT * FROM t0; INSERT INTO t0 SELECT * FROM t0; UPDATE t0 SET y= instr(1,1)=new.rowid; SELECT instr(1,1)E FROM t0 WHERE x=new.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT; YC7PRAGMA encoding=UTF16be; SELECT hex(@trim(x'0e0000')); SELECT hex(@trim(x'0e0000')); ]I?PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t3(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13); I WH3CREATE TABLE t1(a,x); INSERT INTO t1(oid,a,x)VALUES(-9,1,'000000000f000000'); INSERT INTO t1(oid,a,GCREATE TABLE c000a00001(a, b); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); CREATE VIEW c000a000v1 AS SELECT * FROM c000a00001 ORDER BY 1 COLLATE `a`; SELECT * FROM c000a000v1; x)VALUES(900,2,'0f00000000000000'); INSERT INTO t1(oid,a,x)VALUES(9223372036854775800,3,'0f0000000000000f'); INSERT INTO t1(oid,a,x)VALUES(7,4,'000000000000000f'); INSERT INTO t1(oid,a,x)VALUES(3,5,'0000000000000003'); INSERT INTO t1(oid,a,x)VALUES(6000000,6,'0000000001000000'); INSERT INTO t1(oid,a,x)VALUES(90000000000,7,'0000030000000000'); INSERT INTO t1(oid,a,x)VALUES(300,8,'0000000000000f00'); INSERT INTO t1(oid,a,x)VALUES(6000005,9,'00000000000f0000'); INSERT INTO t1(oid,a,x)VALUES(200000000000,10,'00000f0000000000'); INSERT INTO t1(oid,a,x)VALUES(-8,11,'0000000f00000000'); INSERT INTO t1(oid,a,x)VALUES(0400000,12,'00000000000f000f'); INSERT INTO t1(oid,a,x)VALUES(40000000000,13,'00000f000000000f'); INSERT INTO t1(oid,a,x)VALUES(67000,14,'00000000000f00f0'); INSERT INTO t1(oid,a,x)VALUES(200,15,'00000000000f00ff'); INSERT INTO t1(oid,a,x)VALUES(304,16,'0000000000004000'); INSERT INTO t1(oid,a,x)VALUES(7000000000000,17,'00000f00000000f0'); INSERT INTO t1(oid,a,x)VALUES(80000,18,'00000000000f0f00'); INSERT INTO t1(oid,a,x)VALUES(100000000000,19,'0000010000000000'); INSERT INTO t1(oid,a,x)VALUES(0040000000,20,'00000000000f0f0f'); INSERT INTO t1(oid,a,x)VALUES(-30,21,'000f000000000000'); INSERT INTO t1(oid,a,x)VALUES(34359738368,22,'0000000800000000'); INSERT INTO t1(oid,a,x)VALUES(30000,23,'0000000000000f0f'); INSERT INTO t1(oid,a,x)VALUES(8388608,24,'0000000000800000'); INSERT INTO t1(oid,a,x)VALUES(10000000000000,25,'00000f00000000ff'); INSERT INTO t1(oid,a,x)VALUES(20000000000000,26,'0001000000000000'); INSERT INTO t1(oid,a,x)VALUES(3000000000000000,27,'00000f0000000f00'); INSERT INTO t1(oid,a,x) VALUES(72057594037927936,28,'0100000000000000'); INSERT INTO t1(oid,a,x) VALUES(-6,29,'00000f0000000f0f'); INSERT INTO t1(oid,a,x) VALUES(205,30,'00000000000000f0'); INSERT INTO t1(oid,a,x) VALUES(4,31,'0000000000000004'); INSERT INTO t1(oid,a,x) VALUES(-68,32,'00000f0000008000'); INSERT INTO t1(oid,a,x) VALUES(-2,33,'00000f0000000ff0'); INSERT INTO t1(oid,a,x) VALUES(10000000000008,34,'0000800000000000'); INSERT INTO t1(oid,a,x) VALUES(50000000000,35,'0000008000000000'); INSERT INTO t1(oid,a,x) VALUES(4000000000,36,'0000000100000000'); INSERT INTO t1(oid,a,x) VALUES(-60,37,'00000f0000800000'); INSERT INTO t1(oid,a,x) VALUES(-1,38,'00000f0f'); INSERT INTO t1(oid,a,x) VALUES(3000000000,39,'00000000000f0ff0'); INSERT INTO t1(oid,a,x) VALUES(8400000,40,'0000000010000000'); INSERT INTO t1(oid,a,x) VALUES(2,41,'0000000000000002'); INSERT INTO t1(oid,a,x) VALUES(90000,42,'0000000000200000'); INSERT INTO t1(oid,a,x) VALUES(50000000,43,'000200000000'); INSERT INTO t1(oid,a,x) VALUES(-7,44,'000f800000000000'); INSERT INTO t1(oid,a,x) VALUES(060000000,45,'0080000000000000'); INSERT INTO t1(oid,a,x) VALUES(5000000000,46,'0000000000000fff'); INSERT INTO t1(oid,a,x) VALUES(-20,47,'00000f000000f000'); INSERT INTO t1(oid,a,x) VALUES(60000,48,'00000000000000ff'); INSERT INTO t1(oid,a,x) VALUES(128,49,'0000000000000080'); INSERT INTO t1(oid,a,x) VALUES(32768,50,'0000000000008000'); INSERT INTO t1(oid,a,x) VALUES(2147483648,51,'0000000080000000'); INSERT INTO t1(oid,a,x) VALUES(-3,52,'00000f00000000fd'); INSERT INTO t1(oid,a,x) VALUES(-28,53,'00000f0000000f80'); INSERT INTO t1(oid,a,x) VALUES(-29,54,'00000f0000000f70'); INSERT INTO t1(oid,a,x) VALUES(-9223372036854775808,55,'8000000000000000'); INSERT INTO t1(oid,a,x) VALUES(400000000000,56,'0000040000000000'); INSERT INTO t1(oid,a,x) VALUES(10000000000,57,'0000000000000ff0'); INSERT INTO t1(oid,a,x) VALUES(00800,58,'00000f000000f00f'); INSERT INTO t1(oid,a,x) VALUES(0,59,'0000000000000000'); INSERT INTO t1(oid,a,x) VALUES(1,60,'0000000000000001'); INSERT INTO t1(oid,a,x) VALUES(206,61,'0000000000000100'); INSERT INTO t1(oid,a,x) VALUES(60006,62,'0000000000010000'); INSERT INTO t1(oid,a,x) VALUES(-5000000000,63,'00000f8000000000'); INSERT INTO t1(oid,a,x) VALUES(8,64,'0f80000000000000'); CREATE INDEX t000 ON t1(a); CREATE INDEX t002 ON t1(x);VACUUM _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 su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) d-L_CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1,1,1,1,b,c,d,e= strftime(1,1,1,1,b,c,d,e)); e)); K9CREATE TABLE t0(a, b, UNIQUE( "a")); ALTER TABLE t0 ADD c REFERENCES t0(c) ; SELECT sql FROM sqlite_master WHERE tbl_name = 't0' AND type = 'table'; JCREATE 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 con0ersation_position INT0000 DEFAULT -1); CREATE INDEX t00i0000 ON messa0es(date WW#NKCREATE TABLE t1(x, y REAL); INSERT INTO t1 VALUES(1,'1.0'); INSERT INTO t1 VALUES(2, '.5'); INSERT INTO t1 VALUES(3, '1.'); INSERT INTO t1 VALUES(4,'1e0'); INSERT INTO t1 VALUES(5,'.03'); INSERT INTO t1 VALUES(6,'1e0'); INSERT INTO t1 VALUES(10,'1.'); INSERT INTO t1 VALUES(12,'.5'); INSERT INTO t1 VALUES(13,'3.'); INSERT INTO t1 VALUES(14,'3e0'); INSERT INTO t1 VALUES(15,'.2'); INSERT INTO t1 VALUES(16,' 20e4'); INSERT INTO t1 VALUES(20,'1 '); INSERT INTO t1 VALUES(22,'5 '); INSERT INTO t1 VALUES(23,'3.'); INSERT INTO t1 VALUES(24,'1.e0'); INSERT INTO t1 VALUES(25, '.5e+3 '); INSERT INTO t1 VALUES(26,'1 '); SELECT x FROM t1 WHERE typeof(y%Y)=='real' ORDER BY x; ~MCREATE 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 d DESC, t3 WHERE b=2 AND c=3 ORDER BY e DESC, b< c, a DESC; @zP@ SDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a","b""a","b" /* */) FROM t1 GROUP BY i01; FRCREATE TABLE t10(x INTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON+a.y=b.x WHERE (b.x=$ab0 OR b.x=$ab0); ]Q?WITH i(x) AS ( VALUES( 1=11) UNION SELECT (x || .1)*10 FROM i) SELECT x FROM i LIMIT 20; *P[SELECT $::s0 LIKE $::00s0 LIKE $::03; UO/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 x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(8); ROLLBACK; ''WCREATE TABLE t0( a,ba,b,c,d,e, PRIMARY KEY(a,b,c,e,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, c,e,b,c,d,a,b,b);REINDEX HVCREATE TABLE t1(a TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLU ; b @UPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,CURRENT_DATE b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; YSELECT 10 EXCEPT SELECT ltrim(2001-01-011, random()-11)YcXKWITH i(x) AS ( VALUES(1) UNION ALL SELECT 1=1 +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 06 N^!PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT rtrim(1, -11) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; S]+CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' || new.b || '0' || typeof(1) ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ;u;7cuSELECT CASE WHEN+- -1 THEN '0000' ELSE '00000' END; $bODELETE FROM t0 WHERE x NOT NULL; tamCREATE TABLE t0b(x); INSERT INTO t0b(rowid, x) VALUES(1,10),(2,1 >=1); UPDATE t0b SET rowid=rowid+1 WHERE x=10; &`QCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( abs(?)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); ?_CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VAlUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('c', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 ORDER BY random() ]sKU]"iKSELECT '1.00100'/'1.00300+62'; Oh#PRAGMA auto_vacuum = incremental; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(9000), zeroblob(5000)); DELETE FROM t1; PRAGMA incremental_vacuum; gPRAGMA default_cache_size=-100; PRAGMA cache_size; PRAGMA default_cache_size; PRAGMA synchrze; PRAGMA default_cache_size; Ponous; ifWSELECT group_conat(1,1) NOT IN 10 IN (10,10),at(1,1) NOT IN 10 1) NOTIN (10 IN (10,10),1,10)900 %eQSELECT printf('0%110.100g0','0'); dCREATE TABLE t0(x, y); CREATE INDEX s0 ON t0(x, y); CREATE VIEW v0 AS SELECT /* ;*/ * FROM t0; ANALYZE;SELECT /* ;*/ * FROM t0; AN $$Xj5PRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(052001-01-01, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; ymwCREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d); INSERT INTO t0 VALUES('000','000r000','00a','000000'); INSERT INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *, '0' FROM t0 ORDER BY c, a;REINDEX slkPRAGMA synchronous=ON;EXPLAIN PRAGMA cacous=ON;EXPLAIN PRAGMA cache_se;EXPLAIN PRAGMA syON;EXPLAIN PRAGMA cas; hkUCREATE 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 a.b 00(a NOT NULLCURRENT_TIMESTAMPt1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR FF/ocCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b char(1)); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; n DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY ON CONFLICT FAIL, b); CREATE TABLE t0(x INTEGER PRIMARY KEY ON CONFLICT FAIL, y); INSERT INTO t0 VALUES(1,3); INSERT INTO t1 SELECT * FROM t0; SELECT * FROM t0;VACUUM t^rACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E-00'; q=PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =210; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(52001-01-9100), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; hpUCREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES(?,2, 3); INSERT INTO t1 VALUES(1,NULL, 3); INSERT INTO t1 VALUES(1,2, 3); INSERT INTO t1 VALUES(1,$2, NULL); INSERT INTO t1 VALUES(4,$5, 6); CREATE UNIQUE INDEX i0 ON t1(b, a, c); hhtUCREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('000'); INSERT INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); s-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN randomblob(1)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; O<O'wSPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT(1); ALTER TABLE t1 ADD CO '900'; ALTER TABLE t1; >vPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','0',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,' -1','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,b ),b)OR a='0' ORDER BY +x; @uPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid>100; VACUUM; yCCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('0z'); INSERT INTO t0 VALUES('0y'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m; SELECT '0', substr(m,2) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower( @1m); mx_CREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('stat0','s0'),( hex( 1=11),'000'),('0r000','m0r00r0'); SELECT a, b, '0' FROM t000 WHERE a=='stat0' OR b='m0r00r0' ORDER BY a,b 88y}wPRAGMA encoding=UTF16le; CREATE TABLE t0tϐ /* */(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); ]|?CREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT x, round(1,1) y FROM t0 ORDER BY z; T{-SELECT 1000000%000-000600001000000%0000000601000000%000-000600001000000%00000; z%BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + julianday(1,1,1) OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; of|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ ɓhȓbǓ_Ɠ\œVēTÓS“RQNLID@>r{qspnoknemal`k_j^i[hUgSfPeHdCc?b>a=`<_;^:]9\8[5Z3Y1X/W,U*S)Q(O'M&K%I$G#E"C!A @?>=, ) ('%}$y#w"t!r omjic^\WSNL630,(&%$#!yxwvutsIF B ? : 8 62.*&":ԑӑ ґ ёБϐΐ{͐w̐tɐrȐpǐm PaX5CREATE VIRTUAL TABLE e0000 USING fts3([0000],[00],s000000,b000); BEGIN TRANSACTION; 3mDETACH 10 IN (SELECT rowid FROM sqlite_master); >SELECT 1000000000000000e100; SELECT 1000000000000000e100; uoPRAGMA encoding=UTF16le; CREATE TABLE t0tRIGHT6(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); KSELECT 10 INTERSECT SELECT 20 ORDER10 INTERSECT SELECT 20 ORD BY 1 Ce; ^~ACREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| round(1,1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ivCi<PRAGMA main.secure_delete (1); PRAGMA d02.s000000000000; 3CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t0H ON 00(a)' WHERE ~~~~~~~~~~~~~~~~~~~~~~~name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; VACUUM integrity_check0gSELECT typeof(replace(NULL, "0000", "000")); tmCREATE TABLE t1(a, b); CREATE INDEX [a]ON t1(a); CREATE VIEW v0 AS SELECT * FROM t1 INDEXED BY "a"WHERE a = 10; #PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e992001-01-01'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; 7c7) YATTACH '000000000000' as julianday(); - aSELECT 0x1;SELECT 0x1;SELECT 0x1; 0x1; i WBEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT sum(1) t1 WHERE a=10); DROP INDEX i1; DELETE FROM t1; COMMIT; +_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 sqlit_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 sqlit000000000000000 ON sub0ects(sub0ect); CREATE INDEX su00000_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) d/ cCREATE TABLE t0(a TEXT, b TEXT); CREATE VIEW v0 AS SELECT t0.a FROM t0; CREATE TRIGGER t0001 INSTEAD OF DELETE ON v0 BEGIN SELECT 0;SELECT END; DELETE FROM v0 WHERE a= 1; 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*.int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null,constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200)/ not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L000000000000000D 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, U0000000000010000 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, D02005 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 TA3BLE 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, ISSUE4ID 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 tex5t(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,6 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) null7, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) no8t null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE 9TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30): not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000; text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TxuCREATE VIRTUAL TABLE t0 USING fts3(x); BEGIN; INSERT INTO t0 SELECT('T00 00u000 0000 0o0 00L0t0 0s i0 t00 0000i0'); *YCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES('', 'foo'); INSERT INTO ft VALUES(' >=', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo'; *YCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES($, 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo'; 1CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES('', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft; *YCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES('', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offets(ft) FROM ft WHERE ft MATCH 'foo'; HCREATE TABLE x(a,b); CREATE VIEW y AS SELECT sum(1) p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE 1=1=y2.q; SELECT * from z;  BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);EXPLAIN CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT);ANALYZE TEMP TRIGGER t00000 AFTER UPDATE ON TempT000e BEGIN INSERe00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; 5CREATE VIRTUAL TABLE t0 USING fts3(x); BEGIN; INSERT INTO t0 VALUES('0ABLE t0 USING$fts3(x); BEGIN; IN 00u000 0000 0o0 00L0t0 0s i0 t00 0000 0'); {{CREATE VIRTUAL TABLE t0 USING fts3(x); BEGIN; INSERT INTO t0 VALUES(NOT'T00 00u000 0000 0o0 00L0t0 0s i0 t00 0000i0'); 88b ICREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN t102 ON 0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); ^ACREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C'); INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N'); INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0'); 5!oCREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S');INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X BY 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(17, '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'); 5"oCREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X DY 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C'); INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N'); INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0'); 5#oCREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', time(1,1,1), '0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X FY 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C'); INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N'); INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0'); ?$CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(42001-01-01, '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 H INSERT INTO x1(docid,a,b,c) VALUES(2001-01-017, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C'); INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N'); INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0'); ?%CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S');J(6, nmem G T', 'U V I Q P', 'X Y 0 L S'); INSERT I', 'B O U A Q) INSERT INTO x1NTO 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) VALNES(8, '\ 0 0 0', '0U 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, Q Z'); INSERT INTO x1(`ocid,a,b,c)VALUES(11, '0 E Q 0', '0 RAISE B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12,RT INTO x1(docid,a,b,c) VALUES(1J Q'); INSERA INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); UNSERT 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'); INSER 0 0', 'U 0 N 0 P', 'X Z Y G (16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(dScid,a,bLUES(17, 'Q T S K 0', 'W B 0 Z N',O x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N'); INSERT INTK x@(docid,a,b,c) VALUES(19, 'T 0:0 7 0', '0 V Y B X', 'L Z 0 N 0'); &-CREATE VIRTUAL TABLE x1 USING FTS4(a,b' c); INSERT INSER 0 0', 'U 0 N 0 P', 'XTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(do 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0"K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L @ L U', '0 F N X S', '0  A N Y'); INSER] INTO x1(docid,a,b,c) VALUESLG 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'NSERT 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, '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(NSERT INTO x1(docid,a,b,c)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'); 'CCREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(3, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(9, '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(dosid,a,b,c) VALUES(6, 'M R NY 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C'); INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N'); INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0'); /(cCREATE VIRTUAL TABLE x1 USING FTS4(a,b, c 'Y 0 0 0', '0 x1(docid,a,b,c) VALUES(0, 'H 0 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT ILTO 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 P, 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docXd,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,?,c VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT .NTO 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) VALUEo(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 YNTO x1(docid,a,b,c) VALUES(16, ' 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VA UES(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');  )CREATE VIRTUAL TABLE x1 USING FTS4(a,ocid,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', ' INSERT INTO x0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT In 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'RY 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) VALUESA13, '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'); *3CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X T Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O x1(doci,a,b,c) VALUES(17, 'Q 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'); INSER` INTO x(docid,a,b,)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 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(dNcid,a,b,c) VALUES(15, 'C E < C C',C'W F M N M', 'T Z U X T'); INSERTINTO x1(docid,a,b,c) VAZUES16, '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 'C E U C C', 'W F M N8, '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 8 B X', 'L Z 0 N 0'); ^,ACREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16,y+16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT x+64, y+64 FROM t2; SELECT count(DISTINCT zeroblob(?)), sum(y) FROM t2; +CREATE VIRTUAL TABLE x1 USING FTS4(,b, ); IESERT INTO x1(docidNTO x1(docid,a,b,c) VALUES(1, 'K N L 0''0 Z 0 J Q', '0 U W S E')F INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSE2T 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 YN''R 0 0 X V', 'B O U A Q'); INSERX Y 0 L S'); INSERT INTT @TO 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) VALES(6, 'M R G T', ' V I Q P', 'XV <@/CREATE VIRTUAL TABLE f00 USING fts3(`0`, 'a''b''00000000'); ^.ACREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16,y+16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT x+64, y+64 FROM t2; SELECT count(DISTINCT zeroblob(1)), count(1)ROM t2; ^-ACREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16, -16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT x+64, y+64 FROM t2; SELECT count(DISTINCT zeroblob(1)), sum(y) FROM t2; `t1mPRAGMA foreign_keys = ON; CREATE TABLE t1(ASa UNIQUE, d REFERENCES t1 /* */UNIQUE);REPLACE INTO t1 VALUES(1,2);0=PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =510; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(52001-01-0100), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT-randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; \\N3!PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char(122001- "a","b"-01-01),b)OR a='0' ORDER BY +x; N2!PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( randomblob(1),-01-01),b)OR a='0' ORDER BY +x;   5ECREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES( randomblob(1)-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2* random()a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; N4!PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char(122001- randomblob(1)),b)OR a='0' ORDER BY +x; c=8CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT random(), substr(m,2,1) AS00 FROM t0 GROUP BY m ORDER BY 1, 2; =7CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT lower(?), substr(m,2,1) AS00 FROM t0 GROUP BY m ORDER BY 1, 2; 67CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL);EXPLAIN INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2* random()a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; i9WDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(a,4) FROM t1 WAMP; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE typeof(1) BETWEEN [a]AND 60; i:WDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WAMP; CREATE INDEX t0b ON t1(c); ANALYZE; SELECT c FROM t1 WHERE typeof(1) BETWEEN [a]AND 60; i;WDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,0,'000'||substr(c,4) FROM t1 WAMP; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE typeof(1) BETWEEN [a]AND 60; i<WDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,1,'000'||substr(c,4) FROM t1 WAMP; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE typeof(1) BETWEEN [a]AND 60; i=WDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WAMP; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE typeof(1) BETWEEN [a]AND 'a' l>]DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c, -14) FROM t1 WAMP; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE typeof(1) BETWEEN [a]AND 60; |?}DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5, - "a","b"||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; 22[C;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100, typeof(1)), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.y HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); [B;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100, typeof(1)), (100,5), (107,5); SELECT a.x,Avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); A#PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c T DEFAULT `a` DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; y@wCREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT "a","b" x, * FROM t01 UNION ALL SELECT x, y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT * FROM v0 WHERE x='0' ORDER BY y; !BCH CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE a,b, avg(1), c, a aC; .GaCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE d=? AND b=? AND a=? AND b=? AND c=? AND d=? AND b=? AND c=? AND d=?AND c=? AND d=+2 days OR?; 0FeATTACH''AS nonamonameme; ATTACH':memory:' AS e; ATTACH':memory:' AS iinm; ATTACH':memory:' AS inmee; ATTACH':memory:' AS inme; ATTACH':memory:' AS oname; ANALYZE:memory:' A[E;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100, total(1)), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); [D;CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100, typeof(1)), (100,5), (-07,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); ?WJhPUCREATE VIRTUAL TABLE t000s0 USING fts4aux(" load_extension(1,1)0000'0'0000"); SELECT * FROM t000s0; XO5CREATE VIRTUAL TABLE t000s0 USING fts4aux("VIEW0000'0'0000"); SELECT * FROM t000s0; XN5CREATE VIRTUAL TABLE t000s0 USING fts4aux( [a]"0000'0'0000"); SELECT * FROM t000s0; TM-CREATE VIRTUAL TABLE t000s0 USING fts4aux("000 "a"0000"); SELECT * FROM t000s0; TL-CREATE VIRTUAL TABLE t000s0 USING fts4aux("0 "a"0'0000"); SELECT * FROM t000s0; ^KACREATE TEMP TABLE t(c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*000'; -JaSELECT sqlite_compileoption_used('NOTS'); =ICREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), sqlite_source_id() FROM t0 GROUP BY m ORDER BY 2, 2; 1v1ASPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,?) ARPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a&b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) AQPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,C) __KUPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','2001-01-0100000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) NT!PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'AUTOINCREMENTa''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) s^sA[SELECT coalesce(instr(NULL,NULL)< 9,instr(NULL,NULL), 9,00); Z=PRAGMA page_size=1024; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(3,hex(randomblob(200))); INSERT INTO t1 VALUES(2,hex(randomblob(200))); INSERT INTO t1 VALUES(3,hex(randomblob(200))); INSERT INTO t1 VALUES(4, hex(randomblob(200))); SELECT count(*) FROM t1; :Y{PRAGMA encoding=UTF16le; SELECT hex(ltrim(x'00b000')); GXCREATE VIRTUAL TABLE T0 USING fts4(co((((((((((((((((((((((((((((( GWCREATE VIRTUAL TABLE t0 USING fts4(content=t,00000, languageid=l); TV-PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) 1\G^SELECT sqlite_rename_trigger( 'a''b''[RGGER r0 ON x00 WHEN',NULL); Q]'CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT# FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0=+++NOT++++++++++++++++++++ zeroblob(1)); K\CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE NOT (P)=x2.a; CREATE VIEW z AS SELECT y1.*, y2. *FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; jj_)PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint;EXPLAIN INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROMt1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800)Mt1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; jj`)PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint;EXPLAIN INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800)Mt1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 / INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; rr aPRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint;EXPLAIN INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800)Mt1; /* 1SERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800)-FROM t1; /* 256 */ COMMIT; P(,PXe5PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2( a,ba, b, FOREIGN KEY(a, b) REFERENCES t1 ON DELETE CASCADE);REPLACE INTO t1 VALUES(2001-01-011,2); INSERT INTO t2 VALUES(1, 2); !dGPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a char(1) PRIMARY KEY,OF b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(2,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 WHERE a=1; Tc-SELECT 1000000%000000060000100000 %00%0000000600001000000%0000000600000060000; Tb-CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY sqlite_compileoption_used(1),"b"COLLATE a DESC; ;%;bkICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[^S(-]00*'; bjICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[^-[a]00*'; ;i{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3( [a], d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, d, e, f,E; ^hACREATE TABLE t0(a); INSERT INTO t0 VALUES(' '); SELECT a, CAST(a AS [a] int0000) FROM t0; gCREATE TABLE t1(x, y DEFAULT(date(CURRENT_TIME))); INSERT INTO t1(x)VALUES(1); SELECT x, t1(x, y DEL(x, y DEAULT(tlength(y) FROM t1; KfSELECT+avg(1)LIKE $::00s00 LIKE $::00s0 LIKE $::0 LIKE $::0000000003; XXVn1WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ -01 FROM i LIMIT 5) SELECT x FROM i; Om#PRAGMA cache_size =-10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(92001-01E0100) 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 randomblob(00281-01-0100) FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(900); xluBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT * FROM t0; INSERT INTO t0 SELECT * FROM t0; UPDATE t0 SET y=y+1 WHERE x=new.rowid; SELECT 000; DELETE FROM [a]WHERE x=new.rowid;SELECT END; INSERT INTO t1(a,b) VALUES(0,0);SELECT CO; 'b!r'esOWITH i(x) AS ( VALUES(1) UNION ALL SELECT-x+1 FROM i LIMIT 4) SELECT group_concat(1.1) x FROM i; _rCCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INY KEY, q, r); CREATE TABLE t002(x INTdGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT 2%Y FROM t000, t001,t000, t001, t000, t001, t002 WHRE t2 W +q[CREATE TABLE t0 (a primary key, b, c); INSERT INTO t0 values (0,00, 3); CREATE TRIGGER a0000l AFTER UPDATE ON t0 BEGIN UPDATE OR IGNORE t0 SET a0= "a"."b" = 00; END; =pCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'uTO00000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 ''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY 002; o9CREATE TABLE t0(a, b coalesce(1E1)); ALTER TABLE t0 ADD c REFERENCES t0(c) ; SELECT sql FROM sqlite_master WHERE tbl_name = 't0' AND type = 'table'; C&WCZ{9SELECT 1999999999999999999999999.999999>0 EXCEPT SELECT 999999999999999999999.99(9999 Wz3SELECT 1999999999999999999999.99999990 EXCEPT SELECT 999999999999999999999.99999 Zy9SELECT 1999999999999999999999999.999=9990 EXCEPT SELECT 999999999999999999999.9999999 Zx9SELECT 199=999999999999999999999.99999990 EXCEPT SELECT 999999999999999999999.9999999 \w=CREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGERPRIMARY KEY); SELECT t0.a FROM ((t0 JOIN t2 ON t0.a=t2.a) AS x JOIN t2x ON x.a=t2x.b -1) as00; v!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1<1,1,1,b,c,d,e)); oucWITH i(x) AS ( VALUES(1) UNION ALL SELECT-x+1 FROM i LIMIT 2001-01-015) SELECT group_concat(1.1) x FROM i; etOWITH i(x) AS ( VALUES(1) UNION ALL SELECT-x+1 FROM i LIMIT 9) SELECT group_concat(1.1) x FROM i; 5rxbISELECT typeof(group_concat(x,'')) FROM (SELECT '' AS x UNION ALL SELECT zeroblob(1)LIMIT ''); 1iSELECT '1.00e6464'/'1.0000e462'/'1.0000e142'; B~ CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB '[0' JOIN t102 AS t2 ON(t2.i0< t0.i0 OR (t2.i0",'000','000'); ASELECT sqlite_rename_parent( "REFERENCES >=sa",'000','000'); ASELECT sqlite_rename_parent( CURRENT_TIMESTAMP,'000','000'); ASELECT sqlite_rename_parent( "REFERENCES .esa",'000','000'); A SELECT sqlite_rename_parent( "REFERENCES>0esa",'000','000'); A SELECT sqlite_rename_parent( "REFERENCES mCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT avg(1)CURRENT_TIMESTAMP, tb0tH.x, * FROM tabc, txyz ORDEbc, txyz, tb0th ORDER BY 9 LIMIT 1; 3=kCREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a c,INT0000, b INT0000, b INT0000); INL; <PRAGMA auto_vacuum= 0X2LCT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM-t1; DELETE FROM t1 WHERE a=1; d;MCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT a, "a","b"AS m FROM t2 GROUP BY m; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3) rV@1PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode ="WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(802001-102010) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(000) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 *FROM t1; /* 64/ (800) FROM t1; /* 64 "/ INSERT INTO t1 SE\ECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT I7TO t1; ?SELECT NULL,"a","b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY+2 ays x; P,>PjDYCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001( a,bp INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHWHERE t0; jCYCREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHWHERE t0; fBQCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHWHERE t0; fAQCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(pINTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHWHERE t0; Ca-IaPRAGMA incremental_vacuum( -12147483649); H;CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(2,2); SELeCT a, b,CURRENT_TIMESTAMP '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 3, 3,a, '000'; ^GACREATE TABLE t000(a YNTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p PRIMARY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHWHERE t0; KFCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INER PRIMARY KEY, q, r); CREATE TABLE t002(x I); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHWHERE t0; jEYCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002( a,bx INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHWHERE t0; NL%PRAGMA short_column_names=OFF; PRAGMA full_column_names=OFF; CREATE VIEW v0 AS SELECT sqlite_compileoption_used(1) t000 ORDER BY 1 LIMIT 1; UK/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 x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; UJ/PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(990)); INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(); ROLLBACK; GNADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(93001-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; 5MoCREATE TABLE temp.n1(x, y); INSERT INTO temp.n1 VALUES('0000', '00'); CREATE TRIGGER temp.n0 AFTER INSERT ON n1 BEGIN SELECT 1; END; CREATE INDEX temp.n0 ON n1(x, y);VACUUM ^gQSCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT avg(1), txyZ.x, datetime(1,1,1)x, * FROM /* */ txyz, tb0th ORDER BY 9 LIMIT 1; lP]PRAGMA encoding=UTF16le; CREATE TABLE RENAMERECURSIVEOR0006(a RIMARY KEY); INSERT INTO t0VALUES('ES\'OADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(92001-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 GROUP BY 1; nnR!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,0) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; nnS!DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777-77772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; rr TDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 URRENT_TIMESTAMP; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; )k)?VCREATE VIRTUAL TABLE f0 USING fts4(0, tokenize=uni#ode61); U'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+ -11,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; @|6\@\5BEGIN; 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 Re00T000e(Te0tSt00n0) SELECT char( "a","b" )tSt00n0 FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; e[OWITH i(x) AS ( VALUES(1) UNION ALL SELECT changes() FROM i ORDER BY 1) SELECT x FROM i LIMIT 400 oZcWITH i(x) AS ( VALUES(1) UNION ALL SELECT changes() FROM i ORDER BY 1) SELECT x FROM i LIMIT 2001-01-0110; CY CREATE VIRTUAL TABLE f0 USING fts4(0, tokenize=unicode61 `a`); ?XCREATE VIRTUAL TABLE f0 USING fts4(0, tokenize [a]code61); ?WCREATE VIRTUAL TABLE f0 USING fts4(0, tokenize=un code61); U5_oCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0');INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('\0E0'); ^CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'); INSERT INTO t0 VALUES('0');IN VALUES( VALUES('\0E0'); ]9BEGIN; 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 Re00T000e(Te0tSt00n0) SELECT char(2001-01-01 )tSt00n0 FROM TempT000e LIMIT1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;  bCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'; INSERT INTTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t); aCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacretcs=1O t0 VALUES'0'); INSES('0'); fNSERT INDO t0 LALUES('0'); INSERT INT< t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t 8ALUES('0'); INSERT INTO 0 VALUES('0'); INSERT I@TO t0 V0'); 5`oCREATE VIRTUAL TABLE t0 USING fts3(tokenize=unicode61 'remove_diacritics=1'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('\0E0'); m_mHhSELECT 1.0000000<000.060000000000<000.0600<000-00<00000<000.0600 0; HgSELECT 1.0000<00<000.060000000000<000.06000000-00<00000<000.0600 0; f/CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'); INSERT INTO t0 VALUES('0'); INSERT INTO t 2eiCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 >remove_diacritics=1'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INt0 VALUES('0'); INSdRT INTO t0 VALUES('0'); INSERT INTO t0 V999999990E0'); dCREATE VIRTUAL TABLE t0 USING fts4(tokenize=,,,,,,,,ode61 'remove_diacritics=1'); INSERT INTUES('0'); INSERT INTO t0 VALUES('\0E0'); c?CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 #remove_diacritics=1'); IN INTO t0 VALUES('0'); IN INTO t0 VALUES('0'); IN INTO t0 VALUES('0 ); IN ;nnaCREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, [a] DESC, b, e DESC, b, c, f, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, e DESC, b, c, a DESC; nmaCREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c,e DESC, b, e DESC, b, D, f, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, e DESC, b, c, a DESC; lBEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in ( random(),2,4,8);"b""b");10))kYDROP TRIGGER IF EXISTS MAIN.t03. C000 ejOSELECT 1.0000000000<000.060000000000<000.0600<000.060000000000<000.06000000-00<00000<000.0600 0; Zi9SELECT 1.0000000<000.06000000<000.06000000-00<00000<000.06000000-00<0000<000.0600 0; |.B|Br 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 d DESC, e DESC, b, c, a DESC; Bq 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=+-13 ORDER BY d DESC, e DESC, b, c, a DESC; "pICREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES( trim(1,1)); INSERT INTO t0 VALUES('0y'); INSERT INTO t0 VALUES('c0'); SELECT '0',$substr(m,2) IS m FROM t0 ORDER BY m; SELECT '0', substr(m,2) IS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower(m); No!CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE+NOT NOT(1)=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE (1)=y2.q; SELECT * from z; 7t-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN randomblob(4)WHEN 2 THEN zeroblob(9)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; EsCREATE 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= - -113 ORDER BY d DESC, e DESC, b, c, a DESC; khkyvwCREATE TABLE t4(a,b,c int,d,e,f,g,h,i); CREATE INDEX t4all ON t4(c,b,c,d,e,f,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40010'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE h=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; u-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(4)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; ywwCREATE TABLE t4(a,b,c int,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40010'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE h=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE h=7; SELECT i FROM t4 WHERE h=8; _yCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(62001-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%4; PRAGMA incremental_vacuum(); ROLLBACK; yxwCREATE TABLE t4(a,b,c int,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40010'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE h=?; 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; k|2k<CREATE VIRTUAL TABLE t0 USING rtree(:memory:x2, y1, y2); C CREATE VIRTUAL TABLE t0 USING rtree(i0, x0, x2, y1, y2);VACUUM ?~CREATE VIRTUAL TABLE t0 USING rtree(i0, x0, x2, y1, y2) ;; G}CREATE VIRTUAL TABLE t0 USING rtree(i0 glob(1,1), x0, x2, y1, y2); <|CREATE VIRTUAL TABLE t0 USING rtree(i0 x0, x2, y1, y2); ^{ACREATE TABLE t000(a INvEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INY KEY, q, r); CREATE TABLE t002(xINTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT 2 FROM t000, t001, t000, t000, t001, t002 IR, t001, t002 WR _zCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(62001-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%7; PRAGMA incremental_vacuum(); ROLLBACK; ey (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000Mint00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID));ANALYZETABLE E00000(T00000 null); CREATE TABLE E0000000000000(C000000 int null, S0000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 O< BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary k BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary k BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary k BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary kٹ BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text no| 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));ANALYZETABLE E00000(T00000 null); CREATE TABLE E0000000000000(C000000 int null, S0000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ey (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U 0000000000 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));ANALYZETABLE E00000(T00000 null); CREATE TABLE E0000000000000(C000000 int null, S0000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ey (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U 0000000000 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));ANALYZETABLE E00000(T00000 null); CREATE TABLE E0000000000000(C000000 int null, S0000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ey (ISSUEID) OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID));ANALYZETABLE E00000(T00000 null); CREATE TABLE E0000000000000(C000000 int null, S0000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ey (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constra sqlite_compileoption_used(1));ANALYZETABLE E00000(T00000 null); CREATE TABLE E0000000000000(C000000 int null, S0000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 O! GCREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t1b ON t1(b); CREATE INDEX t0d ON t0(d); ANALYZE sqlite_master; INSERT INTO sqlite_stat1 VALUES('t1','t1b','10001-01-01 100'); INSERT INTO sqlite_stat1 VALUES('t0','t0d','100002001-01-01 500'); ANALYZE sqlite_master; 0XPLAI _CCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b='000'), t0 WHERE strftime(?,1,1,1, '000'); IFSERT c='-BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISS BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary kUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID));EXPLAIN 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));ANALYZETABLE E00000(T00000 null); CREATE TABLE E0000000000000(C000000 int null, S0000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P0(S00 int00l, S0000 int not null, L000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L0000000 text(20) null, U0000000 text(50) null, P0000 text(50) not null, T0000000000 text, M000000000000 text(1) null, N0000 text, M00000 text(1) null, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P0000000(C000000 int null, S00000 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, L000000000000000 text(50) null, N000 text(100) not null, I0 text(100) null,constraint P0000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE M00000000(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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, T00000 text(50) not null, D0000000000 int not null, S0000000 text(50) not null, S00000000 text(30) not null, L0000000 text(200) not null, constraint P00000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T0000(C00 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, RE000000000 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, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, D000000 text(20) null, A000000000 text(50) not null, T00000000000000 text null, R000000000 text(50) not null, T00000 text(50) not null, L0000 text(200) not null, I00000000000 text not null, A00000000000000 text not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 ?Szm?+]SELECT 10e+440.0044440e+4444000n00b000; @::j(WSELECT 10000000000060000.004444e044*[SELECT 1000000.004444444444444440e03; }SELECT 1000000.00444444444444444444440e0<4440000060000;j YCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(2,'000'); INSERT INTO t1 VALUES(1,'0'); INSERT INTO t1 VALUES(3,'000000'); SELECT *, ( SELECT sqlite_compileoption_used(1) y FROM (SELECT oid='00000'y) ) FROM ( SELECT * FROM t1 ) AS x; Q 'CREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t1b ON t1(b); CREATE INDEX t0d ON t0(d); ANALYZE sqlite_master; INSERT INTO sqlite_stat1 VALUES('t1','t1b',' unicode(1)1-01 100'); INSERT INTO sqlite_stat1 VALUES('t0','t0d','100002001-01-01 500'); ANALYZE sqlite_master; EXPLAIN QUERY PLAN SELECT * FROM t1, t0 WHERE d=b; ) WCREATE TABLE t1(a,b,x); CREATE TABLE t0(c,d,y); CREATE INDEX t1b ON t1(b); CREATE INDEX t0d ON t0(d); REINDEX sqlite_master; INSERT INTO sql1 VALUES('t11b','100'); {<q!CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,c,e,c,d,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= typeof(1)?;  CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,c,e,c,d,b,c,c,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; @SELECT sqlite_rename_parent( "REFERENCES -1",'000','000'); <SELECT sqlite_rename_parent( "REFERENC ?1",'000','000'); <SELECT sqlite_rename_parent( " [a]RENCES",'000','000'); C SELECT 1000000.00444444444444444444440e0444400:::::::00060000; j5jGPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROMt1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob( [a]), sqlite_compileoption_get(9)ELETE FROM t1 WHERE rowid%2; GPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100));INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROMt1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob( [a]), sqlite_compileoption_get(1)ELETE FROM t1 WHERE rowid%2; O5O=CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB OFFSETR (t0.i0< time(1,1,1)>500 AND t0.i0=t1.i0)); CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 CROSS LEFT JOIN tON t1.i0t1.i0)); 5CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a,0'000' FROM t1 GROUP BY 3, 3,a, '000', b, '000' FROM; GPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROMt1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob( [a]), sqlite_compileoption_get(A)ELETE FROM t1 WHERE rowid%2; ;}H!CREATE TABLE pp(a UNIQUE, b, c, PRIMARY KEY(b, c)) WITHOUT rowid; CREATE TABLE cc(d, e, f UNIQUE, FOREIGN KEY(d, e) REFERENCES p0);REPLACE INTO pp VALUES(1, 2, 3); INSERT INTO cc VALUES(2, 3, 1); H CREATE TABLE pp(a UNIQUE, b, c, PRIMARY KEY(b, c)) WITHOUT rowid;REINDEX TABLE cc(d, e, f UNIQUE, FOREIGN KEY(d, e) REFERENCES p0); INSERT INTO pp VALUES(1, 2, 3); INSERT INTO cc VALUES(2, 3, 1); :yCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB'' OR (t0.i0< time(1,1,1)>500 AND t0.i0=t1.i0)); ACREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB ' [a]a0' OR (t0.i0< time(1,1,1)>500 AND t0.i0=t1.i0)); m#_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','1߃| '); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY a,bq"gCREATE TABLE t1( a,ba,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','1߃| '); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY a,b RCRK*WITH i(x) AS ( VALUES(1) UNION ALL SELECT /**/$ */ x FROM i LIMIT 10; k)[WITH i(x) AS ( VALUES(1) UNION ALL SELECT /**/$x<1 FROM i ORDER BY 1) SELECT /* */ x FROM i LIMIT 10; V(1CREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00NSERT INTO t0TABLE t03(n00e); IN3 VALUES (NULc'); SELECT count( typeof(1)), group_concat(1,1)A00 FROM t03 GROUP BY lower(n00e); .'cSELECT abs( abs(1)-922337203685477580+-1); '&USELECT abs(9922337203685477580+-1); I%CREATE TABLE t1(x, y DEFAULT(atetime( b (1))); NTO t1(x)VALUES(1); m$_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','116l '),('t1','t1b','1߃| '); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY a,b v&NvT/-CREATE TABLE t1(a TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSERT INTO t1 VALUES(5.4e208,'5.4e-08'); SELECT typeof(a)- a& typeof(b), b FROM t1; T.-CREATE TABLE t1(a TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSERT INTO t1 VALUES(5.4e208,'5.4e208'); SELECT typeof(a)- a, typeof(b), b FROM t1; -CREATE TABLE t1(a TEXT COLLATE'000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSER8'); SELECT typeof(a)- a, typeof(b), b FROM t1; T,-CREATE TABLE t1(a TEXP COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSERT INTO t1 VALUES(5.4e208,'5.4e-08'); SELECT typeof(a)- a, typeof(b), b FROM t1; o+cWITH i(x) AS ( VALUES(1) UNION ALL SELECT /* */$x<1 FROM a.b i ORDER BY 1) SELECT /* */ x FROM i LIMIT 10; (X'+5]SELECT coalesce(instr(NULL, (1)), 9,0); ^4ACREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE-sql GLOB '*[E00'; ^3ACREATE TEMP TABLE t01(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E00'; L2CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE 8 LIKE '' ESCAPE ''; L1CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE 8 LIKE '%' ESCAPE ''; T0-CREATE TABLE t1(a TEXT COLLATE BINARY); ALTER TABLE t1 ADD COLUMN b INT0000 COLLATE NOCASE; INSERT INTO t1 VALUES(1,'-2'); INSERT INTO t1 VALUES(5.4e208,'5.4e-08'); SELECT /* */(a)- a, typeof(b), b FROM t1; "4"E:BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =NOT-'000.';EXPLAIN COMMIT; F9CREATE TABLE t1(x V00CHAR(166666666666660), y, z DOUB0E)CR(1)E, S8+CREATE TABLE t1(x V00CHAR(10), y, z DOUB0E); CREATE TABLE t0(a DOUB0char(1)E, e7OCREATE TABLE t1(x V00CH, z DOUB0E); CREATE TABLE t0(a cAR(10), y, z DOUB0E); CREATE TABLE t0(a c 6DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES($400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), mATTACHax(0e02, total(1)) FROM t1 GROUP BY i01; >;<{CREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,a);REPLACE INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGN KEY(x,y) REFERENCES t0000(a,b)); INSERT INTO t0e02 VALUES(300,100,200); UPDATE t0e01 set a = 200 where a / 100; SELECT* FROM t0e01, t0e02; >;BEGIN; CREATE TABLE n00be0s(oidRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =NOT-'000.'; COMMIT;  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)ANALYZE 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 su OU sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATENTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) =CREATE TABLE messa0es(W00 INTEGER PRIMARY KEY AUTOINCREMENT, messa0e_id, document_id BLOB, i00, remote_id INT0000, sender INT0000, sub0ect0000000, sub0ect INT0000s COLLATE NOCASE, commen, 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);ANALYZE 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 su OU sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATENTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) DD ?EPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(220015012001501-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(5 || 0)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 >CREATE TABLE messa0es(W00 INTEGER PRIMARY KEY AUTOINCREMENT, messa0e_id, document_id BLOB, i00, remote_id INT0000, sender INT0000, sub0ect0000000, sub0ect INT0000s COLLATE NOCASE, commen, 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 char(1) DEFAULT-NULL, 5Y5wBsCREATE TABLE t1(x, y DEFAULT(datetime(' ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; &AQPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(220015012001501-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; DELETE FROM t1 #@KPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(220015012001501-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT +2 daysNULL,randomblob(50)FROM t1; DELETE FROM t1 - $-wJsCREATE TABLE t1(x, y DEFAULT(datetime('0e02 ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; zIyCREATE TABLE t1(x, y DEFAULT(datetime(' avg(1) ;/* */now'))); INSERT INTO t1(x)VALUES(1); S; wHsCREATE TABLE t1(x, y DEFAULT(datetime(' - ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; wGsCREATE TABLE t1(x, y DEFAULT(datetime(' - ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; wFsCREATE TABLE t1(x, y DEFAULT(datetime(' - ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; wEsCREATE TABLE t1(x, y DEFAULT(datetime(' - ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; wDsCREATE TABLE t1(x, y DEFAULT(datetime(' 6 ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; wCsCREATE TABLE t1(x, y DEFAULT(datetime(' 0 ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; (p(DM PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char(.2 || 01-01),b)OR a='0' ORDER BY +x; DL PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char(.2001,?1-01),b)OR a='0' ORDER BY +x; DK PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr($char(.2001,01-01),b)OR a='0' ORDER BY +x;   QPRAGMA foreign_keys = ON; CREATE TABLE t1(ASCASa UNIQUE, b); CREATE TABLE t2(c, d REFERENCES t1(ASCa));REPLACE INTO t2 VALUES(1,2); F; EPPRAGMA case_sensitive_like=off;PRAGMA case_sensitive_like=VACUUM OPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000';EXPLAIN UPDATE t1 SET x=c+1; SELECT* FROM t1; NPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000DEFAULT '90'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000';EXPLAIN UPDATE t1 SET x=x+1; SELECT* FROM t1; rSiCREATE TABLE t0(a,b,c,d, PRIMARY KEY(b,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000');REPLACE INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *, '0' FROM t0 ORDER BY c, a; rRiCREATE TABLE t0(a,b,c,d, PRIMARY KEY(b,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(d, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *, '0' FROM t0 ORDER BY c, a; ,y,IUCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 ''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY ifnull(1,1) idx; T CREATE TABLE t0(a,b,c,d, PRIMARY KEY(b,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *,CURRENT_TIMESTAMP '0' FROM t0 ORDER BY c, a; ?jXYCREATE TABLE t0(x,y DEF "a","b", z DEFAULT-x'0000'); INSERT INTO t0 DEFAULT VALUES; SELECT * FROM t0; jWYCREATE TABLE t0(x,y DEFAULT-4.3, z DEFAULT-x'0A00'); INSERT INTO t0 DEFAULT VALUES; SELECT * FROM t0; PV%BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT @1ROM2001-01-012001-01-01 a WHERE i0 NOT IN (SELECT "a","a" b); ++QY'PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length( @1y) FROM t1 ORDER BY x; lZ]PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 SELECT x+1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length( @1y) FROM t1 ORDER BY x; RR6]qPRAGMA ing=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)MATCH'0' OR trim(1,B) 6\qPRAGMA ing=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a00e0',b)OR a='0' OR trim(1,B) 6[qPRAGMA ing=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a00e0',b)OR a='0' OR trim(1,B) of}|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ usponmlifb[RK~D}@XVSPML}KzGyFvErDnCkBfAc@a?\>V=P7;69564/3-2*1)0(/'.&-%,"+*)(' &%w$t#p"m!j h]ZYXUSQMJB?=< : 5 /{8z5y0v.u)t#srpnkhfc ` ] [ * #! ؔДϓyΓw͓v̓t˓r|<ʓnɓhȓbǓ_Ɠ\œVēTÓS“RQNLID@ (j<b(thmCREATE TABLE t1(x, y DEFAULT(datetime( zeroblob(1)))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); ?gPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(f COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT "a","b" a FROM t0t0006; 'fUATTACH round(10e045-01-011)as MAIN; 'eUATTACH round(10e025-01,011)as MAIN; 'dUATTACH round(10e027-01-011)as MAIN; +c]SELECT printf('%*.*S',5,2 -10000000*3); +b]SELECT printf('%*.*o',5,2 -10000000*3); +a]SELECT printf('%#.*d',5,2 -10000000*3); +`]SELECT printf('%*.*d',5,2 -10000000*?); +_]SELECT printf('%*.*d',5,2 -90000000*3); 6^qPRAGMA ing=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a=oid OR trim(1,B) J%JWj3BEGIN; CREATE TABLE n00be0s(a PRIMARY KEY, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT random() e0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b = '000000000000000000000000000000000000';REINDEX; Wi3BEGIN; CREATE TABLE n00be0s(a PRIMARY KEY, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT- random() e0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b = '000000000000000000000000000000000000'; COMMIT; 4mmCREATE TABLE x0(a CHECK( (1) ), b); CREATE TABLE t0(a, b, CHECK( a| 1=1|b )); INSERT INTO x0 VALUES(1, 'x0'); INSERT INTO x0 VALUES(1, 'y0'); INSERT INTO t0 SELECT * FROM x0; 0leCREATE TABLE x0(a CHECK( (1) ), b); CREATE TABLE t0(a, b, CHECK( a||b )); INSERT INTO x0 VALUES(1, 'x0'); INSERT INTO x0 VALUES(1, 'y0'); INSERT INTO x0 SELECT * FROM x0; xkuBEGIN 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 /* */(SELECT "a","b"A,1,1) a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; pCREATE VIRTUAL TABLE t2 USING fts4(poi, a000, notindexed=poi); INSERT INTO t2 VALUES(.00,'x x x'); INSERT INTO t2 VALUES(X'0000', '0 0 0'); INSERT INTO t2 VALUES(NULL, '0 0 0'); INSERT INTO t2 VALUES(100.2,'0 0'); INSERT INTO t2 VALUES('0', '0 0 0'); 7osCREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','92000'),('t1','t1b','10000'); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c; 3nkCREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a',''),('t1','t1b','10000'); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c; >u|w>5toDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1 (docid, c) VALUES (1, zeroblob(1)); INSERT INTO t1(docid,c) VALUES (2, 'T00t w00 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'T0is i0 0 test'); DELETE FROM t1 WHERE 1=1; --0000 INSERT INTO t1(docid, c) VALUES (1, '0 t000'); sDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1 (docid, c) VALUES (1, 'T00 0 te00'); INSERT INTO t1(docid,c) VALUES (2, 'T00t w00 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'T0is i0 0 test'); DELETE FROM t1 WHERE =1; - uroDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1 (docid, c) VALUES (1, 'T00 0 te00'); INSERT INTO t1(docid,c) VALUES (2, 'T00t w00 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'T0is i0 0 test'); DELETE FROM t1 qCREATE VIRTUAL TABLE t2 USING fts4(poi,=a000, notindexed=poi); I INTO t2 VALUES(100.2,'0 0'); INSERT INTO t2 VALUES('0', '0 0 0'); V!wGCREATE TABLE t0(x TEXT UNIQUE, y TEXT UNIQUE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (z='000' OR y='000') AND z ISNULL N ivWPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', 'a''00',1); INSERT INTO t1 VALUES(2,'00','4alle0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) 9uwDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c a,b); INSERT INTO t1 (docid, c) VALUES (1, 'T00 0 te00'); INSERT INTO t1(docid,c) VALUES (2, 'T00t w00 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'T0is i0 0 test'); DELETE FROM t1 WHERE 1=1; --0000 INSERT INTO t1(docid, c) VALUES (1, '0 t000'); S[jk=SfQCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE 2(a, b); CREATE VIEW a002 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN (1,2%Y); +]SELECT printf('%*.*q',5,2,300000e1003); )YDROP TRIGGER F EXISTS M.TCHt03. C000 J~SELECT avg( ?13)LIKE $00s0 LIKE $::0 LIKE $::0000003; IKE $::0000003; 6}sSELECT avg( ?11)LIKE $::00s00 LIKE $::00s0 LIKE?3; J|SELECT avg( ?11)LIKE avg( ?11)LIKE $::00s0 LIKE $::0 LIKE $::0;0p003; T{-SELECT avg( ?11)LIKE $::00::0 LIKE $::00s00 LIKE $::00s0 LIKE $::0 LIKE $::003; JzSELECT avg( ?11)LIKE $::00s00 LIKE $::00s0 LIKE ?10 LIKE $::0000003; JySELECT avg( "a")LIKE $::00s00 LIKE $::00s0 LIKE $::0 LIKE $::0000003; !xGCREATE TABLE t0(x TEXT UNIQUT, y TEXT UNIQlE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000') AND z ISNULL N a#Kpa@ SELECT-quote(1111119999999999999999999991111111111111E101); * [SELECT-quote(.111111111111111111E101); *[SELECT-quote(1111111111111111111E111); ocCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a,a, b,c,d,e); 000000 hUCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a, a, b,c,d,e)bm_CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0( "a","b",c,d,e); 000000 eOCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a, b,c)d,e) m_CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a, b,c,d,e); 000000 Y7CREATE TABLE t102 (i0 TEXTUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0)); z.j:z]?WITH i(x) AS ( VALUES( 1=11) UNION SELECT zeroblob(1) FROM i) SELECT x FROM i LIMIT 2 ; ]?WITH i(x) AS ( VALUES( 1=11) UNION SELECT zeroblob(1) FROM i) SELECT x FROM i LIMIT :0; MSELECT '.00e64'/'1.0800e+'/'1.0000e+6200e64'/'1.4000e+'/'1.0000e+';62'; ISELECT '.00e64'/'.e+'/'1.0000e+6200e64'/'1.4000e+'/'1.0000e+';62';  %CREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 SELECT count(), group_concat(1,1)A00 FROM t03 GROUP BY zeroblob(1); @ 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 ritema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPN !PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2( [a]a, b, FOREIGN KEY(a, a) REFERENCES t1 ON DELETE CASCADE);REPLACE INTO t1 VALUES(1,2);REPLACE INTO t1 VALUES(1, 2) %L>CREATE VIRTUAL TABLE t0 USING fts4( tokENDal(1)refix=""); ocWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( random() -11)FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; ?CREATE TABLE ""("" char(1) UNIQUE, x CHAR(100)); CREATE TABLE t2(x); INSERT INTO ""("") VALUES(1); INSERT INTO t2 VALUES(2); SELECT * FROM "", t2;VACUUM ;CREATE TABLE ""(""UNIQUE UNIQUE, x CHAR(100)); CREATE TABLE t2(x); INSERT INTO ""("") VALUES(1); INSERT INTO t2 VALUES(2); SELECT * FROM "", t2;VACUUM /CREATE TABLE ""("" UNIQUE, x CHAR blob); CREATE TABLE t2(x); INSERT INTO ""("") VALUES(1); INSERT INTO t2 VALUES(2); SELECT * FROM "", t2;VACUUM naCREATE TEMP TABLE t0001(aӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?*????0?????????TE000'; gSWITH i(x) AS ( VALUES( 1=11) UNION SELECT zeroblob(2001-01-011) FROM i) SELECT x FROM i LIMIT 20;  #} naSELECT DISTINCT* FROM (SELECT "a","b"AS one FROM sqlite_master LIMIT 1 OFFSET 1) WHERE oid LIKE '000000'; /ANALYZE temp. [a] CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) SELECT('000'); INSERT INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES(NOT'0000'); SELECT * FROM t0000 ORDER BY a; Y7ATTACH''AS noname; ATTACH':memory:' AS inmem;REINDEX CREATE TABLE noname.n00000(x'; inmem.i0000(y); CREATE TABLE main.m000(z); COMMIT; SELECT name FROM noname.sqlite_master; SELECT name FROM inmem.sqlite_master; EE=CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='TE Tt"'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_chec`=CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='?E Tt"'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check5oCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='TE Tt"'; PRAGMA ritema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check 6~6D" 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='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='TE Tt"'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check=!CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='TE @1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check= CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql=' || t"'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check   S%+PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES(' +1'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT sqlite_compileoption_get(A)/a FROM t0t0006; S$+PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a OLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES(' -1'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT sqlite_compileoption_get(A)/a FROM t0t0006; C# CREATE TABLE t1(a,b); CREATE INDEX RENAMEt1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='TE Tt"'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check xx& DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'00' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,0) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777777,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; xx' DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'00' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777/77,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; xx( DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'00' || substr(c,C) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777777,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; xx) DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'00' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c LIKE 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777777,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; H*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,'000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0800'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o000'); INSERT INTO t1 SELECT a+1,2,'00' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777777,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); A  < ,-]PRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( -11,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1;IN],?CREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY+a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x%Y HAVING avg(0e0) > avg(y)); _+CCREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY+a.x%Y HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x%Y HAVING avg(a.y) > avg(y)); T2/iPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( -11,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 WHERE a=1; (.UPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( -11,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1;REPLACE INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 WHERE a=1; QT#Qd6MPRAGMA encoding=UTF16be; CREATE TABLE t0t6(CURRENT_TIMESTAMPPRIMARY Y); INSERT INTO t0t VALh5UPRAGMA encoding=UTF16be; CREATE TABLE t0t6(CURRENT_TIMESTAMPPRIMARY Y); INSERT INTO t0t VALS([4;SELECT sqlite_rename_trigger(' <=AT0 TRUG|||||||||||||||||||GEI b0 <=AT0 TWHEN',NULL); H3SELECT sqlite_rename_trigger(' <=AT0 :memory:b0 <=AT0 TWHEN',NULL); H2SELECT sqlite_rename_trigger(' <=AT0 TRUGGEI b0 <=AT0 TW@EN',NULL); :1{SELECT sqlite_compileoption_used('ENDITE_THREADSAFE'); (0UPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( -11,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(20e0201-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 WHERE a=1; (g9SSELECT sqlite_rename_parent( " a.b>_parent( NOa.b>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>a",'000','000'); j8YPRAGMA encoding=UTF16be; CREATE TABLE t0tOR6(CURRENT_TIMESTAMPPRIMARY Y); INSERT INTO t0t VALS(h7UPRAGMA encoding=UTF16be; CREATE TABLE t0t(CURRENT_TIMESTAMPPRIMARY Y); INSERT INTO t0t VALS( UU+;]SELECT printf('%*.*f',5,2 *000000003); y:wDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,C) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 3. AND 60; FF<>}CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''0000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00000000?000000 000' 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) syat FROM sqlite_stat1 ORDER BY 2, 002; 9=wCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0:0000000000000 000' 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; 9<wCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX '0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 000' 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; wt|C}PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t0 ON DELETE SET NULL);REPLACE INTO t1 VALUES( ?113); INSERT INTO t0 VALUES(13); INS|B}CREATE TABLE t0(a,b,c,d,e, PR load_extension(1,1)); SELECT DISTINCT* FROM t0 WHERE a=? AND b; SELECT DISTINCT* FROM t0 wAsCREATE TABLE t1(x, y DEFAULT(datetime('2001-01-01002'))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); @CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,a,b),UNIQUE(a,b,c,d,e,f ); I(5,10000); INSERT INTO t5 VALUES(2,3,4,5,6,20000);REINDEX ?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,f,c,d,e,b),UNIQUE(a,b,c,d,e,f ); I(5,10000); INSERT INTO t5 VALUES(2,3,4,5,6,20000);REINDEX iEWWITH i(x) AS ( VALUES(1) UNION ALL SELECT-x<<001-01-011 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; yDwDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE c= /* */a BETWEEN 30 AND 60; =CH CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le GROUP BY "a","r"; SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0 ORDER BY 1; CG CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le GROUP BY "a","b"; SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0 ORDER BY 1; yFwWITH i(x) AS ( VALUES(1) UNION ALL VALUES(1) UNION SELECT x<<001-01-011 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; 4j4L=CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= typeof(1)?; K)CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,a,e,c,d,b,e,c,d,b,c,d,e,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; CJ CREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le GROUP BY "a",0e0; SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0 ORDER BY 1; KICREATE TABLE De00Ta0le (x INT0000, Tex00e0 TEXT, D000 Real); CREATE INDEX D00000000000 ON De00Ta0le (Tex00e0); INSERT INTO De00Ta0le VALUES(9,8,7); INSERT INTO De00Ta0le VALUES(1,2,3); CREATE VIEW De00V0e0 AS SELECT * FROM De00Ta0le GROUP BY "a","b""a","b"; SELECT* FROM De00Ta0le INTERSECT SELECT * FROM De00V0e0 ORDER BY 1; vZ=PCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'utom0000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00:0000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY idx; OCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; NCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND 4444444444? AND e=?; MCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,c,d,e,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; _V*O_lV]CREATE TABLE abc(a b, c); CREATE TABLE abc0000000(a, b, c); CREATE TEMP TRIGGER BEFORE INSERT ON abc BEGIN INSERT INTO abc0000000(a, b, c) VALUES(new.c, new.b, new.c); END; INSERT INTO abc VALUES(0, 0, 3); SELECT* FROM abc0000000; oUcWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( random() -11)FROM i GROUP BY 1) SELECT x FROM i LIMIT 10; fTQWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -11)FROM i GROUP BY 1) SELECT x FROM i LIMIT 90; )SYSELECT sum(-9 || 223372036854775801); RCREATE TABLE t5(a TEXTPRIMARY KEY, b V00CHAR(500)UNIQUE) WITHOUT ROWID; INSERT INTO t5 VALUES('00000','0000'). ount(*) FROM t5; Q?CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00: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 '00:0000000000000''00000' ON !>['I\PRAGMA encoding=UTF16le; CREATE TABLE t0tϐ06VALUS('ab0'); I[PRAGMA encoding=UTF16be; CREATE TABLE t0tϐ06VALUS('ab0'); 1ZiSELECT sqlite_compileoption_used('THREAD=0'); _YCCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t2.i0=+t2.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); _XCCREATE TABLE t102 (i0 EXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); [W;CREATE TABLE abc(a, b, c); CREATE TABLE abc0000000(a, b, c); CREATE TEMP TRIGGER BEFORE INSERT ON abc BEGIN INSERT INTO abc0000000(a, b, c) VALUES(new.c, new.b, new.c); END; INSERT INTO abc SELECT* FROM abc0000000; 5*a[SELECT printf('%0# ',50,-10,-12,3000); @`CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2, -01) AS00 FROM t0 GROUP BY CURRENT_TIME,0e0 @_CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2, "a") AS00 FROM t0 GROUP BY CURRENT_TIME,oid @^CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2. -01) AS00 FROM t0 GROUP BY CURRENT_TIME,oid |]}PRAGMA page_siAL; PRAGMA wal_autocheckpoint == WAL; PRAGMA wal_autocheckpoint =100; PRAGMA journal_size_limit = 1000.; >>]c?CREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1,1,1) * '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ]b?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1,1,1) * '+' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); q;qFfCREATE TABLE t10(x NTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON a.y< @1 WHERE (b.x<$ab0 OR b.y<$ab0); `eECREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)|NOT julianday(1,1,1) * '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ]d?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1,1,1) * @1 || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); "EkCREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),( 1=11,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, 2; j#ATTS varcgar(1cccccc$amY; #Tadcc$amY; #Tad/(YYy1,1)%;E aJb/(yTTS varcgar(1cccccc$amY; #TamY; #Ta); pie#ATTSE\E@ccccccccccG$m; # RcacccdcFOREIG2m; #Tacc[cccccFORNm;m; a.b@ h#ATTSEPEccccccccccccc$q\[; #ccccccccccccc$q\[; #; #T; #Ta.b/(ym0s0000I%; #Ta.b/(yamY; @); bgICREATE TABLE t10(x NTEGER PRIMARY KEY, y INT, z CHAR(1888888888888888888888888888800)); CREATE INDEX t000 ON t10(y)TE TABLE t10(x NTEG SELECT a.x, b.x FROM t10 AS a JOIN t10 CS b ON a.ymDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBt0r sqlite_compileoption_used(1)one0000A0'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0); SELECT * FROM t0aux; =DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokeniz=unicode61 "separators=aB"); INSs4aux(t0); SELECT * FROM t0aux; sbsBD PRAGMA auto_vacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t3(a); CREATE INDEX x ON t1(b);EXPLAIN DROP TABLE t3; PRAGMA integrity_check;EXPLAIN DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; %COCREATE TABLE t1(x, y DEFAULT(datetime(' ; ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELEC F BCREATE TABLE t1(x, y DEFAULT(datetime(' - ; ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELEC F ADROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('omeatwoBt0rVe0'); CREATE VIRTUAL TABLt0aux USING fts4aux(t0);ELECT * FROM t0aux; EU}EeKOCREATE TEMP TABLE NOTNULLt0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE -1 GLOB '*[E00-'; eJOCREATE TEMP TABLE NOTNULLt0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E-'; eIOCREATE TEMP TABLE NOTNULLt0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE-sql GLOB '*[E00-'; iHWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 0001021-0,10; iGWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 0001-01-0,#0; iFWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 0005-01-0,10; ;E{PRAGMA auto_vacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t3(a); CREATE INDEX x ON t1(b);EXPLAIN DROP TABLE t3; PRAGMA integrity_check; DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1;;EXPLAIN DROP TABLE t3; P cAAc RCREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,_ROGHT) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); NDEX t1a ON tER BY c; )QWCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( changes()), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); 4PoSELECT printf('+.*f',5-13.E00000-13.E00000003); iOWWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,?) FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; |N}CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'NATURAL JOIN t102 AS t2 LEFT JOIN t102 ON(t2.i0= t0.i0 AND(t0.i0< load_extension(1,1)>500 AND t0.i0=t1.i0)); TM-CREATE VIEW v0 AS SELECT t0.x AS00, t0.y AS00 FROM(t0 JOIN t0 USING( a,ba,ba); eLOCREATE TEMP TABLE NOTNULLt0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE 102 GLOB '*[E00-'; 5r6 5J[CREATE TABLE temp.t0(a, b); ALTER TABLE sqlite_temp_master We = 't0'; LZCREATE TABLE 00b AS SELECT 4 CURRENr_DATE'', 6''; SELECT * FROM t00b; LYCREATE TABLE 00b AS SELECT 4 AFFOR, 5 AS '', 6''; SELECT * FROM t00b; XACREATE TABLE t0b(x); INSERT INTO t0b(rowid, x) VALUES( 1=11,10),(2,1 >2001-01-01=1); UPDATE t0b SET rowid=rowid; UPDATE t0b SET rowid=rowid+1 WHERE x=10; qWgWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT CURRENT_TIMESTAMP x FROM i LIMIT 30; qVgWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT CURRENT_TIMESTAMP x FROM i LIMIT 90; 7UuSELECT a FROM t0 WHERE ap IN () IN ( ) AND p IN (); TCREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,_RowiT) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); NDEX t1a ON tER BY c; SCREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,_ROWHT) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); NDEX t1a ON tER BY c; OeVObSELECT 1000000%00000300000101000000%00800000060060001000000%0080000006000101000000101000000%00800000060001010000000008000060000; zaySELECT 1000000%0000030000010100000000060060000101000000%00800000060000006000101000000%00800006000000000008000060000; `/SELECT 1000000%00000300000101000000%0080000006000101000000%008000060000060060000101000000%0080000006000101000000%00800006000000000008000060000; s_kSELECT 1000000%0=000101000000%00800008000060101000000%00800000060060000101000000%008000000=000101000000%0000; ^)SELECT 1000000%00000300000101000000%00800000060060000101000000%0080000006000101000000%00800006000000000101000000%00800006000000008000060000; ]SELECT 1000000%00000300000101000000%00800000060060000100101000040%008000060000000000006000101000000%00800004000000000008000060000; v\qCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(b,c,d,b,a,d,e,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=?ND; 2s2=fCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000e020000S' 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; #eKCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a);REINDEX INTO t000 VALUES('s','s0'),( hex(2001-01-011),'000'),( hex(1),'m00'); #dKCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('s','s0'),(-hex(2001-01-011),'000'),( hex(1),'m00'); PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,b ),b)OR a-CURRENT_DATE +x; >PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,b ),b)OR a-'' ORDER BY +x; O#PRAGMA cache_size =-10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(92001-01-0100) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(92081-01-0100) FROMt1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob( @1); D PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,b ),b)OR a-'RENAME0' ORDER BY +x; T-TU/PRAGMA cache_size =-10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(92001-01-0100) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(92081-01-0100)ISNULL FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob( @1); O#PRAGMA cache_size =-10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(92001-01-0100) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(9E081-01-0100) FROM t1; /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob( @1); $\I$1CREATE TABLE t1(x); INSERT INTO t1 VALUES( julianday(1,1,1)),( '0000'),(NULL); SELECT quote(x)FROM t1 ORDER BY x; SELECT name FROM sqlite_master; CREATE TABLE t1(a, b); PRAGMA auY=O00; PRAGMA synchronous=N00 00; PRAGMA pagMA journal_mode=TRUNC; PRAGMA journal_mode=TRUNCAT 2); ESELECT fts3_tokenizer('00a0',-fts3_tokenizer('simple')) IS NULL; ESELECT fts3_tokenizer('00a0', fts3_tokenizer,'simple')) IS NULL; CREATE TABLE t0a(a,b); CREATE TABLE t0b(x);EXPLAIN INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE@bCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(30201-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; =%BEGIN; CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT char(1)tSt00n0 FROM TempT000e LIMIT 9; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 MATCH Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; ::_@CPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(10201-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; _?CPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(10201-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0 BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; C!CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,e,b,c,a,b,c,d,b,c,d,d,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; gBSCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT tabC.a, txyZ.x, tb0Th.a, tb0tH.c, * FROM tabc, txyz, tb0th GROUP BY 3 LIMIT 1; rAiPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(10201-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT sqlite_source_id() x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; nZ9IyDETACH printf('%111111111q111G111111111-1#%0c%','0'); @HPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,A) SG+WITH i(x) AS ( VALUES(1) UNION ALL SELECT oid FROM i LIMIT 2) SELECT x FROM i; )FYATTACH rtrim(1, random() -11)as MAIN; E!CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,c,d,b,c,d,d,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND b=?; D!CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,c,e,b,c,d,d,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; f*LYCREATE TABLE t12a(a,b,c,d,e,f,g); INSERT INTO t12a VALUES(100,2,3,4,5,6,7); CREATE TABLE t12b(x); INSERT INTO t12b(xߞbd,x,x,x,x,bd,x,x,xx) SELECT * FROM t12a; SEIKCREATE TABLE t0000(aCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN VALUES('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER UPDATE ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000');VALUES('00'); END;EXPLAIN INSERT INTO t0000(b) VALUES('0000'); SELECT * FROM t0000 ORDER BY a; IJCREATE TABLE t0000(aCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN VALUES('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(_) VALUES('000000');VALUES('00'); END;EXPLAIN INSERT INTO t0000(b) VALUES('0000'); SELECT * FROM t0000 ORDER BY a; j0.j@QCREATE TABLE x1(a); CREATE TABLE x2(b); INSERT INTO x1 VALUES(1), (1), (2); INSERT INTO x2 VALUES(1), (2); SELECT count(*) FROM x2 WHERE b IN (SELECT random() a FROM x1 LIMIT 2)ISNULL -1; *PYCREATE VIRTUAL TABLE t0 USING fts3( a,ba, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'two'; &OQCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a -1, c FROM t0 WHERE c MATCH 'two'; &NQCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE b MATCH 'two'; LMCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a);REPLACE INTO t000 VALUES('s','s0'),('00000','000'),('0r000','m0r00'),('0r000','0rr0'); SELECT a, b, '0' FROM t000 W='m0 ovZ2o?WCREATE TABLE t0(a,b); CREATE TABLE l00(x UNIQUE, y); CREATE TRIGGER r0 AFTER INSERT ON t0 BEGIN UPDATE l00 SET y=y+ ?105WHERE@x=new.a; INSERT OR IGNORE INTO l00 VALUES(new.a,00); END; INS%VQSELECT printf('0%110.13ls0', -1); :U{SELECT sqlite_compileoption_used('SQLITEMPHREADSAFE'); [T;CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(2,'000'); INSERT INTO t1 VALUES(1,'0'); INSERT INTO t1 VALUES(3,'000000'); SELECT *, ( SELECT group_concat(1,1)LIKE EXISTS (SELECT oid='0'y) ) FROM ( SELECT @1FROM t1 )x; S-ATTACH''AS nonamonameme; ATTACH':memory:' AS inm; ATTACH':memory:' AS inmee; ATTACH':memory:' AS inme; ATTACH':memory:' AS oname; ANALYZE;me:' AnRaPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD ORCOLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-' -19e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT-' -19e99'; ALTER 1 M,QM\CREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT time(1,1,1) x, y FROM t01 UNION ALL SELECT x,NOT y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM v0 WCO ORDER BY y; n[aCREATE VIRTUAL TABLE rt USING rtree(i0, x0, x2);EXPLAIN INSERT INTO rt VALUES(1, 2 ,3); SELECT * FROM rt; gZSCREATE VIRTUAL TABLE rt USING rtree(i0, x0, x2); INSERT INTO rt VALUES(1,?2 ,3); SELECT * FROM rt; gYSCREATE VIRTUAL TABLE rt USING rtree(i0, x0, x2); INSERT INTO rt VALUES(1,.2 ,3); SELECT * FROM rt; gXSCREATE VIRTUAL TABLE rt USING rtree(i0, x0, x2); INSERT INTO rt VALUES(1, 2 ,3); SELECT 2 FROM rt; ||]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 * FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?13; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR 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 ?1 b=3 ||^CREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?13; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a= /* */~~~~~~~~~~~~~~2 OR ?1 b=3 tt_CREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b char(1)); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?13; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR 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 ?1 b=3 &y&b1PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2(a,Bb, FOREIGN KEY(a, a,bb) REFERENCES t1 ON UPDATE CASCADE);; 5aoCREATE TABLE t03(n00e); INSERT INTO t03 VALUES ( "a"); INSERT INTO t03 VALUES('00c'); SELECT count( sqlite_source_id()), NULLIF(n00e,NOT'00c')A00 FROM t03 GROUP BY lower(n00e); ` 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 NOT(a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?13; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR 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 ?1 b=3 b^JgCREATE TABLE t0(a INTEGER PRIMARY KEY AUTOINCREMENT,b) WITHOUT owid; tfmCREATE TABLE t0(x,y DEFAULT 4.3, z DEFAULT x'00A0EEEEEEEEEE'); INSERT INTO t0 DEFAULT VALUES; SELECT * FROM t0; eCREATE 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,a, b,c,d,e)00000 dCREATE 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,a,a, b,c,d,e)000000 c9PRAGMA foreign_keys = 1; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2(a, b, FOREIGN KEY(a, a, a,bbb) REFERENCES t1 ON UPDATE CASCADE);; uioCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(b,b,b,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','000010 160000 4000010000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; uhoCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(b,b,b,d,e,f,g,i); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','000010 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; of|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$  ~|zwtqkޙݙܙۙڙؙٙי֙՘|ԘvӘnҘjјhИfϘcΘ`͘]̘[˘ZʘXɘRȘJǘEƘBŘAĘ=Ø:˜310+&#  }zurpnigb_^]\WQLIC@><:a][VPKFB=631/.+#ߙ!41-'"}zfwusponmlifb[RK~D 7x7>nSELECT group_concat(1,1) NOT IN (10 IN (@0,20),@0)90000); gmSCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT strftime(1,1,1,1) "000000", "n00b00" FROM "0000" ORDER BY "a","b", "a","b" LIMIT 1) "; hlUCREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT x, zeroblob(2001 || 011) y FROM t0 GROUP BY z; hkUCREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,8); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT x, zeroblob(2001.01-011) y FROM t0 GROUP BY z; Bj SELECT printf('0%110.100s0%110.130s0',' blobREN0','RENAME0'); E7psBEGIN; CREATE TABLE n00be0s(a DEFAULT -1, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, a = '0000'; CT; 7osBEGIN; CREATE TABLE n00be0s(a DEFAULT KEY, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid< a = '0000'; CT; E{r{BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(c,a); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT replace(1, -11,1) a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; 7qsBEGIN; CREATE TABLE n00be0s(a DEFAULT KEY, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, a =CURRENT_TIME  uCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=?BETWEEN?AND b=?BETWEEN? AND d=?BETWEEN? AND e=A; kt[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 IN (SELECT replace(1, -11,1)AMP10); DROP INDEX i1; DELETE FROM t1; COMMIT; {s{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 IN (SELECT replace(1,A-11,1) a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; y *czKCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT 'a''b', txyZ.x< tb0Th.a, tb0tH.x, * FROM tabc, txyz ORDEbc, txyz, tb0th ORDER BY 9 LIMIT 1; nyaCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(b,c,a,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=?ND; lx]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, "a") FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; lw]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, -1.) FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; v CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=?BETWEEN?AND c=?BETWEEN? AND d=? AND e=A; hT}-BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT group_concat(1,1) "a"FROM a,b,"b"); N|!BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT zeroblob(1) "a"FROM a,b,"b"); B{ BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE@i0 NOT IN (SELECT "a"FROM a,b,"b"); +W3CREATE VIRTUAL TABLE t1 USING fts4; CREATE TABLE t0ext(a, b); CREATE VIRTUAL TABLE t0 USING fts4(content=t0ext); CREATE VIRTUAL TABLE t1000 USING fts4aux(t0); CREATE VIRTUAL TABLE t0au0 USING fts4aux(t0);VACUUM U/CREATE VIRTUAL TABLE t1 USING fts4 (1); CREATE TABLE t0ext(a, b); CREATE VIRTUAL TABLE t0 USING fts4(content=t0ext); CREATE VIRTUAL TABLE t1000 USING fts4aux(t0); CREATE VIRTUAL TABLE t0au0 USING fts4aux(t0); ?CREATE VIRTUAL TABLE t1 USING fts4; CREATE TABLE t0ext(a, b); CREATE VIRTUAL TABLE t0 USING fts4(content=t0ext); CREATE VIRTUAL TABLE t1000 USING fts4u Q~'CREATE VIRTUAL TABLE t1 USING fts4; CREATE TABLE t0ext(a b); CREATE VIRTUAL TABLE t0 USING fts4(content=t0ext); CREATE VIRTUAL TABLE t1000 USING fts4aux(t0); CREATE VIRTUAL TABLE t0au0 USING fts4aux(t0); $=iWPRAGMA encoding=UTF16be; SELECT hex( trim( 'Ϛ0珏000')); 5qSELECT CAST ( coalesce(1,1)AS AUTOINCREMENTREAL); skCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "a" "a","b","b"WHERE "0000" ORDER BY "000000", "n00b00" LIMIT 1) IS ""; m_CREATE TABLE t000(c000 INT0000); CREATE TABLE t002(c000 INT0000); SELECT a,b a,b0.* ,ROM,t000 NATURAL JO X5CREATE VIRTUAL TABLE t1 USING fts4; CREATE TABLE t0ext(a, b); CREATE VIRTUAL TABLE t0 USING fts4(content=t0ext); CREATE VIRTUAL TABLE t1000 USING fts4aux(t0); CREATE VIRTUAL TABLE t0au0 USING fts4aux(t0);ANALYZE d \_ CCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b='000'), t0 WHERE strftime(A,CURRENT_DATE); IFSERT c='_ CWITH i(x) AS ( VALUES(1) UNION SELECT (x+1)*102001-01-01 FROM i) SELECT x FROM i LIMIT 203 \ =WITH i(x) AS ( VALUES(1) UNION SELECT (x+1)*+2 days10 FROM i) SELECT x FROM i LIMIT 203 U /WITH i(x) AS ( VALUES(1) UNION SELECT (x+1)*10 FROM i) SELECT x FROM i LIMIT 2,3 U /WITH i(x) AS ( VALUES(1) UNION SELECT (x+1)*19 FROM i) SELECT x FROM i LIMIT 203 U/WITH i(x) AS ( VALUES(1) UNION SELECT (x+1)*10 FROM i) SELECT x FROM i LIMIT 303 5CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a,oid '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 3, 3,a, '000', b, '000' FR 3Bj3Y7PRAGMA default_cache_size=-002888888888; PRAGMA cache_size=-18888888888; PRAGMA defW3CREATE TABLE t3(a EXINTEGERPRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE rtrim(1,C; T-CREATE TABLE t3(a EXINTEGERPRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE "a","b" T-CREATE TABLE t3(a EXINTEGERPRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b DESC,d DESC, e DESC, b, "a","b"COLLATE a DESC; bICREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b='000'), t0 WHERE strftime(A,1, trim(1, -11)); IFSERT c=' _t=8wSELECT '1.0e64'/'1.0000e-621ev4'/'1.0600e-20-1-062'; 4oSELECT '1.0e64'/'1.0000e-62e64'/'1.0000e-2 62'N 4oSELECT '1.0e64'/'1d0-621e64'/'1.0000e-200P-062';4oSELECT '1.0e64'/'1.0000e-621e64'/'1.0000e+2 62'; 8wSELECT '1.0e64'/'1.0000e-621e64'/'1.0000e-200-062'; `ECREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND#b='000'), t0 WHERE strftime(1,1,11,1,1,1 AND-b='000'),1 cKWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM a.b i ORDER BY 1) SELECT x FROM i ,I,IT 10; cKWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM i,b i ORDER BY 1) SELECT x FROM i ,I,IT 10; ?CREATE TABLE t6(x INT0NT0000); INSERT INTO t6 VALUES(1000); INSERT INTO t6 VALUES(1); INSERT INTO t6 VALUES(1<<70); SELECT hex(1)+- ((1<<63)+1) from t6; ffN!PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','0',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00',' load_extension(1,1)0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(C,B) D PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','0',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','2001-01-010',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(C,B) jLj+ ]SELECT sqlite_compileoption_used('SQ'); 0ePRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(2200150120012001-01-01-01-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; DELETE FROM t1 0ePRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(2200150120012001-01-01-01-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 II9#wPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a0',b)OR a='0' ORDER BY + - -116"qPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a0',b)OR a='0' ORDER BY-+ -1*CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8)uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruincrement jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8(uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH ' "a"jump'; 8'uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runninAUTOINCREMENT'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; +yR0)CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runintegand jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run j66666666666666666666666666ump'; 8/uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runtiog and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; D. CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1666666666666, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; .-aCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and>>>>>>>>>> jumping'); SELECT rowi FROM t1 WHERE ent; Q,'CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running anNNNNNNNNNNNNNNNNNNNNNNNNNd jumping'); SELECT owid FROM t1 WHERE content MATCH 'run jump';  1BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e T1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; `3ECREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRINDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE!00(a NOT NULLCURRENT_TIMESTAMPt1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR2%BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; Ec:PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; 99ySELECT-printf('%*.*f',03);SELECT-printf('%*.*f',03); 8CSELECT quote(likely( '')); n7aCREATE TEMP TABLE t0001(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *[???????????E000'; n6aCREATE TEMP TABLE t0001(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *0???????????E000'; n5aCREATE TEMP TABLE t0001(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0*????????????E000'; 74sCREATE 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 d=2 AND c=3 ORDER BY d COLLATE rtrim(1,1C; =PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+B; SELECT* FROM t1; <PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; ;PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; # ACREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(2001501-011,1),( 1=11,1),( 1=11,2); CR11,2);ABLE 1, t2 ORDER BY 1, 2; @PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD COLUMN d TEX DEFAULT '000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; ?PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99/; ALTER TABLE t1 ADD COLUMN d TEXT oding=UTF16;00'; UPDATE t1 SET x=c+1; SELECT* FROM t1; Y>7PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e337; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000  BCREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER tr0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2 55GESELECT '1.00e64'/'1.000E337e64'/'.0000ECT 100e64'/'1.000Ee+62'; DCREATE TABLE c000a00001(a, b); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); INSERT INTO c000a00001 VALUES('0', NULL); CREATE VIEW c000a000v1 AS SELECT avg(1)IN c000a00001 ORDER BY.1 COLLATE u000; SELECT * FROM c000a000v1; pCeCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=A OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON lower(1)=30 WHERE y >= NULL OR b&3;E; S (LlHJCREATE VIRTUAL TABLE t0 USING fts4(x,or upper(1); IN INTO t0(docid, x) VALUES(100000000000000000, '00'); INS t0(docid, x) VALUES'0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000000000, '00'); INSERT INTILUES'0b'); Sdocid DE\H=CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, 'a''0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; XG5CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100 -1000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; TF-CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDE )v%c):RyCREATE VIRTUAL TABLE t4 USING fts4(x); INSERT INTO t4(docid, x) VALUES(-100000000000000000, '00'); INSERT INTO t4(docid, x) VALUES(0, '0b'); SELECT rowid FROM t4 WHERE x MATCH '00'; :QyCREATE VIRTUAL TABLE t4 USING fts4(x); INSERT INTO t4(docid, x) VALUES(-100000.00000000000, '00'); INSERT INTO t4(docid, x) VALUES(0, '0b'); SELECT rowid FROM t4 WHERE x MATCH '0*'; :PyCREATE VIRTUAL TABLE t4 USING fts4(x); INSERT INTO t4(docid, x) VALUES(-1000.0000000000000, '00'); INSERT INTO t4(docid, x) VALUES(0, '0b'); SELECT rowid FROM t4 WHERE x MATCH '0*'; IOSELECT 0xC000000;SELECT 0xC00000000000;SELECT 0xC00 0xC000000;SE00; 7NuSELECT 0xC000000;SELECT 0xC000;SELECT 0xC000000; ; 9MySELECT 0xC000000;SELECT 0xC0000 0xC000000;SELECT 00; NL!PRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE 13 USING fts3;VACUUM VALKCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,b,c,d,b,c,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=C AND c=? AND d=? AND e=?; \:x \@XCREATE TABLE t0(x); INSERT INTO t0 VALUES(1); INSERT INTO t0 VALUES(2); INSERT INTO t0 VALUES(?); INSERT INTO t0(rowid,x) SELECT nullif(x+2E10,14), x+100 FROM t0; SELECT rowid, x FROM t0; UW/SELECT sqlite_rename_trigger('CRE@T:memory:R 0RIGGER 0x00(WHEN',NULL); @VSELECT quote(printf( 'a''%Yb')), quote(printf(NULL,1,2,3)); EUSELECT quote(printf( 'a''b''a''b')), quote(printf(NULL,1,2,3)); 4ToSELECT printf('%0020G%d',502001-01-01,-10,3000); BS CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON( @1i0= t0.i0 AND t0.i0=t1.i0)); \\]Z?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(o (1) | lower(1)| glob(1,1)| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ?YCREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('c', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY-a,$b, a,b ][?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| sqlite_source_id()| '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); 8y8>]SELECT name FROM sqlite_master WHERE name LIKE '000%Y'; \ 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,2001201- "a","b"|substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; QQ=`DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (22001-01-01, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; 3_kDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0test'); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; 3^kDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(1) FROM t1 LIMIT 1; spceCREATE TABLE t102 (i0 TXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS4 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 AND(t0.i0<>500 AND t2.i0=t1.i0)); 6bqDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3) -1; SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; Oa#DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, ' sqlite_compileoption_get(1)Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; >f#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 0*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;REINDEXe#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(-0, -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>dCREATE TABLE t1(a, b); PRAGMA auto_vacuum=O00; PRAGMA synchronous=N00000; PRAGMA pCOLLATEe=1000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA auto_vacuum=O00; PRAGMA auto_vacuum=O00; PAGMA jo; mh#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d >= 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;REINDEXg#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(71, -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 e!jGCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2* group_concat(1,1)a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;REINDEXi3CREATE TABLE t1(a char(1), b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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 AdAJnBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('00 bb'); INSERT INTO t0 VALUES('00 bb'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERe t0 MATCH '00'; END; JmBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('00 bb');INSERT INTO t0 VALUES('bb cc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH '00'; END; l PRAGMA encoding=UTF16be; SELECT hex( trim( 'Ϛ0000')); k5CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2* random()b,2*c,d FROM t1;REINDEX Z^  xZv'ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS vnmemmem;VACUUM; CREATE TABLE noname.n00000(x);VACUUM; CREATE TABLE n(y); uATTACH''AS voname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem;VACUUM; CREATE TABLE noname.n00000(xEATE TABLE n(y); t'ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem;VACUUM; CREATE TABLE nonamen00000(x);VACUUM; CREATE TABLE n(y); yswCREATE TABLE t1(x, y DEFAULT(time(1,1,1)+replae(1,1,1))); INSERT INTO t1(x)VALUES(1); SELECT x, leth(y) FROM Z1; rCREATE TABLE t1(x, y DEFAULT( time(1,1,1)+replace(1,1,1))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1;VACUUM Pq%CREATE TABLE t00b AS SELECT?9 AS '',$5 AS '', 6 AS ''; SELECT * FROM t00b; Pp%CREATE TABLE t00b AS SELECT?3 AS '',$5 AS '', 6 AS ''; SELECT * FROM t00b; LoSELECT sqlite_rename_trigger(' [a]T0 TRIGGER ...".......00 WHEN',NULL); @k;@N|!CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('hHAVING'); INSERT INTO t0 VALUES('00'); SELECT 1, x FROM t0 WHERE x LIKE 'Hh%'; SELECT 2, x FROM t0 WHERE x LIKE 'Hh%' ESCAPE '0'; {PRAGMA encoding=UTF16be; CREATE TABLE t0t00(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); 1,1) a FROM t0t0006; z5ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem;VACUUM; CREATE TABLE noname.n00000(x);VACUUM; CREATE TABLE n(y);ANALYZE y3ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem;VACUUM; CREATE TABLE noname.n00000(x);VACUUM; CREATE TABLE n(y);VACUUM x'ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem;VACUUM;ANALYZE TABLE noname.n00000(x);VACUUM; CREATE TABLE n(y); w'ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem;VACUUM; CREATE TABLE name.n00000(x);VACUUM; CREATE TABLE n(y); *4\*?CREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT a AS c, b AS d FROM t44) A000 ON zeroblob(1)=dOR L; k[CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "a","b" FROM "0000" GROUP BY "000000"< "n00b00" LIMIT 1) OR ""; T~-CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 ORDER BY char(1)d DESC, e DESC, b, e DESC, b, c, a,DESC; H}CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('00'); SELECT 1, x FROM t0 WHERE x LIKE 'Hh%'; SELECT 2, x FROM t0 WHERE x LIKE 'Hh%' ESCAPE oid; 5mo"ICREATE VIRTUAL TABLE t0 USING fts3(0, b, c); SELECT docid, * FROM t0; INSERT INTO t0 VALUES('0', 'B', 'C'); UPDATE t0 SET docid = 5; SELECT docid, * FROM t0; jYCREATE VIRTUAL TABLE t0 USING fts3(EEEEEEEEEE 'C'); UPDATE t0 SET docid = 5; SELECT docid, * FROM t0; CREATE VIRTUAL TABLE t0 USING fts3(0, b, c); INSERT INTO t0 VALUES('0', 'B', 'C'); UPDATE t0 SET docid = 5; SELECT docid a,b, * FROM t0; CREATE VIRTUAL TABLE t0 USING fts3(<, b, c); INSERT INTO t0 VALUES('0', 'B', 'C'); UPDATE t0 SET docid = 5; SELECT docid, * FROM t0; 8wSELECT printf('0%110.100Q0%110.100Q ERY0'); ERY0'); GCREATE TABLE t44(a INT0000, b INT0000); INSERT INTO t44 VALUES(1,2); INSERT INTO t44 VALUES(3,4); SELECT* FROM t44 x LEFT JOIN(SELECT avg(1), b AS d FROM t44) A000 ON zeroblob(1)=4 OR d IS NULL; N%j&NiWWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,1) FROM i GROUP BY 1) SELECT x FROM i LIMIT 1002i WWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1, -1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002i WWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,?,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002i WWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(?,1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002i WWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1032i WWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,0,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002LCREATE VIEW x1 AS SELECT 100 AS '', 200 AS '',300IS ''; SELECT * FROM W3CREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, d,e DESC, b, c, a, d,e DESC, b, c, a,b,"b,b,"b" p p7CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char ( -1 || 1,A) ORDER BY b; CREATE TABLE t1(a,b); CREATE INDEX [a] ON t1(a); INSERT INTO t1 VALUES( sqlite_source_id(),0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_checkl]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1, -11,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002 gSCREATE TABLE av4(a, b, c); CREATE INDEX av00 ON av4(a); CREATE INDEX a000 ON av4(b); CREATE INDEX a0000av00 ON av4(a); CREATE INDEX a0 ON av4(c); CREATE INDEX a004 ON av4(a, b, c); INSERT INTO av4 VALUES('0', '0', '0');REINDEX skCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT @ISTINCT "n00b00" FROM (SELECT "000000", "n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 2) AS "0000"; VV&QPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(220015012001-01-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(90)FROM t1; DELETE FROM t1 ``=PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(52001=01-0100), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; t`thUCREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN NOT (NOT~~~~~~~~~~~~~~ new.bar BETWEEN 0 AND 1=120) THEN raise(rollback, '000000') END; END; INSERT INTO foo(bar) VALUES (0); =PRAGMA main.cache_size= 10; PRAGMA temp.cache_siz= 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(52001-01-0100), randomblob(600) FRM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; d=CREATE TABLE t12a(a,b,c,d,e,f,g); INSERT INTO t12a VALUES(100,2,3,4,5,6,7); CREATE TABLE t12b(x a,b); INSERT INTO t12b(b,rowid,x,x,x,x,x) SELECT * FROM t12a; SELECT rowid, x FROM t12b; !CREATE TABLE t14(a,b,c); INSERT INTO t14 VALUES(1,2,3),(4,5,6);EXPLAIN SELECT * FROM t14 INTERSEC; VALUES(3,2,1),(2,3,1),(1,2,3),(2,1,3); ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS me; ATTACH':memory:' AS inminmemmem;VACUUM;ANALYZE TABLE noE 0(y); ATTACH''AS noname; ATTACH':memory:' AS name; ATTACH':memory:' AS me; ATTACH':memory:' AS inminmemmem;COMMIT; CREATE TABLE noE 0(y); jYCREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN NOT (NOT~~~~~~~~~~~~~~ new.bar BETWEEN 0 AND 20)ISNULL THEN raise(rollback, '000000') END; END; INSERT INTO foo(bar) VALUES (0); )?~) !CREATE TABLE t0 ( a,ba, b, PRIMARY KEY(b, a)) WITHOUT ROWID; INSERT INTO t0(a, b) VALUES('ab0', '000'); UPDATE t0 SET b='ab0', b='000'; d MCREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0. *FROM ((t0 JOIN t2 TRANSACTIONa) AS TRANSACTIONx JOIN t2x TRANSACTIONb) as00; Y7CREATE TABLE t0 (a,INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0. *FROM ((t0 JOIN t2 TRANSACTIONa) AS x JOIN t2x TRANSACTIONb) as00; =CREATE TABLE t12a(a,b,c,d,e,f,g); INSERT INTO t12a VALUES(100,2,3,4,5,6,7); CREATE TABLE t12b(x a,b); INSERT INTO t12b(x,rowid,x,x,b,x,x) SELECT * FROM t12a; SELECT rowid, x FROM t12b; =CREATE TABLE t12a(a,b,c,d,e,f,g); INSERT INTO t12a VALUES(100,2,3,4,5,6,7); CREATE TABLE t12b(x a,b); INSERT INTO t12b(x,rowid,x,b,x,x,x) SELECT * FROM t12a; SELECT rowid, x FROM t12b; Y#7CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0<+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); "CREATE TABLE t2(x,y,z); CREATE TRIGGER ASC AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2r6;VACUUM 3AY}3k+[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ random() *1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002k*[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ total(1) -11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002k)[WITH i(x) AS ( VALUES(1) UNION ALL SELECT round(1,1) -11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002k([WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ random()*-11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002k'[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ random()&-11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002k&[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x* random() -11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002w%sCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND time(1,1,A,1,b,c,d,e)); ;${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 b, c, b, b, avg(1), c,E; SSG.PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%B; m-_WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ random()OR -11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002o,cWITH i(x) AS ( VALUES(1) UNION ALL SELECT x || + random() -11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002 y/wDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'000'); INSERT INTO t1 VALUES(10,1,'000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1,X'0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,C) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE randomblob(1); INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; u1oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,g,c,d,e,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 60 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; u0oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,g,c,d,e,g,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 60 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE g=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; c3)CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d >=NOT NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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;VACUUM 27CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d >2001-01-01= NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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;VACUUM YmY 6CREATE TABLE t1(x, y DEFAULT(datetime(' avg(1)-'))); INSERT INTO t1(x)VALUES(1); ; INSERT INTO t1(x)VALUES(1);SELECT x, leng`h(ROM t1; 5CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d >= NOT NULL; 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;VACUUM 4#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE oid= NOT NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*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;VACUUM _pt_j=YWITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) |~0 +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; D< PRAGMA incremental_vacuum("+;");PRAGMA incremental_vacuum("+s") ^;APRAGMA incremental_vacuum("+3");PRAGMA incremental_vacuuum("+3");PRAGMA incrementam("+3") 3:mPRAGMA m("+3");PRAGMA incremental_vacuum("+3") _9CCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a -1=1 AND b='000'), t0 WHERE 00'), t0 1,1,1,1 AND-b='000'), t0_8CCREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a -1=1 AND b='000'), t0 WHERE strftime( 1=11,1 AND-b='000'), t0 7CREATE TABLE t1(x, y DEFAULT(datetime(' -NOTNULL'))); INSERT INTO t1(x)VALUES(1); ; INSERT INTO t1(x)VALUES(1);SELECT x, leng`h(ROM t1; w AwFBCREATE TABLE t10(x INTEGER PRIMARY KEY, y INT, z CHAR(100)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT a.x, b.x FROM t10 AS a JOIN t10 AS b ON a.x=b.x WHERE (b.x=$ab0 OR b.x=$ab0); FACREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m, count(1) -1) AS00 FROM t0 GROUP BY m ORDER BY 2, 2; 1@gCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m, -1) AS00 FROM t0 GROUP BY mOR S?+SELECT NULL UNION SELECT NULL UNION SELECT@1 UNION SELECT@2 AS 'x' ORDER BY x; f>QCREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100,4), (107,3), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY round(1-Y)+a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg(y)); cyhFUCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=="[]'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=x\xC0');ANALYZE gESCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=="[]'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=x\xC0');VACUUM fDQCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=="[]'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=ABORTx\xC0'); C7CREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'okenchars=="[]'); CR VN2KiCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('text 0ne', '0000', 'text 0CURRENT_TIME00ee'); INSERT INTO t4(t4) VALUES('integrity-check'); 0JeCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('t2001-01-01ext 0ne', '0000', 'text 000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); &IQCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindex sqlite_compileoption_used(1)'text 0ne', '0000', 'text 000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); &HQCREATE VIRTUAL TABLE t4 USING fts4(a, b, replace(1,1,1)b); INSERT INTO t4 VALUES('text 0ne', '0000', 'text 000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); &GQCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('text 0ne', '0000','text 000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); *^PACREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a, CAST(a AS "" int0000) FROM t0; ?OCREATE TABLE t3(a,INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE DESC, b, c< a DESC; ?NCREATE TABLE t3(a,INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE DESC,$b, c, a DESC; MESELECT sqlite_rename_trigger(' [a]T/>>>>>)>R [a]T/>>>>&)>R [a]T/>>>>>) r[a]T/>>[a]T/>>>>>)[a]T/>>>>>)>R [a]T/>>>>>) r r[a]T/>>>>>)) r0 ON x00 WHEN',NULL); RL)CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('text 0ne', '00@0', 'te{t 000e]e{t 000eNGfGfts4(a, b, c, notindexed=b); e'); INSERT INTO t4(t4) VALUES('integrity-check'); xn:"x&VQCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, a,b '0000'); UCREATE VIRTUAL TABLE t0 USING fts3tokenize( `a`le); s3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', '0000'); TCREATE VIRTUAL TABLE t0 USING fts3tokenize( [a]le); G fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', '0000'); &SQCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize;simple, '', '0000'); RCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING tkenize(); CRfts3tokenize(simple, '', '0000'); Q!CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t3 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING nize(sim; gJ-gB[ CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', sqlite_compileoption_get(1) '0000'); 9ZwCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', sqlite_source_id() '0000'); 0YeCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '',CONSTRAINT '0000'); (XUCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '',OR '0000'); 2WiCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, ' time(1,1,1)', '0000'); WPWu]oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,i,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; ,\]CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', '0000');VACUUM JiLaCREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%%' ESCAPE''; ]`?PRAGMA foreign_keys = 1; CREATE TABLE t1(xINTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON DELETE RESTRICT);REPLACE INTO t1 VALUES(13); I H_PRAGMA wal_checkpoint =full; INSERT INTO a0c VALUES(r00000(1000)); g^SCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 INTERSECT SELECT tabC.a, txyZ.x, tb0Th.a, tb0tH.x, 2 FROM tabc, txyz, tb0th ORDER BY a.bIMIT 1; 0)0f#CREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000'); INSERT INTO t0000(b) VALUES('0000000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) SELECT @1('0000'); SELECT * FROM t0000 ORDER BY@a; :e{SELECT sqlite_compileoption_used('SQLITE_ENDEADDAFE'); qdgCREATE TABLE t0(x INT0000, y TEXT, z); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0,0); INSERT INTO t0 VALUES(0,0.0,3); INSERT INTO t0 VALUES(0.0,0.0,0); SELECT DISTINCT random() x, zeroblob(200 -01-011) y FROM t0 GROUP BY z; 1ciCREATE TEMPORARY VIEW v0 AS SELECT * FROM a,b Sb+CREATE TABLE t0(x); INSERT INTO t0 VALUES(' hex(1)0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE''; [W[9kwCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d e'); INSERT INTO ft0 VALUES('f 0 b c d'); SELECT snippet(ft0, '0', '0', '', -1, 1) FROM ft0 WHERE oid MATCH 'c'; 9jwCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d e'); INSERT INTO ft0 VALUES('f 0 b c d'); SELECT snippet(oid, '0', '0', '', -1, 1) FROM ft0 WHERE ft0 MATCH 'c'; AiCREATE 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","b" -1, 1) FROM ft0 WHERE ft0 MATCH 'c'; 9hwCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d e'); INSERT INTO ft0 VALUES('f 0 b c d'); SELECT snippet(ft0, '0', '0', '', -1, 1) FROM ft0 WHERE ft0 MATCH 'e'; %gOCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d e'); INSERT INTO ft0 VALUES('f 0 b c d'); SELECT snippet(ft0, '0', '0', '', -1, 1) FROM ft0 \uqoWITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT LIKE(2001-01-011,1,1) x FROM i LIMIT 10; HpCREATE TABLE t00b AS SELECT "a","b"COLLATE''LIKE "a","b"; SE * 00b; LoCREATE TABLE t00b AS SELECT "a","b"COLLATE''LICE''LIKE''; SELECT * 00b; JnCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t1.i0= 'a''b'OR (t0.i0=t1.i0)); JmCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t1.i0= t0.i0 OR (t0.i0=t1.i0)); kl[WITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i GROUP BY 1) SELECT time(1,1,1) x FROM i LIMIT 10; (hS(tCCREATE TABLE c1(x INTEGER PRIMARY KEY references 1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c0(x INTEGER PRIMARY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p1); CREATE TABLE c6(x INT references s'CREATE TABLE t0(a,b); CREATE TABLE l00(x UNIQUE, y); CREATE TRIGGER r0 AFTER INSERT ON t0 BEGIN UPDATE l00 SET y=oid WHERE 8=new.a; INSERT OR IGNORE INTO l00 VALUES(new.a,00); END; INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES(5,0); SELECT*FROM l00 ORDER BY x; r-CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT strftime(1,1,1,1) -164,b FROM t1; ANALYZE; p2); CREATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b)); p2); CREATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b)); wCCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c0(x INTEGER PRIMARY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p5); CREATE TABLE c6(x INT references vCCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c0(x INTEGER PRIMARY KEY references 3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p1); CREATE TABLE c6(x INT references uCCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references 2); CREATE TABLE c0(x INTEGER PRIMARY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p1); CREATE TABLE c6(x INT references p2); CREATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b)); p2); CREATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b)); p2); CREATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references 4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b)); zCCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c0(x INTEGER PRIMARY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p ); CREATE TABLE c6(x INT references yCCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c0(x INTEGER PRIMARY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p1); CREATE TABLE c6(x INT references xCCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c0(x INTEGER PRIMARY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p1); CREATE TABLE c6(x INT references p2); CREATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b)); p2); CREATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b)); REATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b));VACUUM &|QCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c0(x INTEGER PRIMARY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p1); CREATE TABLE c6(x INT references p2); CR%{OCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c0(x INTEGER PRIMARY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p1); CREATE TABLE c6(x INT references p2); CEATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4); CREATE TABLE c03(x TEXT COLLATE nocase references p3); CREATE TABLE c04(x TEXT COLLATE nocase references p4); CREATE TABLE c05(x,y, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c06(x,y, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b));ANALYZE RUR~CREATE table t0(a,b); INSERT INTO t0 VALUES('0000','00'); INSERT INTO t0 VALUES('00000','xy0'); CREATE TABLE t2(x,y); INSERT INTO t2 SELECT strftime(:001-01-011,1,1,1) a, CASE b WHEN 'xy0' THEN null ELSE b END FROM t0; SELECT x, y FROM t2 ORDER BY x; '}SCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y NTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON y=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(y=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON y=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON y=20 AND b=3 WHERE y IS NULL; (([;CREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 b c',-'d e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; [;CREATE VIRTUAL TABLE x0 USING fts4(<, b); INSERT INTO x0 VALUES('0 b c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; [;CREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 b #', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; 0gPRAGMA max_page_count;PRAGMA max_page_count;  DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES($400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( 'a''b' /* */) FROM t1 GROUP BY i01; s!:CsLCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 b c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; SELECT * FROM x0; skCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 b c', 'd e {'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSEZT INTO x0 SELECT * FROM x0; cKCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 b DEFERREDc', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; [;CREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; QoQ =SELECT 0x00200/@000000; w sWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ strftime(1,1,1,1)AND -11 FROM i GROUP BY 1) SELECT x FROM i LIMIT 50;  9CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES('AB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000OF0000000000000000000000000000000'); SELECT DISTINCT a FROM t0t0000; ATTACH''AS@noname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem;DETACH name; ATTACH':memory:' AS TABLE inmem.i0000(y); gSCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 b c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSEcT INTO x0 SELECT * FROM x0; *1gCREATE VIRTUAL TABLE ft0 USING fts4(content=, x); INSERT INTO ft0(docid,x) VALUES(03, '0 0 N 0 G'); INSERT INTO ft0(docid,x) VALUES(04, 'C 0 0 U B'); INSERT INTO ft0(docid,x) VALUES(05, 'N 0 Y G 0');INSERT INTO ft0(docid,x) VALUES(06, '0 Y 0 O R'); INSERT INTO ft0(docid, x) VALUES(07, 'I Y 0 Q O'); ?CREATE VIRTUAL TABLE ft0 USING fts4(content=, x); INSERT INTO ft0(docid,x) VALUES(03, '0 0 N 0 G'); INSERT INTO ft0(docid,x) VALUES(04, 'C 0 0 U B');IN 1 gCREATE VIRTUAL TABLE ft0 USING fts4(content=, x); INSERT INTO ft0(docid,x) VALUES(03, '0 0 N 0 G');INSERT INTO ft0(docid,x) VALUES(04, 'C 0 0 U B'); INSERT INTO ft0(docid,x) VALUES(05, 'N 0 Y G 0'); INSERT INTO ft0(docid,x) VALUES(06, '0 Y 0 O R'); INSERT INTO ft0(docid, x) VALUES(07, 'I Y 0 Q O');  B 1gCREATE VIRTUAL TABLE ft0 USING fts4( "a","b", x); INSERT INTO ft0(docid,x) VALUES(03, '0 0 N 0 G'); INSERT INTO ft0(docid,x) VALUES(04, 'C 0 0 U B'); INSERT INTO ft0(docid,x) VALUES(05, 'N 0 Y G 0'); INSERT INTO ft0(docid,x) VALUES(06, '0 Y 0 O R'); INSERT INTO ft0(docid, x) VALUES(07, 'I Y 0 Q O'); CREATE VIRTUAL TABLE ft0 USING fts4(content=, x); INSERT INTO ft0(docid,x) VALUES(?3, '0'); RT INTO ft0(docid,x) VALI Y 0 Q O'); 1gCREATE VIRTUAL TABLE ft0 USING fts4(content=, x); INSERT INTO ft0(docid,x) VALUES(03, '0 0 N 0 G'); INSERT INTO ft0(docid,x) VALUES(04, 'C 0 0 U B'); INSERT INTO ft0(docid,x) VALUES(05, 'N 0 Y G 0'); INSERT INTO ft0(docid,x) VALUES(0., '0 Y 0 O R'); INSERT INTO ft0(docid, x) VALUES(07, 'I Y 0 Q O'); vnaCREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY UNIQUE/* */); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 WHERE t002.z GLOB '0000'; bISELECT typeof(group_concat(x'')) FROM (SELECT $ AS x UNION ALL SELECT (group_concat(x'')) ); wsCREATE TABLE t1(x, y DEFAULT(datetime(' 1 EXT/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES($400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a","b""a","b" /* */) FROM t1 GROUP BY i01; 1tmCREATE VIRTUAL TABLE x USING fts4(y,0'000 bbb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'oreignAR/6 0A0'; #CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('000 bbb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb -1 NEAR/6 000'; CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('000 bbb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb NEAR/6 "00'; CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('000 bbb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb NEAR 6 000'; ;{PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(102001-01-0100), randomblob(100)); INSERT INTO t1 SELECT sqlite_version(), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1E02001-01-010), randomblob(1000) FROM t1;2; S4mPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b,$c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; )WCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( abs( -11)), NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); dMPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc;IN ::B PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a| randomblob(1)|b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; <<@ PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT zeroblob(1) a,$b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; <<@!PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c,$b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, zeroblob(1) a FROM abc; ~?~=#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;REPLACE INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1;VACUUM /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(200); ="PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(500) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1;VACUUM /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(200); 59To57'uSELECT CASE WHEN++ -1 THEN '0000' ELSE '00000' END; a&GPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON UPDATE RESTRICT);REPLACE INTO t1 VALUES(13); INSERT INTO t0 VALUES(13) a%GPRAGMA foreign_keys = 1; CREATE TABLE t1(x NTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); INSERT INTO t0 VALUES(13) C$ 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 randomblob(900) FROM t1;VACUUM /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(200);VACUUM AA:+yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','0000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1/B) (*UCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX '' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6);VACUUM ANALYZE; SELECT idx, stat FROM sqlite_stat1 ORDER BY idx; o)cCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t1.i0= t0.i0 OR (t2.oid>500 AND t0.i0=t1.i0)); _(CWITH i(x) AS ( VALUES(1) INTERSECT SELECT x+1 FROM i ORDER BY 1) SELECT x FROM i ,I IT 10; HH4,mPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a|~b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT c,$b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; d-MPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a|~b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc;IN HH4.mPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a|~b||c, b| @1|a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; DD8/uPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b int, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a|~b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; >>>0PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a|~b|| trim(1,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; EE71sPRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a|~b||c -1, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; <l3]SELECT * FROM (SELECT -1e51 AS one FROM sqlite_master LOINCREMENT1) WHERE one LIKE one LIKE '000000'; @2PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a|~b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,$b, c FROM abc; INSERT INTO abc SELECT b, a, zeroblob(1) c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; [4[8/CREATE VIRTUAL TABLE t0 USING fts3(x); BEGIN; INSERT INTO t0 VALUES('T00 00u000 0000 0]]]]]o0 00LT00 00u000 00 00000 0000 0]]]]]o0 00L0t0 0i0'); 07eCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES('', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo'AND -1; 6CREATE VIRTUAL TABLE ft USING fts3(o00, t0'foo'); INSERT INTO ft VALUES('foo', 'oo'); SELECT offsets(ft) FROM ft Wft MATCHfno'; b5ICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%c0%c' /* */) FROM t1 ORDER BY rowid; b4ICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','800','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%c0%c',a/b,c) FROM t1 ORDER BY rowid; T4NTv<qCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0) ON t1.i0 GLOB 'a0' ); b;ICREATE TABLE t102 (i0 TET UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2KEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); b:ICREATE TABLE t102 (i0t0006 UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); b9ICREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURAL JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); s>kCREATE TABLE t102 (i0 EXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)); f=QCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS LEFT JOIN t102 ONtFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 ', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J');REPLACE INTO x1(docid,a,b,c) VALUES(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(d,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', E'); INSERT INTO x1(docO x1(docid,a,b,c) VALUES(18, 'A 0 0 INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0');  ?CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,a,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,, 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docXd,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,?,c VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT .NTO 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) VALUEo(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 YNTO x1(docid,a,b,c) VALUES(16, ' 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VA UES(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'); MM[B;SELECT printf('0%110.120s0%110.105s0.120s0%110.105s0','REN0','RENA','REN0','RENAME0');=sa",'000','000'); HdSELECT sqlite_rename_parent( "REFERENCES 000'); 0@sa",'000','000'); LcSAVEPOINT s00; SAVEPOINT s00; SAVEPOINT s00; SAVEPOINT AMENTs00;ANALYZE Pb%SAVEPOINT s00; SAVEPOINT s00; SAVEPOINT s00; SAVEPOINT AUTOINCREMENTs00;END aCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=2 OR b= load_extension(?<1)WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON load_extension(?,1) IS NULL; A7j;CREATE TABLE t1(a, b, c); CREATE TABLE t0(x PRIMARY KEY, y, z); CREATE TRIGGER r0 AFTER INSERT ON t0 BEGIN SELECT * FROM t0 WHERE 0 BETWEEN 00 AND 00; END; WITH d(x)AS(SELECT 1 UNION ALL SELECT x+1 AS n FROM d WHERE n<=100) INSERT INTO t0 SELECT randomblob(1) x,x*0, x*3 FROM d; /icCREATE 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 b, a, d,eDC; Th-DETACH printf('0%111111111q11S0%111111111q11S111111111%%%%%%%%%4%% quote(1)'); MgCREATE VIRTUAL TABLE ft0 USING fts3(x,a 0', 'c d'); INSERT INTO ft0 VALUES('e',Gc d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0; jfYCREATE VIRTUAL TABLE ft0 USING fts4(x, y); INSERT INTO ft0 VALUES('a 0', 'a d'); INSERT INTO ft0 VALUES('d','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0; ofy|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ zwusqlfdb~^}Z|S{JzDyA\~[{ZzYwXqWlVgUbT^S[RZQXPUOTNSMQLNKGJ@I>H=G<F;E8D2A/@-?*>'="<;:987 6543~2}1|0z/w.s-q,n*j)e(`'_&Y%V$U#T"O!L IDCB?>w=v;u7t1s,r*q'p"onmlkh ed]<8310/.-,+' # !  x?  ~|zwtq nn nSELECT NULL "a","b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY FOR(1)ys x; ?mCREATE 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, e DESC,+ avg(1) DESC; l;CREATE TABLE t1(a, b, c); CREATE TABLE t0(x PRIMARY KEY, y, z); CREATE TRIGGER r0 AFTER INSERT ON t1 BEGIN SELECT * FROM t0 WHERE 0 BETWEEN 00 AND 00; END; WITH d(x)AS(SELECT 1 UNION ALL SELECT x+1 AS n FROM d WHERE n<=100)REPLACE INTO t0 SELECT randomblob(1) x,x*0, x*3 FROM d; k;CREATE TABLE t1(a, b, c); CREATE TABLE t0(x PRIMARY KEY, y, z); CREATE TRIGGER r0 AFTER INSERT ON t1 BEGIN SELECT * FROM t0 WHERE 0 BETWEEN 00 AND 00; END; WITH d(x)AS(SELECT 1 UNION ALL SELECT ~+1 AS n FROM d WHERE n<=100) INSERT INTO t0 SELECT randomblob(1) x,x*0, x*3 FROM d; 9n9q9SELECT NULL "a","a","b" UNION SELECT"b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2'x' ORDER BY+1 ays x; p+SELECT NULL "a","b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY RECURSIVE(1)ys x; o!SELECT NULL "a","b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY LIKE(1)ys x; @&@bsICREATE TABLE t000(a INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(xINTEGER PRIMARY KEY /* */); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHE t0; Vr1PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(randomblob(800));VACUUM; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 4 */ INSERT INTO t1 SELECT randomblob(802001%102010) FROM t1; /* 8 */ INSERT INTO t1 SELECT randomblob(000) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 32 *FROM t1; /* 64/ (800) FROM t1; /* 64 "/ INSERT INTO t1 SE\ECT randomblob(800) FROM t1; /* 128 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ ROLLBACK TO one; INSERT I7TO t1; C/wcPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x;1; SE1; ;v{PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT-'9e99w'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; u%PRAGMA short_column_names=OFF; PRAGMA full_column_names (1); CREATE VIEW v0 AS SELECT t000.a, t000.x, * FROM t000, t000 ORDER BY 1 LIMIT 1 ftQCREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(xINTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHE t0; CC;z{PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT-' total(1)'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; ;y{PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; ;x{PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT-'e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; 8|uPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT-'9e9'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; A{PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUM c REAL DEFAULT-'9e99RENAME'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; nn}!DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777-77772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; nn~!DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(0,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777-77772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; dd5DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(102001-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'od00'); 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, 'o0.0'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; W6sCREATE VIRTUAL TABLE f0 USING fts4(0,`tonicode61); %ODROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEMER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(102001-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; Hw]H'CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 V'); INSERT INTO t0 VALUES('0'); INSEWT; I CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'""""""""""""ileoption_get(1)); IN VALUES( VALUES('\0E0'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1' sqlite_compileoptio._get(1)); IN VALUES( VALUES('\0E0'); 5oCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('\0'); MCREATE VIRTUAL TABLE f0 USING fts4(0, tokenize=unicode61 'a''b''a''b');  CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT LIKE 'a0' JOIN t102 AS.i0)); Z 9CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t2.i0< t0.i0 OR(500 AND t0.i0=t1.i0) AND t0.i0=t1.i0));  -SELECT 1.000<000.0000-00<00000<0<00<0<000.00<0<00<0<000.0600<000.06060000600<000.0606000000-00<00000<0<000.06<000.0600<000.0606000000-00 >=00000W3SELECT 1.000<000.0000-00<00000-00<00000500 AND t0.i0=t1.i0)); 66k*[WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT /* */ x FROM i LIMIT 775 m)_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','1߃| '); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN B AND 8 OR@ER BY a,bg(SCREATE TABLE pp(a UNIQUE, b, c, PRIMARY KEY(b, c)) WITHOUT rowid; CREATE TABLE cc(d, e, f UNIQUE, FOREIIQUE, b, c, PRIMARY KEY(b, c)) GN KEY(d, e) REFERENCES p0);REPLACE INTO pp VALUES(1, 2, 3); INSERT INTO cc VALUES(2, 3, 1); - DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(0e02, "a","b") FROM t1 GROUP BY i01; f,QCREATE TEMP TABLE tι(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E00'; +CREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y NTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT 2 FROM t91 LEFT JOIN t92 ON@a=2 || b= load_extension(1<1)WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; / DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES($400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(0e02, "a","b") FROM t1 GROUP BY 002; . DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES($400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(0e02, (1),"b") FROM t1 GROUP BY i01; C 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);ANALYZE 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 su OU sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATENTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) 66Y27CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.oid>500 AND t2.i0=t1.i0)); Q1'CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 /* */JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t2.oid>500 AND t2.i0=t1.i0)); 0CREATE TABLE messa0es(W00 INTEGER PRIMARY KEY AUTOINCREMENT, messa0e_id, document_id BLOB, i00, remote_id INT0000, sender INT0000, sub0ect0000000 sub0ect INT0000s COLLATE NOCASE, commen, 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 char(1) DEFAULT-NULL,B  8 CREATE TABLE t1(x, y DEFAULT(datetime('0e02 ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; w7sCREATE TABLE t1(x, y DEFAULT(datetime(' -0es ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; |6}CREATE TABLE t1(x, y DEFAULT(datetime(' 6 total(1) ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELv5qCREATE TABLE t1(x, y DEFAULT(datetime(' -1 ;/* */now'))); INSERT INTO t1(x)VALUES(1); S; v4qCREATE TABLE t1(x, y DEFAULT(datetime(' @1 ;/* */now'))); INSERT INTO t1(x)VALUES(1); S; w3sCREATE TABLE t1(x, y DEFAULT(eatetime(' ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELE1; (t(H;CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''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 unicode(1) idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY idx; r:iCREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000'); INSERT INTO t0 VALUES('0000000','000r000','0000a','000r000'); INSERT INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *, '0' FROM t0 ORDER BY c% a; 9)PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD C blob c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000';EXPLAIN UPDATE t1 SET x=x+1; SELECT* FROM t1;VACUUM  <PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<1.; CREATE TRIGGER FTER INSERT ON 1 WHEN new.x=74 BEGIN DE ++Q='PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x/1.; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length( @1y) FROM t1 ORDER BY x; ++Q>'PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x&1.; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length( @1y) FROM t1 ORDER BY x; )@-CREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); ANALYZE; DELETE FROM sqlite_master; SS?+PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x%Y<1.; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length( @1y) FROM t1 ORDER BY x; =ot[G;SELECT avg( ?11)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE $::0 LIKE $::00 *0 LIKE $3; SF+SELECT avg( ?11)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE $::0 LIKE $::00;:3; !EGCREATE TABLE t0(x TEXT UNIQUT, y TEXT UNIQlE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000') AND y ISNULL N !DGCREATE TABLE t0(x TEXT UNIQUT, y TEXT UNIQlE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (8='000' OR y='000') AND z ISNULL N CCREATE VIRTUAL TABLE t2 USING fts4(poi, notindexed=pa0 a000, notindexed=p00, notindexed=poi); IN INSERT INTO t2 VALUES('0', '0 0 0'); B3CREATE VIRTUAL TABLE t2 USING fts4(poi, notindexed=p00, a000, notindexed=p00, notindexed=poi); INSERT,'0 ); INSERT INTO t2 VALUES('0', '0 0 0'); ?ACREATE VIRTUAL TABLE t2 USING fts4(poi, a000, notindexed=poi); INSERT INTO t2 VALUES(000,'x x x'); INSERT INTO t2 VALUES(X'0000', '0 0 '); INSERT INTO t2 VALUES(NULL, '8 0 !');INSERT); n-JNSELECT * FROM (SELECT "a","b"AS one ,1)),1)) WHERE oid LIKE '000000'; MPRAGMA foreign_keys =NO; CREATE TABLE t1(x, y, PRIMARY KEY(x, y)); CREATE TABLE t2( [a]a, b, FOREIGN KEY(a, a) REFERENCES t1 ON @ELE; @LSELECT-quote(1111119999999919999999999991111111111111E101); mK_CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c, [a],c,d,e); VACUUM mJ_CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,a,a, b,c,d,e); VACUUM ]I?CREATE TABLE t102 (i0 TEXUUNIQUE NOT NULL); INSERT INTO t102 VALUES (' '); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'LEFT JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0)); >HSELECT printf('%*.*q''%*.*q',5,2,300000,5,2,300000e1003);* UU=QCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='TE Tt['; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check%POCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='t"'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t1A; Pk=OCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='T/"Tt"'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check  pSePRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES(' sqlit_compileoption_used(1) -1'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT sqlite_compileoption_get(A)/a FROM t0t0006; pRePRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES(' slite_compileoption_used(1) -1'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT sqlite_compileoption_get(A)/a FROM t0t0006; HTDROP 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,'000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0800'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o000'); INSERT INTO t1 SELECT a+1,2,'00' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a-577777777777,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); A HUDROP 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,'000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0800'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o000'); INSERT INTO t1 SELECT a+1,2,'00' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a || 777777777,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); A ,X,(XUPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( -11,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(2001-01-0150)FRO;INPW%BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int sqlite_compileoption_get(1)); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a>1.);ANALYZE DROP INPV%BEGIN TRANSACTION; CREATE TABLE t1(a nt, b int, c int); CREATE INDEX i1 ON t1(a,a); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a>1.);ANALYZE DROP IN jjHZSELECT sqlite_rename_trigger(' "a","b"RUGGEI b0 <=AT0 TWHEN',NULL); HYSELECT sqlite_rename_trigger(' `a`T0 TRUGGEI b0 <=AT0 TWHEN',NULL); |[}DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2, -13,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,C,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 3. AND 60; UU9^wCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 DA0' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY 002; 9]wCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '-00000000000000 D00' 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; -\_CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 D00' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1O }pbeCREATE TABLE t1(x, y DEFAULT(datetime(' -102'))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); aCREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,e,f),UNIQUE(a,b,c,d,e,f)); I(5,10000); INSERT INTO t5 VALUES(2,3,4,5,6,20000);REINDEX ;`{CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 D00' 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)OR stat FROM sqlite_stat1 ORDER BY 002; @_CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'a''b''f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 D00' 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; }]}g=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (2001,01-011,A) OR random() f=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (2001,0 || 1,A) ORDER BY b; e=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (2001 || 011,A) ORDER BY b; d=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (2001,?1-011,A) ORDER BY b; cPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES( ?913); INSERT INTO t0 VALUES( ?113); INS `n%lOCREATE TABLE t0(a,b,c,dc int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; "kICREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=?8AND e=?; "jICREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,a,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; "iICREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,a,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; h=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (20e0201-011,A) ORDER BY b; T:T)qYSELECT sum(-9 || 223372036854775808); )pYSELECT sum(-9 || 223772036854775801); IoCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00:00 zeroblob(1)00000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY 002; =nCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00:00-8000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY idx; Bm CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; -./0a-1wiSELECT sqlite_compileoption_used( trim(1,1)); KvCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 ON t1.i0 IN t102 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t1 /* */IN t102 A0=t1); {u{CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 ON t1.i0 IN t102 JOIN t102 S LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); {t{CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 ON t0.i0 IN t102 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); fsQWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(X-.1)FROM i GROUP BY 1) SELECT x FROM i LIMIT 10; frQWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(X-11)FROM i GROUP BY 1) SELECT x FROM i LIMIT 30; 6]z?CREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1,1,1) || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ayGPRAGMA foreign_keys = 1; CREATE TABLE t1(x char(1) PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13); INSERT INTO t1 VALUES(13) axGPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES 1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13);REPLACE INTO t1 VALUES(13) `{ECREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1,1,1) * '0' || changes( @1) ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); WW_~CWITH i(x) AS ( VALUES(1) UNION ALL SELECT 1=1 FROM i ORDER BY 1) SELECT-x FROM i LIMIT 04 _}CWITH i(x) AS ( VALUES(1) UNION ALL SELECT 9=1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 04 a|GPRAGMA 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) FROMt3; 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) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX . CREATE TABLE t1(a,x); INSERT INTO t1(oid,a,x)VALUES(-1,1,'00000f000000'); INSERT INTO t1(oid,a,x)VALUES(900,2,'0f00000000000000'); INSERT INTO t1(oid,a,x)VALUES(9223372036854775800,3,'0f0000000000000f'); INSERT INTO t1(oid,a,x)VALUES(7,4,'000000000000000f'); INSERT INTO t1(oid,a,x)VALUES(3,5,'0000000000000003'); INSERT INTO t1(oid,a,x)VALUES(6000000,6,'01000000'); INSERT INTO t1(oid,a,x)VALUES(90000000000,7,'0000030000000000'); INSERT INTO t1(oid,a,x)VALUES(300,8,'0000000000000f00'); INSERT INTO t1(oid,a,x)VALUES(6000005,9,^iWWITH i(x) AS ( VALUES(2001-01-011) UNION ALL SELECT 1=1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 04 cKWITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT 1=1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 04 _'00000000000f0000'); INSERT INTO t1(oid,a,x)VALUES(200000000000,10,'00000f0000000000'); INSERT INTO t1(oid,a,x)VALUES(-8,11,'0000000f00000000'); INSERT INTO t1(oid,a,x)VALUES(0400000,12,'00000000000f000f'); INSERT INTO t1(oid,a,x)VALUES(40000000000,13,'00000f000000000f'); INSERT INTO t1(oid,a,x)VALUES(67000,14,'00000000000f00f0'); INSERT INTO t1(oid,a,x)VALUES(200,15,'00000000000f00ff'); INSERT INTO t1(oid,a,x)VALUES(304,16,'0000000000004000'); INSERT INTO t1(oid,a,x)VALUES(7000000000000,17,'00000f00000000f0'); INSERT INTO t1(oid,a,x)VALUES(80000,18,'00000000000f0f00'); INSERT INTO t1(oid,a,x)VALUES(100000000000,19,'0000010000000000'); INSERT INTO t1(oid,a,x)VALUES(0040000000,20,'00000000000f0f0f'); INSERT INTO t1(oid,a,x)VALUES(-30,21,'000f000000000000'); INSERT INTO t1(oid,a,x)VALUES(34359738368,22,'0000000800000000'); INSERT INTO t1(oid,a,x)VALUES(30000,23,'0000000000000f0f'); INSERT INTO t1(oid,a,x)VALUES(8388608,24,'0000000000800000'); INSERT INTO t1(oid,a,x)VALUES(10000000000000,25,'00000f00000000ff`'); INSERT INTO t1(oid,a,x)VALUES(2000000000,26,'0001000000000000'); INSERT INTO t1(oid,a,x)VALUES(3000000000000000,27,'00000f0000000f00'); INSERT INTO t1(oid,a,x) VALUES(72057594037927936,28,'0100000000000000'); INSERT INTO t1(oid,a,x) VALUES(-6,29,'00000f0000000f0f'); INSERT INTO t1(oid,a,x) VALUES(205,30,'00000000000000f0'); INSERT INTO t1(oid,a,x) VALUES(4,31,'0000000000000004'); INSERT INTO t1(oid,a,x) VALUES(-68,32,'00000f0000008000'); INSERT INTO t1(oid,a,x) VALUES(-2,33,'00000f0000000ff0'); INSERT INTO t1(oid,a,x) VALUES(10000000000008,34,'0000800000000000'); INSERT INTO t1(oid,a,x) VALUES(50000000000,35,'0000008000000000'); INSERT INTO t1(oid,a,x) VALUES(4000000000,36,'0000000100000000'); INSERT INTO t1(oid,a,x) VALUES(-60,37,'00000f0000800000'); INSERT INTO t1(oid,a,x) VALUES(-1,38,'00000f0f'); INSERT INTO t1(oid,a,x) VALUES(3000000000,39,'00000000000f0ff0'); INSERT INTO t1(oid,a,x) VALUES(8400000,40,'0000000010000000'); INSERT INTO t1(oid,a,x) VALUES(2,41,'0000000000000002'); INSERT INTO t1(oid,a,x) VALUES(90000,42,'0000000000200000'); INSERT INTO t1(oid,a,x) VALUES(50000000,43,'000200000000'); INSERT INTO t1(oid,a,x) VALUES(-7,44,'000f800000000000'); INSERT INTO t1(oid,a,x) VALUES(060000000,45,'0080000000000000'); INSERT INTO t1(oid,a,x) VALUES(5000000000,46,'0000000000000fff'); INSERT INTO t1(oid,a,x) VALUES(-20,47,'00000f000000f000'); INSERT INTO t1(oid,a,x) VALUES(60000,48,'00000000000000ff'); INSERT INTO t1(oid,a,x) VALUES(128,49,'0000000000000080'); INSERT INTO t1(oid,a,x) VALUES(32768,50,'0000000000008000'); INSERT INTO t1(oid,a,x) VALUES(2147483648,51,'0000000080000000'); INSERT INTO t1(oid,a,x) VALUES(-3,52,'00000f00000000fd'); INSERT INTO t1(oid,a,x) VALUES(-28,53,'00000f0000000f80'); INSERT INTO t1(oid,a,x) VALUES(-29,54,'00000f0000000f70'); INSERT INTO t1(oid,a,x) VALUES(-9223372036854775808,55,'8000000000000000'); INSERT INTO t1(oid,a,x) VALUES(400000000000,5,'0S(10000000000,57,'0000000000000ff0'); INSERT INTO t1(oid,a,x) VA00000'); CREATE INDEX t000 ON t1(a); CREATE INDEX t002 O b'00000000000f0000'); INSERT INTO t1(oid,a,x)VALUES(200000000000,10,'00000f0000000000'); INSERT INTO t1(oid,a,x)VALUES(-8,11,'0000000f00000000'); INSERT INTO t1(oid,a,x)VALUES(0400000,12,'00000000000f000f'); INSERT INTO t1(oid,a,x)VALUES(40000000000,13,'00000f000000000f'); INSERT INTO t1(oid,a,x)VALUES(67000,14,'00000000000f00f0'); INSERT INTO t1(oid,a,x)VALUES(200,15,'00000000000f00ff'); INSERT INTO t1(oid,a,x)VALUES(304,16,'0000000000004000'); INSERT INTO t1(oid,a,x)VALUES(7000000000000,17,'00000f00000000f0'); INSERT INTO t1(oid,a,x)VALUES(80000,18,'00000000000f0f00'); INSERT INTO t1(oid,a,x)VALUES(100000000000,19,'0000010000000000'); INSERT INTO t1(oid,a,x)VALUES(0040000000,20,'00000000000f0f0f'); INSERT INTO t1(oid,a,x)VALUES(-30,21,'000f000000000000'); INSERT INTO t1(oid,a,x)VALUES(34359738368,22,'0000000800000000'); INSERT INTO t1(oid,a,x)VALUES(30000,23,'0000000000000f0f'); INSERT INTO t1(oid,a,x)VALUES(8388608,24,'0000000000800000'); INSERT INTO t1(oid,a,x)VALUES(10000000000000,25,'00000f00000000ffc'); INSERT INTO t1(oid,a,x)VALUES(2000000000,26,'0001000000000000'); INSERT INTO t1(oid,a,x)VALUES(3000000000000000,27,'00000f0000000f00'); INSERT INTO t1(oid,a,x) VALUES(72057594037927936,28,'0100000000000000'); INSERT INTO t1(oid,a,x) VALUES(-6,29,'00000f0000000f0f'); INSERT INTO t1(oid,a,x) VALUES(205,30,'00000000000000f0'); INSERT INTO t1(oid,a,x) VALUES(4,31,'0000000000000004'); INSERT INTO t1(oid,a,x) VALUES(-68,32,'00000f0000008000'); INSERT INTO t1(oid,a,x) VALUES(-2,33,'00000f0000000ff0'); INSERT INTO t1(oid,a,x) VALUES(10000000000008,34,'0000800000000000'); INSERT INTO t1(oid,a,x) VALUES(50000000000,35,'0000008000000000'); INSERT INTO t1(oid,a,x) VALUES(4000000000,36,'0000000100000000'); INSERT INTO t1(oid,a,x) VALUES(-60,37,'00000f0000800000'); INSERT INTO t1(oid,a,x) VALUES(-1,38,'00000f0f'); INSERT INTO t1(oid,a,x) VALUES(3000000000,39,'00000000000f0ff0'); INSERT INTO t1(oid,a,x) VALUES(8400000,40,'0000000010000000'); INSERT INTO t1(oid,a,x) VALUES(2,41,'0000000000000002'); INSERT INTO t1(oid,a,x) VALUES(90000,42,'0000000000200000'); INSERT INTO t1(oid,a,x) VALUES(50000000,43,'000200000000'); INSERT INTO t1(oid,a,x) VALUES(-7,44,'000f800000000000'); INSERT INTO t1(oid,a,x) VALUES(060000000,45,'0080000000000000'); INSERT INTO t1(oid,a,x) VALUES(5000000000,46,'0000000000000fff'); INSERT INTO t1(oid,a,x) VALUES(-20,47,'00000f000000f000'); INSERT INTO t1(oid,a,x) VALUES(60000,48,'00000000000000ff'); INSERT INTO t1(oid,a,x) VALUES(128,49,'0000000000000080'); INSERT INTO t1(oid,a,x) VALUES(32768,50,'0000000000008000'); INSERT INTO t1(oid,a,x) VALUES(2147483648,51,'0000000080000000'); INSERT INTO t1(oid,a,x) VALUES(-3,52,'00000f00000000fd'); INSERT INTO t1(oid,a,x) VALUES(-28,53,'00000f0000000f80'); INSERT INTO t1(oid,a,x) VALUES(-29,54,'00000f0000000f70'); INSERT INTO t1(oid,a,x) VALUES(-9223372036854775808,55,'8000000000000000'); INSERT INTO t1(oid,a,x) VALUES(400000000000,5,'0S(10000000000,57,'0000000000000ff0'); INSERT INTO t1(oid,a,x) VA00000'); CREATE INDEX t000 ON t1(a); CREATE INDEX t002 O ? ?ICREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, x FROM t1, t2 GROUP BY 1, a, lower(1)ICREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT *, x FROM t1, t2 GROUP BY 1, a, "a","b"a+CREATE TABLE t1(a,x); INSERT INTO t1(oid,a,x)VALUES(-9,1,'00000f000000'); INSERT INTO t1(oid,a,x)VALUES(900,2,'0f00000000000000'); INSERT INTO t1(oid,a,x)VALUES(9223372036854775800,3,'0f0000000000000f'); INSERT INTO t1(oid,a,x)VALUES(7,4,'000000000000000f'); INSERT INTO t1(oid,a,x)VALUES(3,5,'0000000000000003'); INSERT INTO t1(oid,a,x)VALUES(600002001-01-0100,6,'01000000'); INSERT INTO t1(oid,a,x)VALUES(90000000000,7,'0000030000000000'); INSERT INTO t1(oid,a,x)VALUES(300,8,'0000000000000f00'); INSERT INTO t1(oid,a,x)VALUES(6000005,9,a 3fN!CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('00 02S00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 a00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2fICREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, x FROM t1, t2 GROUP BY 1, a, "a",0e02ICREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, x FROM t1, t2 GROUP BY 1, a, "a", a,b VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INS%RT 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('Wa00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('f INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); 00 Se0000000. William t000 m00'); INSERT I^TO t2 LUES('to 0a000 he'000''0 0le0t 000RT INTO t2 VALUES('. A st); INSERT INTO t2 VALUES('0u 0p. W0000000 w000 0f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000');HNSERT INTO t2 VALUES('Knd wa00 f00 0ol0'); 0u00 0r00 0h0 nort0.'); INSERT INTO  VALUES('00 10 Septe}ber 0h0 wi00 d00 tu0000 an0'); INSERT INT 0u00 0LUES('Wi00000''0 0fe0t 0l00. A sto00 b000 u0 and 0he') INSERT INTO t2 VALUES('fleet was f00: to 0a0e 0e0 00'); QNSERT INTO t2 VALUES('Sain0-V0000F-sur-Somme and a0a00 wH00 f00 t00 win0'); I0h0 020 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 iE00 a0 0000'); INSERT INTO t2 VBLUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000')SERT INTO t2 VALUES('to 000000000 0 f0 m0000 to 0h0 000, 00e00 0e'); INSERT INUO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e rUES('fleet was f000 t'); IERT INTO t2 VALUES('000 0000 0o0 0a00''s r0000::::0 f000 n0$ n00000 khk  CREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b",a F,oid"a","ba","b",a FROM (SELECT count(*)a FROM t0) WHERE a==0; U /CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,23'); INSERT INTO t2 VALUES('00 02S00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-u0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('td a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUESj CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('0000'); INSERT INTO tRT INTO t2 VALUES('0a00(0u00000 o0 00 Se0i CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('00 02S0000 fleet'); INSERT INTO 0 an000 00"0e000000'); INSER t2 g000000. 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 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); ('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES(o00000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); y>!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1, randomblob(1)); !CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,e,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1,1,CURRENT_TIME); R)CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON(t0.i0= t1.i0 OR (t0.i0=t1.i0)); HCREATE VIRTUAL TABLE t0 USING fts4(compress= "a" unc "a","b"u0000); 8 wPRAGMA /* */secure_delete; PRAGMA main.secure_delete   CREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b",a F,"b""a","ba",oid,a FROM (SELECT count(*)a FROM t0) WHERE a==0; BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER UPDATE ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tID=1 OR Te0tId=2; Id=2; CEFROM Re00T000e ORDER BY 1; tmDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<UDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN ( @1); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(ROWid,c) SELECT docid, c FROM t1o0d; DROP TABLE t1o0d; I3AkDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN ( @1); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, round(1,1) c FROM t1o0d; DROP TABLE t1o0d; 3@kDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN ( @1); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT round(1,1) docid, c FROM t1o0d; DROP TABLE t1o0d; V(DWDROP INDEX IF EXISTS .TCHy00.x000i; CCCREATE TABLE t1(a, b, c, d);EXPLAIN CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2* count(1)a,2*b,2*c,d FROM t1;ANALYZE&BQDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT zeroblob(1)id,2001-01-01 c FROM t1o0d 6t6|J}#;); # #CA](); #CA]#;); #CA]( (;#C); #;); #CA]((; #CCASCADE(; #;I{#;); # #CFY(X #C)unicode61o #;);[[[[[[[ # #CFY(X #C); #;); [[ ##GA] quot(1 ([[[[ # #CFY(X #C); ; #C)#;@;[[[[[[[[[ #CA#;);[[[[[[[ #;@ H#; #; #G-SELECT 1000000%000000000006000000000%00000006006000001000000001000000%0000006000000000%0000%0000006000000000%00000006006000010000003000060000; uFoSELECT 1000000%0000<0000006000000000%00000006006000001000000%0000006000000000%00000006006000010000003000060000; kE[CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" GROUP BY (1),"b", "n00b00"HAVING 1) OR ""; AuAESSELECT fts(_tokenizer('00a0', fts3_tokenizer,'simple')) IS NULL; ERSELECT fts3_tokenizer('00a0'< fts3_tokenizer,'simple')) IS NULL; EQSELECT fts3_tokenizer('00a0'<$fts3_tokenizer('simple')) IS NULL; }PCREATE TABLE t0( a,ba,b,c,d,e, P a,bRIe, PRIMARY KEY(a,p,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); VACUUM bOI#;);<(; #C#C); #*; $;);-CA]A](; #;CA]<(? #C#C); #* #)#; #tNm#;); #C); #;)(; #C); #;);C); #;); #CA](; #C); #;); #CA]((; #CA](); #;)(; #C);;#M#;); # #CA](; #C); #;; #C #C); #;); #(; #C); #;); #CA]((; # #CA](; #C); #;); #C#CA](; # L#;CAR(6 #');#CA](; #; #;;); #(; #;)d #CA]A](; #C); #;); #CA]((; #; #; #;); #(; #sKk#;);# # # #CA]CA]);# # # #CA]CA]);# # # #CA]CA(;(;(; # # #C(;# _(m_Z CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('000'); SELECT * FROM t0st WHERE k00000d MATCH'""OR'; Y CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('000'); SELECT * FROM t0st WHERE k00000d MATCH'"'; XCREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('000'); SELECT * FROM t0st WHERE k00000d MATCH '2001-01-01"'; W CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('000'); SELECT * FROM t0st WHERE k00000d MATCH ' '; !VGCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(' b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY "a","b",0e0,.2; iUWWITH i(x) AS ( VALUES(12001-01501) UNION ALL SELECT x+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; iTWWITH i(x) AS ( VALUES(12001-01501) UNION ALL SELECT x+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; p_D^ PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a/b,.01-01),b)OR a='0' ORDER BY +x; D] PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,b,.01,01),b)OR a='0' ORDER BY +x; E\CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), group_concat( ltrim(1,1)) FROM t0 GROUP BY m ORDER BY 1, 2; [CREATE VIRTUAL TABLE t0st USING fts4 (k00000d); INSERT INTO t0st VALUES ('000'); SELECT * FROM t0st WHERE k00000d MATCH '" glob(1,1)"'; YPbADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(22001E01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1=1_aCCREATE TABLE t0( a,ba, '0','000', '00J'); CREATE VIRTUAL TABLE f00 USING fts4(content=t0); #`KCREATE TABLE x(a,b); CREATE VIEW y AS SELECT group_concat(1,1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS y1, y AS y2 Wz; #_KCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 LIMIT changes(); SELECT @1p, y2.p FROM y AS y1, y AS y1, y AS y2 Wz; ::_dCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(80201-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; _cCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(10201-01-8100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; ::_fCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(14201-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; _eCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(30201-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; (:z(Ol#PRAGMA encoding=UTF16le; SELECT hex(ltrim(~'v00000')); ekOWITH i(x) AS ( VALUES(1) UNION ALL SELECT CURRENT_TIMESTAMP oid FROM i LIMIT 4) SELECT x FROM i; )jYATTACH rtrim(2, random() -11)as MAIN; )iYATTACH rtrim(5, random() -11)as MAIN; _hCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(10201-01-9100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; _gCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(10201-01-6100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; c@cYq7CREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0oERT INTO t0(a, b, c)00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(a, b, c); INSERT INTO t0two'; Xp5CREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 c); INSERT INTO t0(0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(a, b, c); INSERT INTO t0two'; EoCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH REPLACE(a, b, c); INSERT INTO t0two'; EnCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', ' "a","b"', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(a, b, c); INSERT INTO t0two'; Om#PRAGMA encoding=UTF16be; SELECT hex(ltrim( 'v00000')); ?sCREATE TABLE t0(a,b); CREATE TABLE l00(x UNIQUE, y); CREATE TRIGGER r0 AFTER INSERT ON t0 BEGIN UPDATE l00 SET y=y+ ?005WHERE@x=new.a; INSERT OR IGNORE INTO l00 VALUES(new.a,00); END; INSrCCREATE TABLE t2(a INT, b TEXT, c BLOB, d REAL); CREATE INDEX i0 ON t2(a ASC, b DESC, c ASC); CREATE INDEX i4 ON t2(b DESC, a ASC, d DESC); INSERT INTO t2 VALUES(1,'o00',x'00',1.0); INSERT INTO t2 VALUES(2,'two',x'32',2); INSERT INTO t2 VALUES(3,'0',x'00',3); INSERT INTO t2 VALUES(4,'u',x'00A0A000',4); INSERT INTO t2 VALUES(5,'f000',x'0000000000',5.0); INSERT INTO t2 VALUES(6,'x',x'00',6); INSERT INTO t2 VALUES(2,'two',x'3200',2.1); INSERT INTO t2 VALUES(2,'w',x'00',2.0); INSERT INTO t2 VALUES(2,NULL,NULL,3); SELECT count(B) FROM t2; <sukCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" ORDER BY "a","b""a","b", "a","b" LIMIT 1)IS ""; @tPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; DELETE FROM t0 WHERE rowid>102;ANALYZE; wCREATE TABLE t1(x); INSERT INTO t1 VALUES(randomblob(100)); INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100)Mt1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(100) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(102001%015010) FROM t1; CREATE INDEX i0 ON t1(x);REINDEX svkCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" ORDER BY "a","b""a","b", "a","b" LIMIT 1) OR ""; lRz)BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT zeroblob(1) "a"FROM a,b a,b,"b"); FyBEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT " "FROM a,b a,b,"b"); FxBEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE@i0 NOT IN (SELECT "a"FROM a,b a,b,"b"); QsQ9yDETACH printf('0%-111111111q1% -1111111111%0c0','0'); 9yDETACH printf('0%1111q11111q1% -1111111111%0c0','0'); &~QCREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(12001-01-01,2,3),(2,3,4); SELECT c FROM t1 WHERE char (12001,01-01,A) OR changes()}=CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b&a, b, '000' FROM t1 UNION SELECT *,a, '000' FROM t1 ORDER BY 3, 3,a, '000', b, '000' FROM; |CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, b, '000' FROM t1 UNION SELECT *,a, '000' FROM t1 ORDER BY 3 3,a' FROM; Y{7BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT sqlite_source_id() "a"FROM a,b a,b,"b"); "GlW3CREATE TABLE t3(a EXINTEGERPRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY@d DESC,d DESC, e DESC, b, "a","b"COLLATE rtrim(1,C; W3CREATE TABLE t3(a EXINTEGERPRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a"<"b"COLLATE rtrim(1,C; W3CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE rtrim(1,C; Z9CREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT * FROM t5 WHERE a=1 AND b='000'), t0 WHERE strftime(A,1, trim(1,#11)); =' bW3CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unni)))))))))))))))))))))))))))))))ng and jumping'); SELECT rowid FROM t1OUTERE content MATCH 'run jump'; D CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and juTABLE'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; ^ACREATE TABLE t3(a EXINTEGERPRIMARY KEY, b, c, d, e, f);EXPLAIN CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE rtrim(1,C; PD> CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run /* */-jump';  %CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruyning UES(1umping'); SELECT row^d 8 uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruyning and jBYping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8 uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'r_nning at jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; , ]CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1,''''''''''''''''''''''); SELECT rowid FROM t1 WHERE content ;ATCH <m8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRQBLEd jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'FUL ing and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; X5CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter%%%%%%%%%%%%%%%%%%%%%%/%%%%%%%%%); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'ru jump'; KCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run-jum p'; @CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run- "a","b"jump'; ,D~,ICREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rCURRENT_TI group_concat(1,1)jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; ECREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runninAUTOINCREMENT'); SELECT rowid FROM t1 WHERE content MATCH 'runAUTOINCREMENT jump'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runA%YLYZEd jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; B CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rREFERENCES jumpingREFERENCES'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rRENCES jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; m#0m?CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jllllllllllllllll2001-01-01lllllllllllllumping'); SELECT rowid FROM ICREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruLEINTOUSING fts3(cning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running anessping'); Swid FROM)CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'r2001-01-01unning andping'); SwiOMY7CREATE VIRTUAL TABLE t1 USING fts3(contntent, tokenizp porteent, tokenizp porter); INSERT INTe t1(rowid, cntent) VALUES(1, 'rt1aing and jumping'); SELECT rowid FROM t1 WHERE content M-TCH 'run CURRENT_TIMEjuup'; DBEGIN; CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID char(1) PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT.1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID<9 OR Te0tId<2; CELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; (UCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'COLLATE WHERE conte'); SELECT rowid FROM t1 WHERE conte[p'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running WHETE conte'); SELECT rowid FROM t1 WHERE conte[t MATCH 'run jump'; \`"ECREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRINDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE00(a NOT NULLCURRENT_TIMESTAMPt1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR`!ECREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRINDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREAT TABLE!00(a NOT NULLCURRENT_TIMESTAMPt1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR ECREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=?AND d=?AND d=?;  #CREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER 2r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER 2 88X&5CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(1000000000.0000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; X%5CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(1000.0000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; $CREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER 2r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER d2 $HlX*5CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(1 -100000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; X)5CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '00' ORDER BY docid DESC; X(5CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(10000000000000.000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; X'5CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(100000000000.00000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC;  HpT.-CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000.00000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDET--CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDET,-CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000.00000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDE\+=CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH 'a''0*' ORDER BY docid DESC; tb2ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '00201-01-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b1ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000.00000, '2001-01-0100'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b0ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000.0000000000000, '2001-01-0100'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; /CREATE VIRTUAL TABLE t0 USING fts4(x,order=DES,); INd, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDE h4Nhb6ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES( -1000000000000000, '002001-01-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b5ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000000000.0000000, '002001-01-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b4ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '002001-01-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b3ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000.00000000000, '002001-01-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; 4N :CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000000000, ' sqlite_compileoption_get(1)'); Sdocid DEb9ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000000000.0000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b8ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b7ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000.00000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; 0]Z?9SELECT quote(printf( 'a''%Yb')), quote(printf( 'a''%Yb')), quote(printf(NULL,1,2,3)); >CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,c,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=E AND d=? AND e= strftime(10e02,1)?; Q='CREATE VIRTUAL TABLE t0 USING fts4(x,or upper(1); IN INTO t0(docid, x) VALUES(100000000000000000, '00'); INS t0(docid, x) VALUES'0b'); SELECT rowid FROM t0 WHERE x MATCH ' min(1,1)0*' ORDER BY docid DESC; O<#CREATE VIRTUAL TABLE t0 USING fts4(x,or upper(1); IN INTO t0(docid, x) VALUES(100000000000000000, '00'); INS t0(docid, x) VALUES'0b'); SELECT rowid FROM t0 WHERE x MATCH 'a''b''0*' ORDER BY docid DESC; L;CREATE VIRTUAL TABLE t0 USING fts4(x,or upper(1); IN INTO t0(docid, x) VALUES(100000000000000000, '00'); INS t0(docid, x) VALUES'0b'); SELECT rowid FROM t0 WHERE x MATCH 'a''0*' ORDER BY docid DESC; B'DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a","b"MATCH-"a","b" /* */) FROM t1 ORDER BY 002; ADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a","a","b" /* */) FROM t1 ORDER BY 002; @DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a","b","a","b" /* */) FROM t1 ORDER BY 002; ]E?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower( zeroblob(9))| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); gDSPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y,DE REFERENCES"b" REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t0 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); I CDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(0e02,"b"-"a","b" /* */) FROM t1 ORDER BY 002; 44gGSCREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower( zeroblob(12001-01-01))| new.b || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ]F?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | sqlite_compileoption_get(1)| '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); yyH 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,2010201- " ","b"|substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; UU3KkDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1)); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE $ocid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; 3JkDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1,CURRENT_TIMESTAMP); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (3, '2001-01-01test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; 9IwDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Ph00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1;VACUUM 3~3GNDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,32001-01-01); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; =MDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'Thisߖ0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; =LDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1LIMIT 1; {JQBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('00 b'); INSERT INTO t0 VALUES('bb c'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH '00'; END; =PDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; @ODROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3) -1; SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; W+]yW VCREATE VIRTUAL TABLE t0 USING fts3(0, b, c); INSERT INTO t0 VALUES('', 'B', 'C'); UPDATE t0 SET docid =$5; SELECT docid, * FROM t0; U'ATTACH''AS noname; ATTACH':memory:3 AS name; memory:' AS inmemmem;VACUUM; VACUUM; CREATE TABLE noname.n00000(x);VACUUM; CREATE TABLE n(y) `TEBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('00 bb'); INSERT INTO t0 VALUES('bb cc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH 'a''0 strftime(1,1,1,1)0'; END; JSBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 SELECT('00 bb'); INSERT INTO t0 SELECT('00 bc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH '00'; END; QR'#EGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('00 bb'); INSERT INTO t0 VALUES('bb cc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH 'a''b''00'; END; KsO{K\-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=D AND d=? AND b=?; [-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND b=?; PZ%CREATE TABLE av4(a, b, c); CREATE INDEX av00 ON av4(a); CREATE INDEX a000 ON av4(b); CREATE INDEX a00000 ON av4(c); CREATE INDEX a004 ON av4( /* */c); INSERT INTO av4 VALUES('0', '0', '0');REINDEX rtrim(1Y+CREATE TABLE [sill0 0 0a0e](a, b c);EXPLAIN CREATE INDEX '' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000''00000' ON [sill0 0 0a0e](c); XCREATE VIRTUAL TABLE t0 USING fts3(0, b, c); INSERT INTO t0 VALUES('0', 'B', 'C'); UPDATE t0 SET ROWid = 5; SELECT docid, B FROM t0; WCREATE VIRTUAL TABLE t0 USING fts3(0, b, c); INSERT INTO t0 VALUES('0', 'B', 'C'); UPDATE t0 SET docid = sqlite_compileoption_get(1) tT jbYCREATE TABLE t0( a,ba,b,c,d,e, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a)WHERE d,e) a?ATTACH''AS nooname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH'me:' AS me; ATTACH':memory:' AS inminmemmem;VACUUM;REINDEX TABLE n %`OATTACH''AS nooname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH'memory:' AS me; ATTACH':memory:' AS inminmemmem;COMMIT; CREATE TABLE noE 0 _CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND b=?COLLATE a,bD e >=?; ^CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=A AND c=? AND d=? AND b=? AND c= a,bD e >=?; ]CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,a,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND b=? AND c= a,bD=?; pGfPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(9000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%B; oecWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+ random() - 1=111 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10/2kd[WITH i(x) AS ( VALUES(1) UNION ALL SELECT total_changes() FROM i ORDER BY 1) SELECT x FROM i LIMIT 10/2 cCREATE TABLE t0 ( a,ba, b, PRI); UPDATE t0 SET b='ab0', b='0 INSERT INTO t0(a, b) VALUES('ab0', '000'); UPDATE t0 SET b='ab0', b='000'; j5jGhPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(9200), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%B; GgPRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROMt1; INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%B; g9gNj!PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100));EXPLAIN INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%B; Ci PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FR1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%B; 2+2uloCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(i,g,c,e,e,g,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 60 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; Qk'PRAGMA auto_vacuum = incremental; PRAGMA journal_mode = DELETE; CREATE TABLE t1(a PRIMARY KEY, b); INSERT INTO t1 VALUES(randomblob(1000), randomblob(100)); INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1000), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(1200), randomblob(1000) FROM t1; INSERT INTO t1 SELECT randomblob(102001-01-0100), randomblob(1000) FROM t1; DELETE FROM t1 WHERE rowid%B; F=oCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES(' 0'); INSERT INTO t0 VALUES(' 0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(1,M); =nCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES(' -'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(1,M); umoCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(i,g,c,d,e,g,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 102 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; of|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ 40,(# ~xtޟ)ݟ"ڟןԟӟҟџП ϟΟ̞͞~˞zʞwɞuȞsǞnƞiŞeĞ]ÞUžPLKJIHGB>92.)#  ~ytoljhfb\VQNKHGEB?qpjdb]XRKECA?<62ߟ.:62.*&#" rzwusqlfdb~^}Z|S{JzD A/A&tQCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('tene', '0000', 't%xt 000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); sACREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c); INSERT INTO t4 VALUES( trim(1,1), '0000', 'te'); INSERT INTO t4(t4) VALUES('integrity-check'); rACREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c); INSERT INTO t4 VALUES( glob(1,1), '0000', 'te'); INSERT INTO t4(t4) VALUES('integrity-check'); aqGCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars='); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=x\xC0'); hpUCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=ݤ'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=x\xC0');REINDEX DEDVy1CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES(' total_changes()text 0ne', '0000', 'text 0L TABLE t4 USING fts4(a, b, c, n00ee'); INSERT iNTO t4(t4) VALUES('integrity-check'); -x_CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('t avg(1)ext 0ne', '0000', 'tex000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); 7wsCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('texCURRENT_TIMESTAMPt 0ne', '0000', 'text000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); 7vsCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('teCURRENT_TIMESTAMPxt 0ne', '0000', 'text000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); 7usCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('text 0ne', '0000', 't%xtCURRENT_TIMESTAMP 000ee'); INSERT INTO t4(t4) VALUES('integrity-check'); jqj,~]CREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', '00RENAME0'); )}WCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', '00 @10'); &|QCREATE VIRTUAL TABLE t0 USING fts3tokenize(porter); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simp,e, '', '0000'); %{OCREATE VIRTUAL TABLE t4 USING fts4(, b, c, notindexed=a, b, c, nota, b, c, notindexed=a, b, c, notindexed=bb); 0C0ee'); INSERT INTO t4(t4) VALUES('inty-check'); bzICREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('text 0ne', '0000', 't sqlite_compileoption_get(1)ext 0L TABLE t4 USING fts4(a, b, c, n00ee'); INSERT iNTO t4(t4) VALUES('integrity-check'); -V"-qgCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,e,f,i,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT * FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; CREATE VIRTUAL TABLE t0 USING fts3tokenize( "a", "a","b"e); ze(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(simple, '', '0000'); &QCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize( [a]le, [a] '0000'); &QCREATE VIRTUAL TABLE t0 USING fts3tokenize(simple); CREATE VIRTUAL TABLE t2 USING fts3tokenize(); CREATE VIRTUAL TABLE t3 USING fts3tokenize(unicode61,b '0000'); ,XX5CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.aKCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 GLOB load_extension(1,1) JOIN t102 AS t2 ON(t1.i0=NOT+t0.i0 OR t2.i0=t1.i0)); =CREATE TABLE x(QUERYa,q); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 USING (q)=HERE y1.q=y2.q; SELECT * from0<eCREATE TABLE t3(a INTFGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, a, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, a, d PLAN SES;+CREATE VIRTUAL TABLE ft0 USING fts3(x,a 0', 'c d'); INSERT INTO ft0 VALUES('e',Gc d'); INSERT INTO ft0 VALUES('a a'ISNULL, '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0; I:CREATE VIRTUAL TABLE ft0 USING fts3(x,a 0', 'c d'); RT INTO ft0 VALUES('e',Gc d'); INSERT INTO ft0 VALUES('a a', ' >='); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0; w2w7BsSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY likelihood(1,1) (1)ys x; 'ASSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY a.bys x; '@SSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY +)ys x; t?mCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; SELECT avg(1), txyZ.x< tb0Th.y, tb0tH.x, * FROM tabc, txyz ORDEbc, txyz, tb0th ORDER BY a,b,"b" 1; >R(>fGQCREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(xINTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t000 WHE t0; CF SELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNIONNULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY (1)ys x; 0EeSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY RECURSIVE(1)ys x; +D[SELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY LIKE(1)ys x; *CYSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY FOR(1)ys x; fHQCREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(xIN,EGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHE t0; rr IDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+57777E-77 || 01-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CR INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; ttJDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10200/-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM t1 BETWEEN 30 AND 60; ttKDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(102001-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM t1 BETWEEN 30 AND 60; WW%LODROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(102001-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577777777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM t1 BETWEEN 30 AND 60; NNPCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diecritcs=1'S('0'); INSERT """""""""""""""""""""""""""""); I0"""); IsOkCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSEWT; IsNkCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSEWT; I5MoCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); ~V:\~ZU9CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t0.i0= t0.i0 /* */ AND t0.i0=t1.oid AND t0.i0=t1.i0)); ZT9CREATE TABLE t102 (i0 EXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 /* */ AND t0.i0=t1.oid AND t0.i0=t1.i0)); SCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT LEKE 'a0' JOIN t102 AS); RSELECT 1.000606000000-00<00000<0<000-00"{>]n?CREATE TABLE t102 (i0 TEXTUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT? FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'LEFT JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0)); Ym7SELECT-'0000' UNION SELECT avg(1) ORDER BY 1 ASC,1 ASC, 1 COLLATE ASC,1 ASC, 1 COLL #lKCREATE TABLE t0(x TEXT UNIQUE, y TEXT UNIQUE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (x='000' OR y='000' OR x='000')AND N !kGCREATE TABLE t0(x TEXT UNIQUT, y TEXT UNIQlE, z); INSERT INTO t0 VALUES('000','000','0'); SELECT DISTINCT* FROM t0 WHERE (8='000' OR y='000') AND y ISNULL N 5joDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c,; INSERT INTO t1 (docid, c) VALUES (1, time(1,1,1)); IN=ERT INTO t1(docid,c) VALU0t0006 'T00t w00 0 test'); INSERT INTO t1(docid, c) VALUES (3, julianday(1,1,1)); DELETE FROM t1 WHERE 1=1; --0000 INSERT INTO t1(docid, c) VALUES (1, '0 t000'); E=sCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='T//Tt"'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_checkfrQSELECT * FROM (SELECT sqlite_source_id() sqlite_master WHERE round(1,1)) WHERE oid LIKE '000000'; jqYCREATE TEMP TABLE t0001(aӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[]?TE000'; jpYCREATE TEMP TABLE t0001(aӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[000'; ]o?CREATE TABLE t102 (i0 TEXUUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT? FROM t102 AS t0 /* */JOIN t102 t1 ON t1.i0 GLOB 'a0'LEFT JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t0.i0=t1.i0)); ccXu5BEGIN TRANSACTION; CREATE TABLE t1(a nt char(1), b int, c int); CREATE INDEX i1 ON t1(a,a); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT a FROM t1 WHERE a>1.);ANALYZE DROP IN=tCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='TE Tt['; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_chec[ J2wiPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( 5112001-01-01,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 WHERE a&1; 2viPRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( 5112001-01-01,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FRO;REPLACE INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 WHERE a-1; JhzUSELECT sqlite_rename_trigger(' >500 AND t2.i0=t1.i0)); =CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00:00:000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY idx; G|| }PRAGMA page_sidL; PRAGMA wal_autocheckpoint == WAL; PRAGMA journal_size_limit = 10.; PRAGMA journal_size_limit = 10.0 ; a GPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON DELETE RESTRICT);REPLACE INTO t1 VALUES(13);REPLACE INTO t1 VALUES(13) G PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES 1 ON DELETE SET NULL);; INSERT INTO t1 SELECT(13) 5 oPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT REFERENCES 1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13); I 33hUCREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1,1,1) | round(1,1)| '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); ] ?CREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1,1,1) | abs(1)| changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); SSFCREATE TABLE t10(x NTEGER PRIMARY KEY, y INU z CHAR(900)); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT total(1) FROM t10 AS a JOIN t10 AS b ON a.y-DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT @NT ,ADROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBח"); INSERT @NT O+#DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oeatwoBbϽѽ000000A0'); CREATE VIRTUAL TABLE t0auxUx; *=DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBBt̍t̍00'); INSERT ECT #t2mDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBT0ꪪ˪ux00002A0'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0); SELECT * FROM t0aux; 1%DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBt0ꪪne0002A0'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0); SELECT * FROM t0aux; a0GDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBt0ꪪtne0002A0'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)O t/mDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwo0ꪪne0002A0'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0); SELECT * FROM t0aux; Q Q61SELECT * FROM (t0), ( ( t05, (t0, ( a,bt0), tE),t0), (t0, (t05, (t0, ( t05, (t0, a,b,bt0), tE), (t0)a,bt0), bt0), tE), (t0)a,bt0)E), (t0) WH),15gCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000e+2 days' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1O 14gCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('s','s0'),( substr(1,1,1)-hex(2001-01-011),'000'),(-hex(1),'m00'); '3SDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBt0ꪪne0002A0'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0); SELECT * FROM t0aux; pAv<qCREATE TABLE t1(x, y DEFAULT(datetime('2001-01-01 '))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); 0;eCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b,A'000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 3,a, '000' , 2, 3,a, '000' ,a, '000' , 2, a,b,"b" :ACREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT b,a, '000' FROM t1 ORDE UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 3,a, '000' , 2, 3,a, '000'" <9SELECT printf('0%110.101s0%110.100s0','REN0', total(1));81SELECT * FROM (t0), ( ( t05, (t0, ( a,bt0), t0, ( a,bt0), tE),t0), (n0,t05, (t0, ( a,bt0), tE), (tP)a,b0), bt0), tE), (t0)a,bt0)E), (t0) WH), 7SELECT * FROM (t0E, ( ( t05, (t0, ( a,b0), tE05, (t0, t0), tE05, (t0, ( a,bt0), tE), (t0)a,bt0), bt0), tE), (0)a,bt0)E), (t0) WH), 66`?EDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE abs(1)IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(#)/>cDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid -1IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1RE/=cDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid -0 IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1RE T(AUDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE abs(1)IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t;o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d; DROP TABLE t1o0d; (@UDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE abs(C)IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d; DROP TABLE t1o0d; Q9CwDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE abs(1)IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO CURRENT_TIMESTAMPt1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d; DROP TABLE t1o0d; +B[DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c); INSERT INTO t1(docid,c)VALUES( -11,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE abs(1)IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d; DROP TABLE t1o0d; T4EmDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN ( 1); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, zeroblob(1) c FROM t1o0d; DROP TABLE t1o0d; (DUDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid <= ( @1); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d; DROP TABLE t1o0d; %LQ%K/#;)HheckpuaA]A; #C);nt FRO; #A](; #C #C; #C #C); #;); #(; #C #C); #;); #(; #C #C); #;;#J##;)heck);n(; #C #C);); #(;tRO; #FRO; #A](; #C #C); #;); #(; #C #C); #;;#NI!CREATE VIRTUAL TABLE x0 USING fts4; INSERT INTO x0(x0) VALUES('merge=0'); VH1CREATE VIRTUAL TABLE x0 USING fts3; INSERT INTO x0(x0) VALUES('merge=DEFERRED0'); NG!CREATE VIRTUAL TABLE x0 USING fts3; INSERT INTO x0(x0) VALUES('merge=8'); 0FeDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN ( @1); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, zeroblob(1) c FROM t1o0d; DROP TABLE t1 wFw RCREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('000'); SELECT * FROM t0st WHERE k00000d MATCH '""a","b""'; Q CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('000'); SELECT * FROM t0st WHERE k00000d MATCH ' '; 7Ps#REATE TABLE t1(a, b); PRAGMA auacuuY=O00; PRAGMA synchronous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA journal_000; PRAGMA page_size=1000; ode=TRUN;); >>>+++++++++++++++++++++++++++++>>>>X>>>>ping'); SELECT rowi00 t1 WHERE content MATCH 'run ump'; CREATE VIRTUAL TABLE t1 USING fts3(content, tokenze ent, tokenze porter); INSERTrowid FROM t1 WH;ES(1, 'unning and jumping'; STCHp'; HCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jum " "a","b"a","b"p'; @CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH ' "a"jum "a","b"p'; *JtbICREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runnEE cEEEEEEEEEEEE t1 WHERE coEEEEEEEEEEEEEEEE t1 WHERE cEEEEEEEEEEEE t1 WHERE cog at0e01mping'); SELECT rowid n ju R)CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'un """"""""""""""""""""""""jump'; \=CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run """"""""""""""""""""""""""""""""""""jump'; R)CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1,-'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run """"""""""""""""""""""""""jump'; ?<x?" ICREATE VIRTUAL TABLE t1 USING fts3(content, tokenize'''''''''''''''''' porte'''''''''''''''''' porter); INSERT INTO t1FROM t1 WHERE content MATCH 'run-jump'; S +CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruyness aruyness and jumping'); SELEnd jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8 uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, '%Yyness and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; @ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running ant jggggggggggggggggggggggggROM t1 Wning ant ent MATing Gnt jumping'); CCH @CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running ant jggROM t1 WHERE content MATing GntERE content MATing Gnt jumping'); CCH 1>17sCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRQBLEd jumREATE VIRTUAL TRBLE t1 USINping'); SELECT rowid Ft1 Wjump'; V1CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'FULLing aNOTNULLi FULLing aNOTNULLing'); SELECTng'); SELECT rowid FROM t1 WHERE contentCTng'); SELECT ro; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'FULLing aNOTNULLing'); SELECT rowid FROM t1 WHERE content MATCH 'DEFERRED'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'NOTNULL aNOTNULLing'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; > CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumpiCS(1, ng'); SELECT rowid FROM t1 WHERE content MATCH 'ru jump'; [D5[V1CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, ' strftime(1,1,1,1) strftime(1,1,1,1)g'); SELECT rowid FROM t1 WHERE content MATCH ' time(1,1,1)run jump'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'TRANSACTION jACTION'); SELECT rowid FROM t1 WHERE content MATCH 'ruACTION'; ?CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'TRANSACTIOU jumpingCTIOU j'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'TRANSACTIOU CTIOU jumping'); ro8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'TRANSACTYON jACTION'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; D4 CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runAN%YYZN%YYZEd |umping'); CTd 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runAN%YYXEd jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runANeeeeed jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; -CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rREFCROSSES jumpinROSSES jumping'); SROM8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rREFCROSSES jVALUES'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; .eZ9CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rCURRENT_TIMESTAMPunni total(1)RRENT_TIMESTAMPjumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; R)CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runninAUTOINCREMENT'); SELECT rowid FROM t1 WHERE content MATCH 'runAUTOINCREMENT jumpAUTOINCREMENT'; ECREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runANAL decimal(ted)YZEd jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; N!CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runAN%YYZEd jumping%YYZEd jumping'); SELE'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; >i?#CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jlllll; INSERT INTO t1(rolllRENAMEllllllllumpi\g'); SELECT rowid FROMQ"'CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, ' sqlite_compileoption_ge sqlite_compileoption_get(1)llllllllllllllllllumping'); SELECT rowid FROM T!-CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USI ftsM(cningNG ftsM(cning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; f QCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running CURRENT_TIMESTAMPand jumping'); SELECT rowid FROM t1 WHERE content MATCH 'CURRENT_TIMESTAMPrun CURRENT_TIMEjump'; y85y8(uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runtiog ancestoring'); SELECT rowid FROM t1 WHERE content MATCH 'rncestor'; +'[CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rujlllllYYYYYYYYYYYYYYYYYYYYY;YYYYALLY'); SELECT rowid FR +&[CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rujlllllYYYYYYYYYYYYYYYYYYYY;YYYYYYYY'); SELECT rowid FR !%GCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jllllllllllllllLEd sum(1)Gllllumping'); D$ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jlllll; INSERT INTO t1r); INSERT INTO t1(rowid, contg'); SELECT rowid FROM I0Is,kCREATE TEMP TABLE t0001(aӝӜ); SELECT * FROM sqlite_teMp_master WHERE sql GLOB '*E?****???????????????????'; n+aCREATE TEMP TABLE t0001(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*E?**0???????????E000'; @*CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=?AND d=?AND ? AND c=? AND d=?AND d=?; )BEGIN; CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT.1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>9 OR Te0tId<6; CELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; v4NvT0-CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC,order=DESC); INSERT INE x) VALUES(100000.00000000000, '00'); INSRT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDEb/ICREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(ROWid, x) VALUES(100000000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b.ICREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(1000.0000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b-ICREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(10000000000000.000, '02001-01-010'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; z(F`zb4ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000, '002001-0B-02001-0B-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b3ICREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000.0000000000000, '0 a,b-01-010'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; ^2ACREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '02001-01-010'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDET1-CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '00'); INSERT INTO t0(docid, x) VALUES(?, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDE T4DTl8]CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-00-01' ORDER BY docid DESC; l7]CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '00<); INSERT INTO t0(docid, y) VA min(1,1)2001-02001-01-011-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b6ICREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(102001-01-01000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b5ICREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(100000.00000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; ]:CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,c,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=E AND d=? AND e= strftime(1e031,1)?; 9CCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000000000, ' s sqlite_source_id()qlite_compileoption_get(1)'); Sdocid DE yy; 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, '000'); 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,9010201- "a","b"|substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; yy< 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,9030201- "a","b"|substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; ==G?DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'his is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,32001-01-01); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; =>DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'his is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001501-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; 3=kDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1)); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE $ocid IN(1,3); SELECT OPTIMIZE(t1) FROM t1LIMIT 1; J2J4DmATTACH''AS nooname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':memory:' AS inminmemmem;COMMIT; CREATE TABLE noE 0 C-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=A AND d=? AND b=?; B-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=?; ACREATE VIRTUAL TABLE t0 USING fts3(0, b, c); INSERT INTO t0 VALUES('0',-'B',-'C'); UPDATE t0 SET docid = 5; SELECT docid, B FROM t0; =@DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'Thisis 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001501-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; )m)aJGCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'separators= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'separators=ݤ'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=x\xC0'); aIGCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'separators= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=Bݤ'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=x\xC0'); wHsCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=?BETWEEN? AND time(A,1,A,1,b,c,d,e)); wGsCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=?BETWEEN? AND time(1,1,A,1='); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0; SELECT* FROM aux0; LSELECT sqlite_rename_parent( "REF!!!!!ERENCES 0 >=",'000'ISNULL,'000'); GSELECT sqlite_rename_parent( "REFERENCES 0 <=",'000'ISNULL,'000');  %m+ [SELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY-a,b (1)ys x; & QSELECT NULL="a","b" ORDER BY m0r0 UTL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY m0r00r0; 4 mSELECT NULL "a","b" UNION SELECT "I"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY (33333333333332)ys x; dMCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT round(1,1)AS m FROM t2 ORDER BY a; EXPLAIN QUERY PLAN SELECT t1.z, avg(1) FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002 -1ocCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 JOINLEFT JOIN t102 JOIN t102 AS t2 ON(t2.i0= t0.i0 OR t0.i0=t1.oid); M4ASELECT NULL,"a","a","b" UNION SELECT"b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2'x' ORDER BY "a","a","b"; 9SELECT NULL,"a","a","b" UNION SELECT"b" UNION SELECT "b"LL UNION SELECT 1 UNIL,"a","a","b" UNINULL UNION SELECT 1 UNION SELECT 2'x' ORDER BY "a","b"; aGSELECT NULL,"a","a","b" UNION SELECT"b" U UNION SELECT 1 UNION SELECT 2'x' ORDER BY "a","b"; 1 gSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY a,OFFSETb (1)ys x; / cSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY a (1),b (1)ys x; fQCREATE TABLE t000( a,ba INTEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INTEGER PRIMARY KEY, q, r); CREATE TABLE t002(x,N,EGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT DISTINCT* FROM t000, t001, t002 t001, t002 WHE t0; rr DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+57777E-77772001-0E-017,6,'000'|@substr(c,4) FROM t1 WHERE c GLOB '0000*'; CR INDEX t0b ON t1(a); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND 60; ttDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(102001-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM t1 BETWEEN 30 AND 60; s|bICREATE TABLE t102 (i0 EXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 /* */ AND t0.i0=t1.oid AND t0.i0=t1.i0)); skCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('0'); INSEWT; IskCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSEWT; I CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'""separators=leoption_get( "a","b"1)); IN VALUES('\0E0'); ` U`CREATE TEMP TABLE tϫ(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[E00'; hUCREATE TEMP TABLE tώ(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '* *[E00'; naWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT /* */ x FROM i LIMIT 10 ,7; D CREATE VIRTUAL TABLE t0 USING rtree(i0 hiDDISTINCT x2, y1, y2); BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (SELECT a,b, a,b,2,4,8 a,b)bICREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 /* */ AND t0.i0=t1.oid AND t0.i0=t1.i0)); r iCREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(d, d);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000');REPLACE INTO t0 VALUES('0000000','000r000','0000a','000r000');REPLACE INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *, '0' FROM t0 ORDER BY c, a; eOCREATE TABLE t1(x, y DEFAULT(datetime('2001-00-01 '))); INSERT INTO t1(x)VALUES(1); SELE1;  DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max(0e02, (1),"b") FROM t1 GROUP BY 002; r!iCREATE TABLE t0(a,b,c,d, PRIMARY KEY(c,a)) WITHOUT ROWID; CREATE INDEX t00d ON t0(b, b);REPLACE INTO t0 VALUES('000','000r000','00a','000000');REPLACE INTO t0 VALUES('0000000','j00000','0000000','0000000');REPLACE INTO t0 VALUES('0000000','000r000','0000a','000r000');REPLACE INTO t0 VALUES('00000c','00000','0000000','000000'); SELECT *, '0' FROM t0 ORDER BY c, a; ((T"-PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x%Y,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<1.; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length( oid) FROM t1 ORDER BY+2 days ~C ~ 'CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notindexed=00, oi, a0 a000, notindexed=p00, n); INSERT,'0 ); exe; '&SCREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notin0, notindexed=p00, notindexed=dexed=00, notindexed=p00, notindexed=poi); INSERT, ); exe; %CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notindexed=00, no sqlite_compileoption_get(1)); INSERT,'0 ); exe; $CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notindexed=00, no total(1)p00, notindexed=poi); INSERT,'0 ); exe; ,#]CREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1',''),('t1','t1b',''); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c; ofh|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ v^uZtUsQrOqMpLoInDm?l=k:j5i0h,PjOdN`M\LWKQJLIHHDG?F<E7D3C0B-A)@%? >=<;:9 8 765~4z3x2u1p0k/f.b-],W+R*N)K(G&C%?$<#9"5!.'"!  zusf)e(d'c&b _\ZYXW VUTySqRmQlrn k h d _ YTOJD?<;:g*840,(# ~x 4`04Y.7SELECT-'0000' UNION SELECT avg(1)UNION SELECT avg(1) ORDE ORDER BY 1 ASC,1 ASC, 1 `-ESELECT-'0000' UNION SELECT avg(1) ORDER BY 1 ASC,1 ASC, 1 COLLATE ASC, 1 ASC,1 ASC, 1 COLL !,GCREATE TABLE t0(x TEXT UNIQUT, y TEXT UNIQHHHHHHHHHHHHHHHHHHHHHHHHHHHHH'000','000','0'); SELECT DISTINCT* FROM t0 WHERE (8='000' OR y='000') AND y ISNULL N +-CREATE VIRTUAL TABLE t2 USING fts4(poi, a0 a000, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi, a0 a000, not0, notindexed=poi); *-CREATE VIRTUAL TABLE e2 USING fts4(p00, noti000, notindexed=p00, notindexed=00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi); )-CREATE VIRTUAL TABLE t2 USING fts4(poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi); (=CREATE VIRTUAL TABLE t2 USING fts4(@oi, a0 a000, notindexed=p00, notindexed=00, notindexed=p00,00, notindexed=00, notindexed=poi); INSERT,'0 ); exe; %Fl%j5YCREATE TEMP TABLE t0001(aӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[ͫ000'; j4YCREATE TEMP TABLE t0001(aӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0[????*[000'; j3YCREATE TEMP TABLE t0001(aӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??E?????*[000'; j2YCREATE TEMP TABLE t0001(aӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??1?????*[000'; j1YCREATE TEMP TABLE t001(aӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??0?????*[000'; [0;SELECT-'0000' UNION SELECT '000h' ORDER BY rOReplace(1,1,1) COLLATE ASC,1 ASC, 1 COLL Y/7SELECT-'0000' UNION SELECT '000h' ORDER BY OFFSETe(1,1,1) COLLATE ASC,1 ASC, 1 COLL PP]9?SELECT sqlite_rename_trigger(' 6500 AND t2.i0=t1.i0)); > CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 IN t102 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t0.i0)); = CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 IN t102 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t2.i0<+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); sCCREATE TABLE t10(x NTEGER PRIMARY KEY, y INU z CHAR(900)); CREATE INDEX t000 ON t10(y) EXa.y500 AND t2.i0=t1.i0)); @ CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 IN t102 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON sqlite_compileoption_get(1) AND t2.i0=t1.i0)); Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 h sqlite_compileoption_used(1)u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); V(mVyGwCREATE TABLE t000(c0,,I,T0000); CREATE TABLE t002(c000 INT0000); SELECT c000,* FROM t000 NATURAL JOIN t000 AS c000; F3CREATE TABLE t0(a, b); SELECT DISTINCT "a", "a","b","ba","b",a F,"b""a","ba"."b""a","b","ba","b".a F,a FROM (SELECT count(*)a FROM t0) WHERE a==0; 7EsCREATE TABLE t0(a, b); SELECT DISTINCT "a", "a","b","ba"; SELECT DISTINCT "a", "a","b",","b",a F,"b""a","ba","b""a","b","ba","b",a F,a FROM (SELECT count(*)a FROM t0) WHERE a==0; LDCREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES(NOT'00 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0 sqlite_compileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00' ?nJ?KBEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER UPDATE ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>1 OR Te0tID=1 OR Te0tId<2; Id=2; CEFROM Re00T000e ORDER BY 1; J!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e= strftime(1, substr(1,1,1)); I!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e= strftime(1 >=CURRENT_TIME); H!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e= strftime(1<1,CURRENT_TIME); HDN DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=tB"); INSERT INTO t0 VALUES('oneatwotύ00'); INSERT INTO t0 VALUES('one0Ͼ0eatwotύ00'); RTBLE t0%MODROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBBt̍tatwoBBt̍t̍00'); INSERT IN LBEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER UPDATE ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>1 OR Te0tID=1 OR Te0tId=6; Te0tId=2; CEFROM Re00T000e ORDER BY 1; W+&W RDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INS t0 VALUES('ERT ;Q{DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBRT INTO t0 VNTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGS t0; CREATE VIRTUAL TABLE t00'); INSERT INTO t0 VALUES('one0000A0'); CREATE VIRTUAL TABLE t0au00bSING fGGGGGGGGGGGGGGGGGS t0; CREAts4aux"t0); PDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=2001-01-01t0 VNTO t0 VAGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG00'); INSERT INTO t0 VALUES('one0000A0'); CREATE VIRTUAL TABLE t0au00bSING fts4aux"t0); QO'DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBt=00'); INSERT INTO t0 VALUES('one0000A0'); &R *J*SW+CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'NATURAL JOIN t102 AS tFT JOIN t102 ON( unlikely(10=t1.i0)); KVCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'NATURAL JOIN t102 AS tFT JOIN t102 ON( unlikely(10aCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b [a],A'000' FROM t1 UNION SELECT b, length(1)a, '000' FROM t1 ORDER BY 2, 3,a, '000' , 2, 3,a, '000' ,a, '000' , 2, "a","b" ;`{CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b [a],A'000' FROM t1 UNION SELECT b, avg(1)a, '000' FROM t1 ORDER BY 2, 3,a, '000' , 2, 3,a, '000' ,a, '000' , 2, "a","b" 4_mCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b [a],A'000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 1,a, '000' , 2, 3,a, '000' ,a, '000' , 2, "a","b" )^WSELECT * FROM (t0), ( ( t05, (t0, ( a,bt0), tE),t0), (t0,bt0), bt0), t05, (t0, ( a,bt0), tE), (t,t0), (t0,bt0), bt0), t05, (t0)a, tE), (t0)f,bt0)E), (t0) WH), pPpmf_CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bI a,be, PQ, PRIMARY KEY(a,b,c,d,c)) WITHOUT ROWID;REINDEX INDEX me_CREATE TABLE t0( a,ba,b,c,d,e, P a,bR UNIQUE,be, PRIMARY KEY(a,b,c,d,a,b,c)) WITHOUT ROWID;REINDEX INDEX (dUDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid < 'a''b'; DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d; DROP TABLE t1o0d; cDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN t1R oEm ok9CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' 1=1(1,1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH '" time*1,1,1)"'; ,j]CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' glob(1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH '" strftime(1,1,1,1) 1=1 glob(1,1)"'; ,i]CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' glob strftime(1,1,1,1)(1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH '" 1=1 glob(1,1)"'; Th-#REATE prindf(1,1) b); PRAGMA auacuuY=O00; PRAGMA synchronou =NO00; PRAGMA synchronous=N000USIVE; PRAGMA journal_mode=TR; PRAGMA lockingEmode=EXCLUSIVE; PRAGMA journal_mode=TRUNC; PRAGMA journal_mode=TRUN;); 7gs#REATE printf(1,1) b); PRAGMA auacuuY=O00; PRAGMA synchronous=NO00; PRAGMA synchronous=N000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA journal_mode=TRU00; PRAGMA synchronous=NO00; PRA |bg|gpSCREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('000'); SELECT * FROM t0st WHERE k00000d MATCH '" t(1,1,1,1)ime(1,1,1 strfti1,L,1 strftime(1,1,1,1)imeme(1,1,1,1ti1,1,1 strftime(1,1,1,1)im)ime(1,1,1)"'; o?CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' time(1,1,1 1=1'); SELECT * FROM t0st WHERE k00000d MATCH '" time @1(1,1,1)"'; ,n]CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' strftime(1,1,1,1) time(1,1,1 1=1'); SELECT * FROM t0st WHERE k00000d MATCH '" time(1,1,1)"'; &mQCREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' time(1,1,1) time(1,1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH '" time*1,1,1)"'; l9CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' time(1,1,1 1=1'); SELECT * FROM t0st WHERE k00000d MATCH '" time*1,1,1)"'; K4h K=uCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a= (1); SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y1, y AS y1, y AS y y1; *tYCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE /* */ (1); SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y y1; *sYCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE+/* */x2.a; SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y y1; HrCREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('00e(1,1,1 wtrftime(1,1,10'); SELECT * FROM t0st WHERE k00000d MATCH '" t(1,1,1,1)ime(1,1,1 wtrftime(1,1,1,1)ime(1,1,1)"'; HqCREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('0,1,1 strftime(1,1,1,1)00'); SELECT * FROM t0st WHERE k00000d MATCH '" t(1,1,1,1)ime(1,1,1 strftime(1,1,1,1)ime(1,1,1)"'; :?:_xCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(:eroblob(900)); INSERT INTO t0 VALUES(zeroblob(10201-01-2100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%3; PRAGMA incremental_vacuum(); ROLLBACK; wADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0 sqlite_compileoption_used(1)); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(20001E01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1=1=vCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y1x1, x AS x2 WHAS y y1; ::_zCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(500)); INSERT INTO t0 VALUES(zeroblob(14201E01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; _yCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(14201E01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid-6; PRAGMA incremental_vacuum(); ROLLBACK; i.~aCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,d,b,c,a,b,c,d,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND b=? AND c=? AND d=? ANI d=? AND e=?; }1CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,b,b,c,a,b,c,d,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=?7SINe=?; |1CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,d /* */,b,c,d,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; _{CPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(14201E01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid&6; PRAGMA incremental_vacuum(); ROLLBACK; Nn?CREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(-----------------------wo'; \=CREATE VIRTUAL TABLE t0 USING fts3(a, '000 0o00', 'one two', b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(a, b, c): strftime(1,1,1,1)'; \=CREATE VIRTUAL TABLE t0 USING fts3(a, '000 0o00', 'one two', b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(a, b, c): INSERT INTO ttwo'; .aCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,d,b,c,a,b,c,d,d,b,c,a,b,c,d,b,c,e,d,c,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; )=y)T-CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE t0ree four&, '000 0o00', ' sqlite_compileoption_get(1)one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fes3(a% b, c): INSERT INTO t0two'; 8uCREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE t0ree four&, '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fes3(a% b, c): strftime(1,1,1,1)'; 8uCREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE t0ree four&, '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fes"(a% b, c): INSERT INTO t0two'; @CREATE VIRTUAL TABLE t0 USING fts3(a, VALUES('one four''one two'); SEmECT a, b, c FROM , '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(-----------------------.-wo'; ?CREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '00 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G xts3(-----------------------wo'; 7 CREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y char(1) PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT?1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~1 LEFT JOIN t92 OCT 5 SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?1OR b=3k [CREATE VIRTUAL TABLE rt USING rtree(i0,CONSTRAINT x0,CONSTRAINT x2); INSERT INTO rt VALUES( hex(1)); S ECREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G -13(a, b, -1; -NSERT INTO t0two'; www sCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000" [a], "n00b00" FROM "0000" GROUP BY "a","b""a","b", "a","b" LIMIT 1)IS ""; CREATE TABLE t91(x int); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT?1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~1 LEFT JOIN t92 OCT 5 CT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?1OR b=3 PPT-BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1) "a"FROM b,b,a,b,"b"); T -BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO a VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1) "a"FROM a,b,a,b,"b"); NNV1BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1)OR "a"FROM a,b,a,b,"b"); T-BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1)/"a"FROM a,b,a,b,"b"); JJX5BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1)LIKE "a"FROM a,b,a,b,"b"); V1BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1)IN "a"FROM a,b,a,b,"b"); :H:cKWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM a,b,i ORDER BY 1) SELECT x FROM i ,I,I? 10; $MCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, b, '000' a,? FROM t1 UNION SELECT *,a, a,b '000' FROM t1 ORDER BY 3, 3,a, '000', b, '000' FROM; X5BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1) "a"FROM a,b a,b,a,b,"b"); X5BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1) || "a"FROM a,b,a,b,"b"); z0@azcKCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runnZZZing arunnZZZing ant jumpinZnt jumpinZZZZing ant jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; [;CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH ' min(1,1)rus0t0o00p"" """"""""""""""""4jump'; l]CREATE TABLE t5(a, b); CREATE TABLE t0(c, d); INSERT INTO t5 VALUES(1, '000'); INSERT INTO t0 VALUES('abc', '00000'); SELECT * FROM (SELECT DISTINCT* FROM t5 WHERE a=9 AND-b='000'), t0 WHERE strftime(1,1,11,1,1,1 AND 1=1-b='000')<1 cKWITH i(x) AS ( VALUES(1) UNION ALL SELECT randomblob(1)i ORDER BY 1) SELECT 8 FROM i ,I,I? 10; gSWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM a.b,i a,b ORDER BY 1) SELECT x FROM i ,I,I? 10; |R" ICREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRED frunANALYYEd jumpinANALYYEd jumping'); ump'; 8uCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'TRANSACTYON jACTYON'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; Q'CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DEFFERRQBLEd jumREATE VIRTUALERRQBLEd jumREATE VIRTUAL TRBLE t1 USINping'); SELECT rowid Ft1 Wjump'; /CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumpiCS(1, niCS(1, ng'); SEL CREATE VIRTUAL TABLE''' t1'USING fTs3(content, tokenize porter); INSERT INvcontent) VALRE content MAing Gdt dumping'); CCH aMa%CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=?AND d5$oCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jllllllllllllALLYlllllllllllumping'); SELECT rowid FROM b#ICREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING ftsM(cning andLE t1sM(cning andLE t1 US US jumping'); SELECT rowid FROM t1 WERE co|tent MATCH 'rump'; ="CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 't1 USING frunANNALYYEd jumpinANALYYEd jumpALYYEd jumpinANALYYEd jumping'); ump'; /!cCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 't1 USING frunANALYYEd jumpinAunANALYYEd juNALYYEd jumping'); ump'; >*8>v)qCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000.0000000000000, '022001-01-01001-01-010'); INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; n(aCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000.0000000000000, '02 ;001-01-010'); INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; l']CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(102001-01-01000000, '02001-01-010'); INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; b&ICREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(2001-01-010000.000, '00'); INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; -CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,c,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=E AND d=? AND e= strftime(1e084,1)?; ,CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,c,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=E AND d=? AND e= strftime(1e081,1);; v+qCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '01'); INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '2001-01-010*2001-01-01' ORDER BY docid DESC; l*]CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '01'); INSERT INTO t0(docid, x) VALUES(0, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-01-01' ORDER BY docid DESC; 0%DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1( [a]i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a", round(1,?) /* */) FROM t1 ORDER BY 002; /DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2),LIKE( "a","a","b" /* */) FROM t1 GROUP BY 002; .DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2),LIKE( "a","a","" /* */) FROM t1 ORDER BY 002; nnG3DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'his is0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,32001-01-01); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; /2cDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, julianday(1,1,1)); INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1)); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE $ocid IN(1,3); SELECT OPTIMIZE(t1) FROM t1LI1; 1%DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1( [a]i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( "a", round(1,A) /* */) FROM t1 ORDER BY 002; X4XX75BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('02001-01-010 bb'); INSERT INTO t0 VALUES('bb cc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH '^0*00'; END; C6 BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 SELECT('00 bb'); INSERT INTO t0 SELECT('bb cc'); INSERT INTO t0 SELECT docid FROM t0 WHERE t0 MATCH '00';SAVEPOINT END; 65qBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 SELECT('00 bb'); INSERT INTO t0 SELECT('bb cc'); INSERT INTO t0 SELECT docid FROM t0 WHERE 40 MATCH '00';; G4DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'his is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (32001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,32001,01-01); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; *h|r*(<UATTACH''AS nooname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':memory:' AS inminmemmem;VACUUM;ANALYZE ;5ATTACH''AS nooname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH'me:' AS me; ATTACH'me:' AS m; SELECT'ory:' ASmmem;VACUUM;CRE:CREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN NOT (SELECT~~~~~~~~~~~ new.ar BETWEEN 0 AND 1=120) THEN ra++++++++++++++++++++++++++++++ise(rollback, '000000') END; END; INSERT INTO foo(bar) VALUES (0); h9UCREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN NOT (SELECT~~~~~~~~~~~ new.ar BETWEEN 0 AND $1=120) THEN raise(rollback, '000000') END; END; INSERT INTO foo(bar) VALUES (0); 8-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY( /* */a,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=D AND d=? AND b=?; `E`a?GCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars='); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'tokenchars=x\xC0'); >>CREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=RENAME'1 'tokenchars=RENAME'); CREG ft; u=oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(i,g,c,e,e,g,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 102 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; &^&XD5CREATE TABLE x(a,b); CREATE VIEW y AS SELECT min(1,1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=^^^^^BLE x USING fts4(y,'; TCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('000 bbb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'b ; ^EA >=-000'; SCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b"b 000'); SELECT * FROM x where y MATCH 'b`b*NEAR/6 000'; R1CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 bbb c00', 'bbb 000'); SELECT * FROM x where x MATCH 'bbb NEAR/6 00 NEAR/6 0-0'; ViG\CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES(' @1', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -1 -1 -1'; [!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a= /* */b= c=?BETWEEN? AND? AND b=? AND c=?BETWEEN? AND eOR?; .ZaCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a= /* */b=C AND d=E AND b=? AND c=? AND d=E AND c=? AND d=E AND b=? AND c=? AND d=E AND e OR?; %YOCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a AND c=? AND d=E AND b== /* */b=C AND c=? AND d=E AND b=? AND c=? AND d=E AND e OR?; &XQCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a= /* */b=C AND c=? AND d=E AND b=? AND c=? AND d=E AND b=? AND c=? AND d=E AND e OR?; a2iea`CREATE TABLE t102 (i222222222222222222222222222220 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURAL JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102)AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); _CREATE TABLE t102 (i222222222222222222222222222220 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURAL JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102)AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); E^CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'oo'); INSERT INTO ft VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo @1 1=1'; J]CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -1 -1 -1 -1'; 7x;d{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b, c, b, b,$c, d, e,$f,E; ;c{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b, c, b, b< c, d, e,$f,E; ;b{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b, c, b< b, c, d, e,$f,E; aCREATE TABLE t102 (i0 BEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS LEFT JOIN t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 AS tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)); AxYj7SELECT 19999=9999999999999999999/999999=9999999919999=9999999999999999999/99.999999 fiQSELECT 1999=99999999999999999999.999999999=99999999999999999999.9999999999999999999999999.999999 HhSELECT 19999=9999999999999999999.99999 || 99999999999999999.999999 ;g{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 GROUP BY b< c,$b, a, c, d, e< f,E; ;f{CREATE TABLE t3(a,INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY round(1,1), c, d, e,$f,E; ;e{CREATE TABLE t3(a,INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY b, c, b, b, c,$d, e,$f,E; I'lSSELECT NULL "a" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY a, "a","b"x; 3kkSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL "a","b" UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY a, (1)ys x; ttmDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(102001-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'o00' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM t1 BETWEEN 30 AND 60; w qBEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in ( char(1),?, a,b,2,4,8);10)bpICREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t2.i0= t0.i0 /* */ AND t0.i0=t1.oid AND @1i0=t1.i0)); oCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'""separators= "a"separators=); INUES( VALUES('\0E0'); nCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'""tokenchars= "a"tion_get(1)); INUES( VALUES('\0E0'); m.pnyaWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/-x FROM i LIMIT 10 -7; nxaWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/ x FROM i LIMIT 14 -7; xwuCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,c,c,c,c,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c= 'a'D c@vSELECT sqlite_rename_parent( "2E -1E -1N 9a]",'000','000'); 500 AND t2.i0=t1.i0)); CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT total(1) FROM t102 AS t0 JOIN t102 ON t2.i0 IN t102 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 IN t102 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t0.i0 IN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); pR)CREATE TABLE t10(x NTEGER PRIMARY KEY, y INU z CHAR(900)UNIQUE); CREATE INDEX t000 ON t10(y); EXPLAIN QUERY PLAN SELECT total(1) FROM t10 AS a JOIN t10 AS b ON a.y=CURRENT_TIME); %!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e= strftime(1<1,CURRENT_DATE); $!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,a)); SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e= strftime(1<1,CURRENT_TIME); #ECREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT "ba","b"oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; @"CREATE TABLE t0(a, b); SELECT DISTINCT "a", "ba","b",a F,"b""a","ba","b""a","a","b","ba","b",a F,"b""a","ba","b""a","b","ba","b",a ,"b""a","b","ba","b",a F,a FROM t0) W0; !;CREATE TABLE t0(a""a","b","ba, b); SELECT DISTINCT "a", "a","b","ba","b",a F,"b""a","ba","t002","b","ba","b",a ,"b""a","b","ba","b",a F,a FROM t0) W0;  'BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>1 OR Te0tID=1 OR Te0tId=2; Te0tId=2; CEFROM Re00T000e ORDER BY 1; (BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 MATCH+ 0 WHERE Te0tID>1 OR Te0tID=1 OR Te0tId=2; Te0EFROM Re00T000e ORDER BY 1;  )BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=3 OR Te0tID>1 OR Te0tId=2; Te0tId=2; CEFROM Re00T000e ORDER BY 1;  *BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tID>2 OR Te0tId=2; Te0tId=2; CEFROM Re00T000e ORDER BY 1; /,cDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBt varchar(1)L TABLE t0aux USING fts4aux(t00'); INSERT INTO t0 VALUES('one0000A0'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0); SELECT * FROM t0aux; +BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tID>1 OR Te0tId=2;ANALYZE=2; CEFROM Re00T000e ORDER BY 1; C$0<Cu0oDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtꪪ0Ī blob'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+ Up/eDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtꪪ0ꪪĪ'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+ Up.eDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtꪪꪪ0Ī'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+ UX-5DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtϽ߽ ޽ sqlite_compileoption_used(1)one0000A0'); CREATE VI 1ZoG5SELECT * FROM (t0), ( ( t05, (t0, ( a,bt0), tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a,bt0), tEt05, t0, ( a, a,b, tE),t0)), (t0, ( a, a,b, tE),t0)), (t0)a,bt0), bt0), tE), (t0), bt0), tE)0,4SELECT * FROM (t0), ( ( Kt0, (SELECT a,bt0bt0), 0, (SELECT a,bt0bt0), tE),t0)) a,bt0bt0), bt0), tE), (t0)a,bt0)E), (t0) WH),^3ACREATE TABLE FAIL AS SELECT 4 CURRENTODATE, 5 CASFOR, 5 CURRENTODATE, 5 CURRENTODATE SEL S2+CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'NATURAL JOIN t102 AS tFT JOIN t102 ON( unlikely(10=t0.i0)); K1CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'NATURAL JOIN t102 AS tFT JOIN t102 ON( unlikely(10CPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(14201E01-0100)); INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; O DCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,b,b,c,a,b,c,d,b,c,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=?7S"CICREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,b,b,c,a,b,c,d,b,b,c,a,b,c,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=?7SINe=?; &BQCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,b,b,c,a,b,c,d,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND b=? AND c=? AND d=?7SINe=?; A1CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,b,b,c,a,b,c,d,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND b=?7SINe=?; i@WPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(142001-01-01201E01-0100)); INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; (O(EICREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ee four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G ftSERT INTO o*tw o*tO o*tw o*two'; EHCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3, c); INSERT INTO o*tw*o*two'; NG!CREATE VIRTUAL TABLE t0 USING fts3(a, SELECT a, b, c FROM t0 WHERE t0ree four&, '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fes3 a% b, c): INSE::::::::::::::::::::::RT INTO t0two'; ?FCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3-------u-------4-------wo'; -E_CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,a,b,b,c,a,b,c,d,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND a=? AND b=? AND c=? AN c=? AND d=?7S Ne=?; &L'CREATE TABLE t91( 'a''b'x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y NTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT?1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~1 LEFT JOIN t92 OCT 5 SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?1OR b=3kK[CREATE VIRTUAL TABLE rt USING rtree(i0,CONSTRAINT x0,CONSTRAINT x2); INSERT INTO rt VALUES(-hex(1)); S VJ1CREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3, c); INSERT INTO o*tw o*NSERT INTO o*tw otwo'; OO-M_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 randomblob(1)OR~~~~~~~~~~~~~~~~~~~~~~~~~~~~b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?13; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?1OR b=3 |OCREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE+(SELECT "000000", "n00b00" FROM "0000" ORDER BY "a","b""a","b", "a","b""a","b", "a","b" LIMIT 1)IS NCREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000" "n00b00" FROM "0000" ORDER BY "a","b""a","b", "a","b""a","b", "a","b" LIMIT 1)IS $|$TQ-BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO a VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1)%"a"FROM a,b,a,b,"b"); PCREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" ORDER BY "a","b"ASC,"b", "a","b""a","b", "a","b" LIMIT 1)IS AVAjUYWITH i(x) AS ( VALUES(1) UNION ALL SELECT randomblob(1)i GROUP BY 1) SELECT avg(1) x FROM i ,I,I? 10; $TMCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, b, '000' a,b FROM t1 UNION SELECT *,a, a,b,'000' FROM t1 ORDER BY 3, 3,S, '000', b, '002' FRJSBEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5)INTERSECT SELECT* FROM a WHERE i0 NOT IN (SELECT "a"FROM a,b,a,b,a,b,"b"); XR5BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO a VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4); INSERT INTO b VALUES(5); COMMIT; SELECT* FROM a WHERE i0 NOT IN (SELECT randomblob(1)LIKE "a"FROM a,b,a,b,"b"); ~?0ZeCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumpiCSing and jumpiCS(1, niCS(1, (1, niCS(1, ng'); SEL @YCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruyeing and juuying); SELEC auying); SELEC and jumying'); SELECT rt MATCH 'runp'; .XaCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ryyeCREATEd juyymping'); SELECT rowid FROM t1 WHERE content ump'; EWCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning aed jum>>>>>>>>>>>>Aeing'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; VWITH i(x) AS ( VALUES(1) UNION ALL VALUES(1) UNION ALL SELECT randomblob(1)i ORDER BY 1) SELECT avg(1) x FROM i ,I,I? 10; N}~c^KCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and ll; INSERT INTO t1(rollllllllllllllll,ll; INSERT INTO t1(rolllllllllllllumping'); SELECT rowid FROM{]{CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING ftsM(cning andLE tE t1 USING ftsM(cning andLE t1 US ELSEing ftsM(cning andLE'); SELECT rowid FROM t1 WHERE co|ten MATCH 'rump';M\CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'uLE t1 USING ftsM(cning andLE t1 US ELSEing'); SELECT rowid FROM t1 WHERE co|tent MATCH 'rump'; .[aCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running ang and jumpiCS(1, niCS(1, d jumpiCS(1, niCS(1, ng'); SEL iylb]CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000000000.000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-01-01' ORDER BY docid DESC; la]CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-01-01' ORDER BY docidDESC; #`KCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jlllllllllllllltreEd sum(1)Gllllumping'); l_]CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and ll; INSERT INTO t1(rowlllll; INlllllllllllllll; INSERT INTO t1(rolllllllllllllumping'); SELECT rowid FROM 2$fMCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,b,d,e)); SELECT * FROM t0 WHERE a=? AND b=D AND d=? AND b=? AND c=D AND d=? AND b=?; ^eABEGIN; CREATE VIRTUAL TABLE t0 USING fts4(orderdesc); INSERT INTO t0 VALUES('00 b'); INSERT INTO t0 VALUES('2001-01-01bb cc'); INSERT INTO t0 VALUES('cc 02001-01-010'); SELECT docid FROM t0 WHERE t0 MATCH '0*'; END; Td-BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(orderdesc); INSERT INTO t0 VALUES('00 b'); INSERT INTO t0 VALUES('2001-00-01bb cc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH '0*'; END; c%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,?) /* */) FROM t1 ORDER BY 002; h:Wk3CREATE VIRTUAL TABLE t0 USING fts3tokenize( "a","b" "a", "a","b", '', '0 VIRTUAL TAB}LE t3 USING fts3token "a","b"( "a","b" "a", "a","b", ', '', 'xVIRTUAL$TAB}ple, A', '0000'); j=CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,e)); SELECT * FROM t0 WHERE a=C AND b=? AND a=? AND c=D AND d=? AND b=?; i=CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,c,d,e)); SELECT * FROM t0 WHERE a=B AND b=? AND a=? AND c=D AND d=? AND b=?; hCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=D=? AND b=?; g-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,a,b,b,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=D AND d=? AND b=D AND d=? AND b=, t0o); INSERT INTO ft VALUES('', 'fo @1o'); INSERT INTO ft VALUES('f/ @1o', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'f :1o :1o'; O{#CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo OR =2001-01-011'; rr DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(1020012001-01-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM EN 30 AND 60;  BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a OR+(SELECT a,b, a,b,2,4,8 a,b) BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a OR (SELECT a,?, a,b,2,4,8 a,b) BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(a,b); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(3,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a OR (SELECT a,?, a,b,2,4,8)+10) :{0:n aWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/-x FROM i LIMIT hex(1) n aWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/-x FROM i LIMIT 18 -7; CREATE TABLE t0(a,b,c i,d,e, PRIMARY KEY(a,b,e,c,b,e,c,c,b,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND c500 AND t2.i0=t1.i0)); CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 IN t102 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t0.i0 IN (1) JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t0.i0 IN t102 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN (1) JOIN t102 AS t2 ON(t2.i0=+t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); X0XLCREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3'); INSERT INTO t2 VALUES(NOT'00 and'); INSERT INTO t2 VALUES('0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 AUTOINCREMENTcompileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00fQCREATE TABLE t102 (i0 TEXTUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 NATURAL JOIN t102 AEFT JOIN t102 t1 ON t1.i0 IN (1)LEFT JOIN t102 AS t2 ON(t2.i0++++++++++++++++++++00 AND t0.i0=t1.i0)); bICREATE TABLE t102 (i0 TEXTUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 NATURAL JOIN t102 AEFT JOIN t102 t1 ON t2.i0 IN (1) JOIN t102 AS t2 ON(t2.i0++++++++++++++++++++00 AND t0.i0=t1.i0)); 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'); Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('flCROSSas f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); $($2 iCREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b",oid,"b""a","ba","b", *,"ba","b",count(*)FROM (SELECT "ba","b" oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; +[CREATE TABLE t0(a""a","b","ta, b); SELECT DISTINCT "a", "a","b","ba","b",a F,"b""a","ba","t002","b","ba","b",a F,a ,"ba","b",a ,"b""a","b","ba","b",a F,a FROM t0) W0; ;CREATE TABLE t0(a""a","b","ba, b); SELECT DISTINCT sqlite_compileoption_used(1)"a","ba","t002","b","ba","b",a ,"b""a","b","ba","b",a F,a FROM t0) W0; LCREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES(NOT'00 and'); INSERT INTO t2 VALUES('W0000''s fleetai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 s00 0 sqlite_compileoptikn_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e00000 sqlite_compileopti0a00(0u0@000 o0 00 J%!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,a)); SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e= strftime(1<1,CURRENT_DATE); }$CREATE TABLE t000(c0 a,b,,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000,* FROM t000 NATURAL JOIN t002 AS c000; y#wCREATE TABLE t000(c0,,I, a,b0); CREATE TABLE t002(c000,INT a,b); SELECT c000,* FROM t000 NATURAL JOIN t002 AS c000; 2"iCREATE TABLE t0(a, b); SELECT DISTINCT "a","","b", *,"ba""b",oid,"b""a","ba","b", *,"ba","b",count(*)FROM (SELECT "ba","b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; 2!iCREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b",oid,"b""a","ba","b", *,"ba","b",count(*)FROM (SELECT glob(1,1)oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; i4iG(DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtϽ߽ ޽NOTN޽NOTNULL00'); ALUEI ='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 &BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=3 OR Te0tID>3 OR Te0tId=2; Id=2; CEFROM Re00T000e ORDER BY 1; ma-CDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0˹ع׋ke "a"=un"); RT -,_DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBߟ "ߟ "a"a""); INS,+]DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBߟߟ "a""); INS'*SDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBeparators=aBtors=aB"); RT )#DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBepaB"); RT NDKNN|1}DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtꪪ*0Ī'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+ Uy0wDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtꪪ*0Ī total(1)'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+ Uu/oDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtꪪ*0Ī blob'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0)+ U8.uDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0˹׋kenBETWEEN t0˹׋kenize=un"); RT +}*6YCREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t s strftime(1,1,1, "a","b"(1,1,1r00ime(1,1,1)"'; *5YCREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t s strftime(1,1,1,1 "a","b"(1,1,1,1)ime(1,1,")"'; B4 CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' time(1,1,1) min(1,1)(1,1,1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH 'me(1,1,1) min(1,1)(1,1,1" g^ob(1,1)"'; *3YCREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' time(1,1,1) min(1,1)(1,1,1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH replace(1,1,1); ^2ACREATE VIRTUAL TABLE x0 USING fts3; INSERT INTO x0(x0) VALUES('merge=,200152001-01-010'); F5kF*;YCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 LIMIT /* */ (0); SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y y1; *:YCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE /* */ (0); SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y y1; E9CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t s strftime(1,1,1,1 B,1,1)ime(1,1,1"a","b"(1,1 VIRTUAL TAB,1,1)ime(1,1,1)"'; F8CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t s strftime(1,1,1,1 "a","b"(1t s strftime(1,1,1,1 "a","b",1,1,1)ime(1,1,1)"'; G7CREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t s strftime(1,(1,1,1,1 "a","b"(1,1,1,1)ime(1,5,1 "a","b"(1,1,1,1)ime(1,1,1)"'; 9O9S@+CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.akCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE NOT/* */ (1)ISNULL; SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y y1; -=_CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE NOT/* */-(1); SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y y1; -<_CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE NOT/* */ (0); SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y y1; e^DACREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3-------u-------4-------wts3-------u-------4-------woo'; ?CCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G f || -------u-------4-------wo'; 2BiCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(1) "a","b"p FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y y1; aAGCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM y AS y1, y A, y AS1, y y1, y S1, y AS y1, y AS y1, y , y A, y AS1, y AS y1, y AS y y1; h|ahjHYWITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblob(1)i ORDER BY 1) SELECT avg(1) x FROM i I,I? 10; GCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, a,b,'00' a,b FROM t1 UNION SELECT *,a, a,b,'000' FROM t1 OR@'002' FRF3BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4);VALUES(5)INTERSECT SELECT* FROM a WHERE i0NO); ECREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE+(SELECT "000000", "n00b00" FROM "0000" ORDER BY "a","b"ASC,"b", "a","b""a","b", "a","b" LIMIT 1)IS  6kN[CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DEF..........!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.......ERRABLEd jumpiES(1,TABLEd jumpiES(1, ng'); SEump'; "MICREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRABLEd jumpiED(1,TABLEd jumpiES(1, ng'); SEump'; hLUWITH i(x) AS ( VALUES(1) UNION ALL SELECT ra(1)IN "a","b"i ORDER BY 1) SELECT avg(1) x FROM i ,I,I? fKQWITH i(x) AS ( VALUES(1) INTERSECT SELECT rablo(1) x FROM i ,I1) SELECT avg(1) x FROM i ,I,I? 10; JWITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblob(1)i ORDER BY 1) SELECT avg(1) x FROM i ,I,i ORDER BY 1) SELECT avg(1)I? 10; jIYWITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblob(1)i GROUP BY 1) SELECT avg(1) x FROM i ,I,I? 10; a;K[avRqCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000.00000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*20012001-01-01-01-01' ORDER BY docid DESC; lQ]CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000.00000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*201-01-01' ORDER BY docid DESC; lP]CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000000000000 , '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-01-01' ORDER BY docidDESC; AOCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRABLEd jumpiES(1,TABLEd jABLEd jumpiES(1,TABLEd jumpiES(umpiES(1, ng'); SEump';  &V-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,E,c,a,b,b,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=E AND d=? AND b=?; vUqCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*20012001-01-01-01-01' ORDER BY docid DESC; lT]CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*200101-01' ORDER BY docid DESC; lS]CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*201-01-01' ORDER BY docid DESC; F~& [CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b"b a,b'); SELECT * FROM x where y MATCH 'b`b "a","b"000'; ZCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b"b a,b'); SELECT * FROM x where y MATCH 'b`b NEAR/6 000'; DY CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH ' 1=1''c'; DX CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0  sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'a''b''c'; 6WqCREATE VIRTUAL TABLE t0 USING fts3tokenize( "a","b" "a", "a","b", ''"a","b"b",", i01,"b", a,b, '0 VIRTUAL TABE t0 USING fts3tokenize( "a",ts3tokeni^e(simple, A' '0000'); /b<`}CREATE VIRTUAL TABLE ft USING fts3( >=, t0o); INSERT INTO ft VALUES('', 'fo @1o'); INSERT INTO ft VALUES('fo @1o', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' :1 :1f :1o :1o'; 9_wCREATE VIRTUAL TABLE ft USING fts3( >=, t0o); INSERT INTO ft VALUES('', 'fo @1o'); INSERT INTO ft VALUES('fo @1o', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' :1o :1o :1o'; M^CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' 1=1 (1)foo OR 11'; I]CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' (1 1=1 OR 11'; M\CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' sqlite_version(),1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' 1=1 -1foo 1=1 1=1';  aCREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 S LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 ASANDE JOIN t102 tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)); rr bDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(9,1,'0000'); INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM EN 30 AND 60; rr cDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT-a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM EN 30 AND 60; of|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ )'% ߧ ާ ݧ ܧۧȦ!ǦƦŦĦæ ¦|wsokgc_ZVRNJFB<852.*)(%! zvrjedcba`[VRNHD@;61-(٦wئqצp֦kզdԦ`ӦZҦTѦLЦFϦAΦ<ͦ7̦2˦.ʦ*ɦ&%  ~}~|z{uzpykxfڦ|wbv^uZtUsQrOqMpLoInDm?l=k:j5i0 rr dDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHECURRENT_TIMESTAMP; CREATE INDEX t0b ON t1(a); ANALYZE; SELECT(c FROM EN 30 AND 60; rr eDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(c FROM EN 30 AND 60; !4Vn!JjCREATE VIRTUAL TABLE t0 USING rtree(i a hIDDEN blobDEXex(1), y1, y2); diMCREATE TABLE t000(a INvEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT avg(A%A)FROM t002, t001, t000, t002, t001, t002 IR, t001, t002 WR Zh9CREATE TABLE t000(a INvEGER PRIMARY KEY, b, c); CREATE TABLE t001(p INY KEY, q, r); CREATE TABLE t002(x INTEGER PRIMARY KEY, y, z); EXPLAIN QUERY PLAN SELECT avg(A) "a","b"FROM t002, t001, t000, t002, t001, t002R bgICREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON( @1i0= t1.i0 /* */ AND t0.i0=t1.oid AND t0.i0=t0.i0)); bfICREATE TABLE t102 (i0 TEXTUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON( @1i0= t0.i0 /* */ AND t0.i0=t1.oid AND t0.i0=t0.i0)); AX@BApreCREATE TEMP TABLE t0001(aͫ00ӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*??A?????*[000'; qCREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notioi, a0 a,0, notindexed=00, notindexed=p0 , notindexed=a,00, notindexed=poi); |p}WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/ randomblob(1)-x FROM i LIMIT 14 -7; |o}WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/ randomblob(1)-x FROM i LIMIT 90 -7; nCREATE TABLE t0(a,b,c i,d,e, PRIMARY KEY(a,b,e,c,b,e,c,c,b,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND b0 OR Te0tId=2; Te0tId=2; CEFROM Re00T000e ORDER BY 1; !CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,a)); SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e= strftime(1<1, printf(1,1)); CREATE TABLE t000(c0 a,ba,b,,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000,* FROM t000 NATURAL JOIN t002 AS c000; ywDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatw00oBtཽ00'); INSERT INTO t0 VALUES('one0000A0'); &R BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>3 OR Te0tID>0 OR Te0tId=2; Id=2; CEFROM Re00T000e ORDER BY 1; ^'^E DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB𹹹 t0ٹ˹˹ " "a"a"kenize=un"); RT HDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹٹ˹ٹ˹ "a"kenize=un"); RT DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('onZatwBtཽBtཽonZatwBtཽ00'); INSERT INTO t0 VALUES('one0000A0'); &R zyDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('ongatwoBtཽBtཽ0 blob0'); INSERT INTO t0 VALUES('one0000A0'); &R *`O#CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, x AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; *YCREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH ' "a","b"rftime(1,1,1, "a","b"(1,1,1r00ime(1,1,1)"'; b ICREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(p,b,c,d,a,bI,c)) WITHOUT ROWID+X b ICREATE TABLE t0( a,ba,b,c,d,e, P U,IQUE,bI a,be, PRIMARY KEY(a,b,c,d,a,bI,c)) WITHOUT ROWID+X p eCREATE TABLE t0( a,ba,b,c,d intP UNIQUE,bI a,I a,be, PRIMARY KEY(a,b,c,d,c)) WITHOUT ROWID;REINDEX rtrim) IN` ECREATE TABLE t0( a,ba,b,c,d intP UNIQUE,bI a,be, PRIMARY KEY(a,b,c,d,a,b,c)) WITHOUT ROWID+R ~#<_~]?CREATE TABLE x(y1, y a,bA, a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM y AS y1, y A, y AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; Y7CREATE TABLE x(y1, y A, a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.Y AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM y AS y1, y A, y AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; cKCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y AS x1, x AS x2 WHER AS y1, y AS y1, y AS y1, y AS y y1; Y7CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y x1, x AS xS1, y AS y1, y AS y1, y AS y1, y AS y y1; btmPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(142001-01-01201E01-0100)); INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT sqlite_source_id()LIKE x FROM t0; INS2iCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a; SELECT DISTINCT "a","b"p FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y y1; 2iCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(1),"a","b"p FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y y1; 9CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(1) "a","b"p FROM y AS y1, y AS1, x AS y1, yAS; ll+[CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, b,b FROM t1 UNION SELECT *,a, a,b, '000' a,b FROb,'000' FROM t1 ORDER BY 3,FROb,'000'', b, '002' FR+[CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, b,b FROM t1 UNION SELECT *,a, a,b, '000' a,b FROb,'000' FROM t1 ORDER BY U, ,S, '000', b, '002' FR3BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(1); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO a VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4);VALUES(5)INTERSECT SELECT* FROM a WHERE i0NO); 3BEGIN TRANSACTION; CREATE TABLE a(i0 INT0000); INSERT INTO a VALUES(0); INSERT INTO a VALUES(2); INSERT INTO a VALUES(3); CREATE TABLE b(i0 INT0000); INSERT INTO b VALUES(NULL); INSERT INTO b VALUES(3); INSERT INTO b VALUES(4);VALUES(5)INTERSECT SELECT* FROM a WHERE i0NO); @(@T!-BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('00 bb'); INSERT INTO t0 SELECT('bb cc'ISNULL); INSERT INTO t0 VALUES(' ; 00'); SELECT docid FROM t0 WHERE t0 MATCH '^0*0*'; END; h UCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES( -1000.00000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-01-01' ORDER BY docidDE3kCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'r%YYy%Yyeing and juyymping'); SELECT rowid FROM t1 WHERE content ump'; jYWITH i(x) AS ( VALUES(1) UNION ALL SELECT ra(1)IN "a","b"i ORDER BY 1) SELECT avg(1)IN x FROM i ,I,I? hUWITH i(x) AS ( VALUES(1) UNION ALL SELECT ra(1)IN "a","b"i ORDER BY 1) SELECT avg(1) x FROM i I,I? jYWITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblob(1)TRANSAC1) SELECT avg(1) x FROM i ,I,I,I,I? 10; JWI%CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' time(1,1,1)ion(1,1)', ' >='); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH '1-1foo 1=1 ion'; o$cCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(11)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -200101-01-011 -2001-01-0-01-011 -2001-01-011 -1'; P#%CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' time(1,1,1)te_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH ' time(1,1,1)a''b''c'; ^"ABEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('02001-01-010 bb'); INSERT INTO t0 VALUES('bb cc'ISNULL); INSERT INTO t0 VALUES(' ; 00'); SELECT docid FROM t0 WHERE t0 MATCH '^0*0*'; END;  (CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURAL JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 ASANDE JOIN t102 tANDE JOIN t102 FT JOIN t102 t102 NATURAL JOIN(t102 JOIN t102 t JOIN t102 A0)); 'CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURQL JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 ASANDE JOIN t102 tANDE JOIN t102 FT JOIN t102 ONNDE JOIN t102 FTLEFT JOIN t102 t JOIN t102 A0)); l&]CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' time(1,1,1)ion(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' 1=1foo 1=1 1=1 time(1,1,1foo 1=1 1=1 time(1,1,1)'; ss )DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES( -11020012001-01-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(OM EN 30 AND 60; ss *DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES( -11020012001-01-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '*000*'; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(OM EN 30 AND 60; 8w[.;CREATE TABLE t102 (i0 TEXNOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 IN t102 NATURAL JOIN t102 A LEFT JOIN t102 t1 ON t1.i0 NATURAL JOIN t102 AS t2; =-CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 A102 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 NATURAL JOIN t102 AS t2; ^,ACREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 LEFT JOIN t102 ON t2.i0 IN t102 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 NATURAL JOIN t102 AS t2; b+ICREATE TABLE t102 (i0 TEXTUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 /* */JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON( @1i0= t0.oid /* */ AND t0.i0=t1.oid AND t0.i0=t0.i0)); Llc2KCREATE TABLE t0(a, b); SELECT total(1) "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT "b","b""""a","ba","b",oid,"b""a","a","a","ba","b",oid,"b",oid,"""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; \1=CREATE TABLE t0(a, b); SELECT total(1) "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT a,b,"b""""a","ba","b",oid,"b""a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; \0=CREATE TABLE t0(a, b); SELECT@total(1) "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT "b","b""""a","ba","b",oid,"b""a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; 0/eCREATE TABLE t0(a, b); SELECT total(A) "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT "ba","bba","b",oid,"b""",oid,"b""a","ba","b",count(A)a FROM t0) WHERE a==0;  5CREATE TABLE t000(c0 a,ba,b,,I, a,b0); CREATE TABLE t002(c000,I,T0000); SELECT c000,* FROM t000 NATURAL JOIN t002 AS c000; 4CREATE TABLE t000(c0 a,ba,b,,I, a,b0); CREATE TABLE t002(c000INT0000); SELECT c000,* FROM t000 NATURAL JOIN t002 AS c000; o3cCREATE TABLE t0(a, b); SELECT total(1) "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT "b","b""""a","ba","b",oid,"b""a","a","a","ba","b",oid,"b""a","ba""b",oid,"b"oid,"b""a","ba","b""a","ba","b",count(*)a FROM t0) WHERE a==0; g8SDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹ˹˹ٹ˹ٹ˹ٹ˹ù "a"kenize=un"); RT p7eDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB&); INSERT INTO t0 VALUES('ongatwoBtཽBtཽ0ocumentINS1 "separators=aB&); IN 6BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>2 OR Te0tID>0 OR Te0tId=2; Te0tId=2; CEFROM Re00T000e ORDER BY 1; 01<9CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(1),"a","b"p FROM y AS y1, y AS1, x AS y1, yAS; {;{CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y S1, y y1, y S1, y y1AS1y1, y S1, y y1AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; d:MCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, x S1, y AS y1, y AS y1, y AS y1, y AS y y1; d9MCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, x y1, y S1, y y1AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; #Y}#hBUCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000600000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-10b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-01-01' ORDER BY docidDEkA[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROߞb,O. * ,I,i ORDER BY 1) SELECT x FROM i ,I,I? 10; k@[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO, a.b,O. * ,I,i ORDER BY 1) SELECT x FROM i I,I? 10; k?[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO, a.b,O. * ,Ii ORDER BY 1) SELECT x FROM i ,I,I? 10; +>[CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, *,b FROM t1 UNION SELECT *,a, a,b, '000' a,b FROb,'000' FROM t1 ORDER BY U, ,S, '000', b, '002' FRt=mPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(142001-01-01201E01-0100)); INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT@sqlite_source_id()LIKE x FROM t0; INS 4hOF#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH ' (1)a''b''a''b''a'; OE#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1- 2) FROM ft0 WHERE ft0 MATCH ' (1)a''b''a''b''c'; HDCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' time(1,1,1)te_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' (1)a''b''c'; HCCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' time(1,1,1)te_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 6) FROM ft0 WHERE ft0 MATCH ' (1)a''b''c'; -ZWJ3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 6) FROM ft0 WHERE ft0 MATCH 'a''b''a''b''b''a''b''c''c'; WI3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,c d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'a''b''a''b''b''a''b''c''c'; OH#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 7) FROM ft0 WHERE ft0 MATCH ' (1)a''b''a''b''c'; OG#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' (1)a''b''a''b''c'; %JoWN3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'a''b''a''b''b''a''b'' a,b'; WM3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'a''b''a''b''b''a''b'' (1)'; WL3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH 'a''b''a''b''b''a''b''c''c'; WK3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,-2) FROM ft0 WHERE ft0 MATCH 'a''b''a''b''b''a''b''c''c'; 2% +2uRoCREATE TABLE t0(a, b); SELECT total(1) "a","b""b""a","ba","b", *,"b""a","ba","b", *FROM (SELECT "b","b""""a","bab""b""a","ba","b", *,"b""","b",oid,"b""a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; \Q=CREATE TABLE t0(a b); SELECT total(1) "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT "b","b""""a","ba","b",@id,"b""a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; P1CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AFT JOIN t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB++++++++++++++++++ANDE JOIN t102 NDE JOIN t102 tDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)); WO3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'a''b''a''b''b''a''b'' [a]'; )OPV%CREATE TABLE t0(a, b); SELECT DISTINCT "a""ba","b", *,"b""""a","ba","b",oid,"b" a,b"ba","b", *FROM (SELECT DISTINCT"ba","b",oid,"g",oid,"b""a","""ba","b", *,"b""""a","ba","bba","b", *FROM t0) WHERE a==0; 3UkCREATE TABLE t0(a, b); SELECT DISTINCT NOT"ba","b", *,"b""""a" "ba","b",oid,"b""a","ba","b", *FROM (SELECT DISTINCT"ba","b",oid,"b",oid,"b""a","ba","b", *FROM t0) WHERE a==0; VT1CREATE TABLE t0(a, b); SELECT total(1) "a","b""b""a","ba","b", *,"b""a","ba","b", *FROM (rELECT "b","b""""a","ba","b",oid,"b""a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",c)a FROM t0) WHERE a==0; SS+CREATE TABLE t0(a9 b); SELECT total(1) "a","b""b""a","ba","b", *,"b""a","ba","b", *FROM (SELECT "b","b""""a","ba","b",oid,"b""a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) W; N&>NlZ]CREATE TABLE x(a,b); CREATE VIEW y AS SELECT DISTINCT last_insert_rowid() FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; dYMCREATE TABLE x(a b); CREATE VIEW y AS SELECT last_insert_rowid() FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; dXMCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)IS x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; nWaCREATE TABLE t0(a, b); SELECT DISTINCT "a""ba","b", *,"b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT DISTINCT"ba","b",oid,"g",oid,"b""a","""ba","b", *,"b""="a,"""ba","b", *,"b""""a","ba","","ba","bba","b", *FROM t0) WHERE a==0; [@k_[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROߞb,O. * ,I,i ORDER BY 1) SELECT x FROM i I,I? 10; k^[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO, a.b,O. * ,Ii ORDER BY 1) SELECT x FROM i I,I? 10; ]PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(142001-01-01201E01-0100)); INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT@sqlite_source_id()LIKE zeroblob(1) x FROM t0; INS%\OCREATE TABLE x(y1, y a,bA, a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y ![GCREATE TABLE x(y1, y A, a,b); CREATE VIEW y AS SELECT x1.a AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.y=x2.a; SELECT $total(1)p FROM y AS y1, y A, y 4dhcUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1- 2) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b''a''b''c'; Ob#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'A(1)a''b''a''b''a'; LaCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' time(1,1,1)te_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,-2) FROM ft0 WHERE ft0 MATCH ' 1=1 (1)a''b''c'; H`CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' time(1,1,1)te_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,-1) FROM ft0 WHERE ft0 MATCH ' (1)a''b''c'; A(AWg3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1- 2) FROM ft0 WHERE ft0 MATCH '!''b''a''b''b''a''b''c''c'; fCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 d sqlite_compileoption_used(1)f(1)a''b''a''b''c'; heUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 OR)a''b''a''b''c'; hdUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b''a''b''c'; }%JX}Wk3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'a''f'' -1b''b''a''b''c''c'; njaCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0VIRTUAL TABLE ft0 USING fts4; b c a,b d'); SELECT snippet(ft0, '0', '0'-1, 2) FROM ft0 WHERE ft0 MATCH '!''b''a''b''b''a''b''c''c'; Wi3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH '!''b''a''b''b''a''b'' a,b'; Wh3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,-2) FROM ft0 WHERE ft0 MATCH '!''b''a''b''b''a''b''c''c'; ~8Tf~doMCREATE TABLE x(a,b); CREATE VIEW y AS SELECT last_insert_rowid() FROM x AS x1, x AS x2 WHERE+changes(); SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1; jnYCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE glob(2001-01-011,1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y A, y AS y1, y AS y1, y AS y y1; `mECREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE glob(1,q); SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y A, y AS y1, y AS y1, y AS y y1; Dl CREATE TABLE t0(a, b); SELECT total(1) "a","""a","ba","b", *,"b""a","ba","b", *FROM (SELECT "b", sqlite_compileoption_get(1),"a ""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; _5_Rs)CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,-2) FROM ft0 WHERE ft0 MATCH 'A( -11)a''b''a''b''c'; Wr3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', "a","b" -1- 2) FROM ft0 WHERE ft0 MATCH 'A(1)a''b''a''b''c'; q CREATE TABLE x(aKb); CREATE VIEW y AS SELECT last_insert_rowid() FROM x AS x1, x AS x2 WHERE changes(); SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y y1, y S1, y AS y1, y AS y11, y AS y y1; dpMCREATE TABLE x(a,b); CREATE VIEW y AS SELECT last_insert_rowid() FROM x AS x1, x AS x2 WHERE-changes(); SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, y AS y1, y AS y1, y AS y y1;  wCREATE TABLE t000(c0 a,c000,INT0,ba,b,,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000; yvwCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 7) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';yuwCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'compileoption_used()f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';htUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,10) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b''a''b''c'; mq5Qm`|ECREATE TABLE x(a,b); CREATE VIEW y AS SELECT last_insert_rowid() FRCURRENT_TIMESTAMPx2 WHERE changes(); SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y A, yAS y1, y AS y1, y AS y y1; `{ECREATE TABLE x(a,b); CREATE VIEW y AS SELECT last_insert_rowid() FRCURRENT_TIMESTAMPx2 WHERE changes(); SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, yS1, y y1AS1, y y1, y S1, y A, y AS y1, y AS y1, y AS y y1; z9CREATE TABLE t000(TRANSACTION,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; y9CREATE TABLE t000(c0 a,ba,b ,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; xCREATE TABLE t000(c0 a,c000,INT00ba,b,,I, a,b0); CREATE TABLE t002(c00,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000; 5 S;CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x Aa; SELECT total(A),"a", a,b FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y y1; 6qCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A) a,b,"a", a,b FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y y1; !CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A),"a", a,b FROM y AS y1, y AS1, x; ~)CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A),"a", a,b FROM y C, x y1, y AS y1, y ; G}CREATE TABLE x(a,b); CREATE VIEW y AS SELECT last_insert_rowid() FRCURRENT_TI, y S1, y y1AS1, y y1, y S1,S y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y A, y AS y1, y AS y1, y AS y y1; 5xtmCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b f'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b(1)f 0 b c a''a''b''c'; LCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, b, *FROM t1 UNION SELECT *,a, a,b, '000' a,b FR,b,'000' FROM t1 ORDER BY U, ,S, '000', b, , '000', b, ,S,,S, '000', b,'002' FR9wCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, b, *FROM t1 UNION SELECT *,a, a,b, '000' a,b FR,b,'000' FROM t1 ORDER BY U, ,S, '00I', b,$,S, '000', b,'002' FRGCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A),"a", a,b FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y y y1; 0(-0y wCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f ߝc a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';wsCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES('"0 c d sqlite_compileoption_used(1)f 0 b c1,12) a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''';hUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -2001-01-01n_used(1)f 0 (1)a''b''a''b''c'; hUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 1=1 c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1pileoption_used(1)f 0 (1)a''b''a''b''c'; qCxGCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A),"a" a,b FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y y y1; G CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A) "a", a,b FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y y y1; CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a", a,b FROM y AS y1, y A, y AS1, x A,y AS y1, y AS y y1;  9CREATE TABLE t000(c0 UNIQUE,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; CREATE TABLE t000(ction,c000,INT0,ba,b ,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000; x1Px-CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SeLECT(A),"a", a,b FROM y A, y ASy1, y AS1, x A AAS y; "ICREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SeLECT /* */(A),"a", a,b FROM y A, y ASy1, y AS1, x AS y1, y AAS y; 1CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SeLECT total(A),"a", a,b FROM y A, y ASy1, y AS1, x AS; ]?CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A),"a", a,b FROM y AS y1, y AS1, x AS y1y1, y AS y1, y AS y1, y AS y, y AS y1, y AS y1, y AS yy1, y AS y y1; KCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A) a,b,"a", a,b FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y y y1; P(<PhUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1p -1option_used(1)f OR (1)a''b''a''b''c'; hUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -2001-01-01n_used(1)f OR (1)a''b''a''b''c'; hUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1pileoption_used(1)f OR (1֞b''a''b''c'; hUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1pileoptionused(1)f OR (1)a''b''a''b''c'; % CREATE TABLE t000(c0 a,c000,INT0,ba,b,,I, a,b0); CREATE TABLE t002(c000,INT a,b); SELECT c000.* FROM t002 NATURAL JOIN t000 AS c000; hUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,02) FROM ft0 WHERE ft0 MATCH ' -1pileoption_used(1)f 0 OR)a''b''a''b''c'; CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES('0 c d sqlite_compileoption_used(1)f 0(1)f OR (1)a''b''a''b'' b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1pileoption_used(1)f OR (1)a''b''a''b''c'; hUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1pileoption_used(1)f OR AUTOINCREMENT''c'; qO8!uCREATE TABLE t000(c0 aba,b,,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; 8 uCREATE TABLE t000(c0 aba,b, I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; 8uCREATE TABLE t000(c0 aba,b ,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; #CREATE TABLE t000(c0 a,c000,INT0,ba,b,,I, a,b0); CREATE TABLE t002(c a,b000,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000; CREATE TABLE t000( /* */c000,INT0,ba,b,,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000; CREATE TABLE t000(c0 a,c000,INT0,ba,b,,I, a,b0); CREATE TABLE t002(c000INT0000); SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000; RX&5CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT /* */(A),"a", a,b FROM y AS y1, y AS y1, y y1, y AS1, x AS y1, y AS y1, y= AS y1, y ?S y1, y AS y1, y AS y y y1; G%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT /* */(A),"a", a,b FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y,y y1; T$-CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A) "a", a,b FROM y AS y1, y AS1, x AS yy1, y AS y1, y A1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y y 2#iCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a", a,b FROM y AS y1, y A, y AS y1, y A1, x A, y A, y , y AS y1, y AS y1, y AS y1, y AS y y1; *"YCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a", a,b FROM y AS y1, y A, y AS y1, y A1, x A, y A, y ASA, y AS y1, y y1, y AS y y1; "A*ACREATE TABLE x(a,b); CREATE VIEW y AS SELECT 'a''b' FROM x AS x1, x AS x2 WHERE x1.a; SeLECT total(A),"a", *,b FROM y A, y ASy1, y AS1, x y1, y AAS y; ")ICREATE TABLE x(a,b); CREATE VIEW y AS SELECT 'a''b' FROM x AS x1, x AS x2 WHERE x1.a; SeLECT total(A),"a"ߞb FROM y A, y ASy1, y AS1, x AS y1, y AAS y; ](?CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT /* */(A),"a", a,b FROM y y1, y AS y1, y Aqlit, y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y1, y Aqlit, y AS y y Z'9CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT /* */(A),"a", a,b FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y y y1; #('#.CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1p1pileoption_used(1)f OR (1֞ileoption_used(1)f OR (1֞b''c'; }-CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b (1)f OR (1֞b''a''bc a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1pileoption_used(1)f OR (1֞b''a''b''c'; h,UCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,02) FROM ft0 WHERE ft0 MATCH ' -1pileoption_used(1)f OR (1֞b''a''b''c'; h+UCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,02) FROM ft0 WHERE ft0 MATCH ' -1pileoptionused(1)f OR (1)a''b''a''b''c'; `(`82uCREATE TABLE t000(AUTOINCREMENTI, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; 1CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_cokpileoption_used(1)f 0 bE ft0 USING fts4; INSERT INTO ft c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1p -1option_used(1)f OR (1)a''b''a''b''c'; h0UCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1p -2001-01-01ed(1)f OR (1)a''b''a''b''c'; h/UCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,02) FROM ft0 WHERE ft0 MATCH ' -1p -1option_used(1)f OR (1)a''b''a''b''c'; 5>(7UCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a", a,b FROM y y1, y AS y1 , y A, y AS A, y AS y1, y A1, x y1, y AS 1, y AS y y1; ,6]CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A) a,b,"a", a,b FROM y y1, y AS y1 , y A, y AS y1, y A1, x A, y AS y1, y AS y1, y AS y y1; (5UCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT $total(A),"a", a,b FROM y y1, y AS y1 , y A, y AS y1, y A1, x A, y AS y1, y AS y1, y AS y y1; 43CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT /* */DISTINCT a,b FROM y AS y1, y A, y AS y1, y A1, x A, y A, y y1, y AS y y1; G3CREATE TABLE t000( 'a''b' "a","b"c0 UNIQUE,,I, a,c0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; MG(<UCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT /* */(A),"a", a,b FROM y y1, y AS y1 , y A, y AS A, y AS y1, y A1, x y1, y AS 1, y AS y y1; $;MCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a" a,b FROM y y1, y y1 , y A, y AS A, y AS y1, y A1, x y1, y AS 1, y AS y y1; $:MCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A) "a", a,b FROM y y1, y y1 , y A, y AS y1, y AS y1, y A1, x A, y AS yy1, y AS y y1; 29iCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a" a,b FROM y AS y1, y A, y AS y1, y A1, x A, y A, y , y AS y1, y AS y1, y AS y1, y AS y y1; /8cCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A)*"a", a,b FROM y AS y1, y A, y AS y1, y A1, x A, y A, y y1, y AS y1, y AS y1, y , y A y1; 1; tTtA=CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT $total(A),"a", a,b FROM y y1, y AS y1 , y A, y Ay1 , y , y A, y AS y1, y A1, x 1,6@qCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a" a,b FROM y y1, y y1 , y A, y AS A, y AS y1, y A1, y AS y1, y A1, x x y1, y AS 1, y AS y y1; ??CREATE TABLE t000( 'a''b'c0 UNIQUE,,I, a,c0); CREATE TABLE t002(c000,I,T0000); SELECT c000.* FROM t002 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; ?>CREATE TABLE t000( 'a''b'c0 UNIQUE,,I, a,c0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t002 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t002 AS c00 NATURAL JOIN t000 AS c000; (=UCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a"< a,b FROM y y1, y AS y1 , y A, y Ay1 , y A, y AS y1, y A1, x AS y1, y AS y y1; m`)m8FuCREATE TABLE t000( 'a''b'c0, U,UE,,I, a,c0); CREATE TABLE t002(c000,I,T0000); SELECT c000.* FROM t002 LATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; 8EuCREATE TABLE t000( 'a''b'c0, UNUE,,I, a,c0); CREATE TABLE t002(c000,I,T0000); SELECT c000.* FROM t002 LATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; SD+CREATE TABLE t000( 'a''b'c0 UNIQUE,,I, a,c0); CREATE TABLE t002(c000,I,T0000); SELECT c000.* FROM t002 LEFT NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c NATURAL JOIN t000 A00 NATURAL JOIN t000 AS c000; CECREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A) a,b,"a", a,b FROM y y1, y AS y1 , y A, y Ay1 , y , y A, y AS y1, y A1, x 1,B=CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A)DEFERREDb FROM y y1, y AS y1 , y A, y Ay1 , y , y A, y AS y1, y A1, x 1, ew 9ehLUWITH i(x) AS ( VALUES(1) UNION ALL SELECT count(1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; fKQWITH i(x) AS ( VALUES(1) UNION ALL SELECT sum(1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; _JCWITH i(x) AS ( VALUES(1) UNION ALL SELECT .1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; kI[WITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT time(1 -11) x FROM i LIMIT 1002kH[WITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT time(1 -11) x FROM i LIMIT 18; GPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(22001-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob( zeroblob(1))FR1; INSERT INTO t1 SELECT NULL,randomblob(50)INSERT1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)F t1 "HGT7CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,2,20000); INSERT INTO t5 ; fSQATTACH '0d0000000000' as julianday(CURRENT_TIME);ATTACH '0d0000000000' as julianday(CURRENT_TIME) IRSELECT sqlite_rename_parent( " a.ba@@@@`@@@@@@@@@@@@@",'000','000'); IQSELECT sqlite_rename_parent( " a.ba@@@`@@@@@@@@@@@@@@",'000','000'); mP_CREATE TABLE t0(a PRIMARY KEY, b); CREATE TABLE t2(r000d, d, FOREIGN KEY(r000d) REFERENCES t0(a));VACUUM gOSCREATE TABLE t0(a PRIMARY KEY, b); CREATE TABLE t2(r000d d, FOREIGN KEY(r000d) REFERENCES t0(a)); gNSCREATE TABLE t0(a PRIMARY KEY, b); CREATE TABLE t2(r000, d, FOREIGN KEY(r000d) REFERENCES t0(a)); qMgWITH i(x) AS ( VALUES(1) UNION ALL SELECT group_concat(1,1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; `f`LZCREATE TABLE t010(a, CHECK( m000.t010.a>00));CRt011.b BETWEEN 0 AND 10 HYCREATE TABLE 010(a, CHECK( m000.t010.a>00)); CR.b BETWEEN 0 AND 10 iXWPRAGMA journal_mode = off; PRAGMA journal_mode = in0000d; PRAGMA journal_mode = off; PRAe = in0R00d; W/CREATE TABLE t1(x, y DEFAULT(date(CURRENT_TIMESTAMP))); INSERT INTO t1(x)VALUES(1);INSERT INTO t1(x)VALUES(1); SELE SELECT x, length(y),FROM t1; ?VCREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, D, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE d=2 AND c=3 OR d=2 AND c=3 ORDER BY d COLLAT DESC; :UyPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','0',1); INSERT INTO t1 VALUES(2,'00','e',5); INSERT INTO t1 VALUES(3,'000','0000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) O=O` SAVEPOINT s00; SAVEPOINT s00; SAVEPOINT s00; SAVEPOINT s00; RELEASE sAVEPOINT s00; SAVEPOINT s00; SAVEPOINT s00; RELEASE s000; c_KPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT avg(?) x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(4); ROLLBACK;ANALYZE p^ePRAGMA encoding=UTF16be; CREATE TABLE 0t(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t VALUES('ab0'); a]GSELECT '1.0e64'+'1.0000e-620e64'/'1.0000e-2001-01.0e64'+'1.0000e-620e64'/'1.0000e-2001-062'; v\qCREATE TABLE t010(a, CHECK( m000.t010.a>00)); CREATE TABLE t011(b, CHECK( x000y.t011.b BETWEEN 0 AND 10 ));VACUUM p[eCREATE TABLE t010(a, CHECK( m000.t010.a>00)); CREATE TABLE 011(b, CHECK( x000y.t011.b BETWEEN 0 AND 10 )); (:g(JdPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE ASC13 USING fts3;VACUUM VALncaPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE ASC13 USING fts3 (1);VACUUM VALOb#PRAGMA auto_vacuum = incremental; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(:eroblob(5000), zeroblob(4000)); DELETE FROM t1; PRAGMA incremental_vacuum; Ba PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 0; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(540), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO t SELECT ob(500),lob(600) FROM t; {4B{Vk1SELECT printf('0%110.100s0','NOTNULL0');SELECT printf('0%110.100s0','NOTNULL0'); kj[WITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(?) x FROM i LIMIT 10; ki[WITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(1) x FROM i LIMIT 90; hPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE ASCC13 USING fts3;VACUUM VALs3;VACUUM VAL= (SELECT replace(1,1,1) a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT;  CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sql1 VA u oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FR40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM HERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8;   q gCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROR t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; naCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 W; ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; k[CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX 4all ON t4(a,b,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600LECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; ScLECT i 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELE8T i FROM t4 WHERE g=7; ScLECT i FROM t4 WHERE h=8; ZT-SELECT sqlite_rename_trigger(' [a] [a]>>>/>R [a]T/>>>>>) r0 ON x00 WHEN',NULL); ,_SELECT printf('0%7.8c0%07.8c0','0'/'0'); iWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<001-01-311 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','60000040000 10000 2000 600 100 40 10'); ANALYZE sqliaster; SELECT i FR t4 WHERE h=8; n9CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, zeroblob(1) b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, printf(1,1)b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; !CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, printf(?,1)b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; c$naSELECT 200101-0110000002001-01-010110000002001-01-01000001-0110000002001-01-0100001-0110000002001-01-01; BEGIN EXCLUSIVE; BEGIN EXCLUSIVE; CR; CREATE TEMP TABLE temp_t000e(t); INSERT INTO temp_t000e VALUES('00000'); PRAGMA temp_store = 1; -_CREATE TABLE t0(a INT PRIMARY KEY, b, c, UNIQUE(b, a)) WITHOUT rowid; CREATE TABLE t2(e REFERENCES t0, f); CREATE TABLE t3(g, h, i, FOREIGN KEY (h, i) REFERENCES [a]b, 7CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16, printf(1,1)b FROM t1; INSERT INTO t1 SELECT a+32, round(1,1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; EhUCREATE TABLE t0000(a,NTEGER PRIMARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) SELECT('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); ACREATE TABLE t12a(a,b,c,d,e,f,g); INSERT INTO t12a VALUES(100,2,3,4,5,6,7); CREATE TABLE t12b(x, a,ba,b); INSERT INTO t12b(x,rowid,x,x,x,x,x) SELECT * FROM t12a; SELECT rowid, x FROM t12b; 7sPRAGMA freelist_count /* */; PRAGMA feelist_count /* */; PRAGMA freelist_count /* */; PRAGMA freelist_count; eelist_countreelist_count /* */; PRAGMA freelist_count; eelist_count; ;| }CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b || '0000' IN n%w.b IN '0' ||nges() ); END; C7sPRAGMA auto_vacuum=1; CREATE TABLE t1(a load_extension(1,1)); DROP TABLE t1; PRAGMA integrto_vacuum=1; CREATE TABLE t1(a load_extension(1,1)); DROP TABLE t1; PRAGMA intity_checj; O#CREATE TABLE t00b AS SELECT NOT"a","b"RENAMEE'', 6''; SELECT * FROM t00b; ocCREATE TABLE t0000(a NTEGER PRIMARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) SELECT('000000'); INSERT INTO t0000(b) VALUES('00'); END;EXPLAIN INSERT INTO t0000(b) VALUES('0000'); 7%uPRAGMA foreign_key_check;PRAGMA foreign_key_check; X$5CREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a,CURRENT_DATE- round(1%Y)x FROM t1, t2 ORDER BY 2, 2; #-BEGIN; CREATE TABLE A00(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OBf"QCREATE TEMP TABLE t0001 /* */(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '* *߀000'; |!}CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b IN '0000' IN new.b IN '0' ||nges() ); END; C0ECTID, PARTICIPANTID));EXPLAIN CREATE TABLE A00000000000000000(L0 int000, Q00 int not null, N000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 int00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0000000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null, S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, F0000000 text(300) not null, V0000000000 text(300) not null, V000000000000 text(300) not null, D00000000000 text(40) not null, I000000 text(1) null, D0000000000000 text(50) not null,constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0000(C00000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000000 text null,constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G0(C000000 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, S0000000000000000000 text(30) not null, P00000000000000000 text(30) not null, P0000000000000D text(1) not null, C00000000000000000000 text(1) not null, A0000000000000000 text null, P0000000000000 text null, E0000000000000000000 text null, E000000000000000000L text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE G000000000000000000000(ID int not null,U0 text(30) not null, constraint _0000000000000000 primary key (ID)); CREATE TABLE I00(TQUNID text(30) not null, D0000000 text(20) not null, I000000 text(50) not null, K00000000 text(30) not null, F00000000 int not null, L000000 text(20) null, E0000000000000 blob not null, P000000000000 blob not null, constraint P00000 primary key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID));ANALYZETABLE I0(O, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C000xt(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I00000000000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 te ll'1CREATE TABLE t1(a, b); PRAGMA auacuuY=O00; PRAGMA synchronous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA journa; PRAGMA synchronous=N0LUSIVE; PRAGMA journa; PRAGMA synchronous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=Eal_mode=TRUNCAT 2); v&qCREATE TABLE t1(a, b); PRAGMA auacuuY=O00; PRAGMA synchronous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=EX00; PRAGMA page_size=1000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA journal_mode=TRUNCLUSIVE; PRAGMA journal_mode=TRUNC; PRAGMA journal_mode=TR1000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA journal_mode=TRUNCLUSIVE; PRAGMA journal_mode=TRUNC; PRAGMA jUNCAT 2); |)}CREATE TABLE t1(a, b); PRAGMA auacuuY=O00; PRAGMA synchronocs=N00000; PRAGMA page_size=1000; PRAGMA lockinonous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=EXCLUSIVE; PRAGMA journal_mode=TRUNC; PRAGMA journ_mode=EXCLUSIVE; PRAGMA journal_mode=TRUNC; PRAGMA journal_m000; PRAGMA lockingonous=N00000; PRAGMA page_size=1000; PRAGMA locking_mode=EXCLUSIVE;ode=TRUNCAT 2); u(oCREATE TABLE t1(a, b); PRAGMA auacuuY=O00; PRAGMA synchronous=NEATou$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$C$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCABLE t1(a, b); PRAGMA auacuuY=O00; PRAGMA syEXCLUSIVE; PRAGMA journal_mode=TRUNC; RAGMA journal_mode=TRUNCAT 2); |$,OATTACH null AS f;ANALYZE ' nul'?P+!CREATE TABLE t1(a randomblob(1),b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),( 1=1,0),( 1=1,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check*CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(1,0),(2,0),( 1=1,0),( 1=1,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREATE TABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check  Lj. 1CPRAGMA integrity_check(1); 90yPRAGMA integrity_check(); PRAGMA integrity_check(); +/[CREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF CURRENT_TIMESTA2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222MPa ON t10 BEGIN UPDATE t00 SET u0= u00000000+1 WHERE r00000= o00.r0000; END; INSERT INTO t10(a)VALUES('000'); /.cCREATE TABLE t1(x, y DEFAULT(datetime('0 blobavg(1)es'))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1) 0-eCREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a< CAST(a AS blob000 blob) FROM t0; 2PRAGMA maincache_size= 10; PRAGMA temp.cache_size =10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(100), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(502001-01-010), randomblob(602001-01-010) FROM tt; IN00), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; R8Rb6ISELECT 1000000006100000000000000.,00000000.,0000000000000006000000.,00000000000.,00000000.,000000000000000000000060000.,00000000000.,00000000.,00000000000000000000006000000.,00000000 ,00000,0000000000M0000000000060000. Y57SELECT 100000000610000000060000.,00000000000.,00000000.,000000000000000000000000000. Y47SELECT 100000000610000000060000.,00000000000.,00000000.,000000000008000000000060000. 3PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(12001-01-0100), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(502001-01-010), randomblob(602001-01-010) FROM tt; IN00), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM j5jK;SELECT quote(likely(x'000000BB9B888888888888888888888BBBBBBB000000')); z:ySELECT group_Doncat(1,1) NOT IN (10 ,1) NOT IN (10 IN (10,10),11) NOT IN (10 ,1) NOT IN (10 IN (10,10),1,10)AS,10)AS0 Y97CREATE TABLE t001(a INTEGER PRIMARY KEY AUTOINCREMENT); INSERT INTO t001 VALUES(:0); 78sPRAGMA vvacuum=1; CREATE TABLE t1(a, b);EXPLAIN CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; -------BLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; 07ePRAGMA vvacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t0; PRAGMA integrity_check; -------BLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; z5lz^AASELECT typeof(replace(3300, hex(?), "000"));SELECT typeof(replace(3300, hex(?), "000")); @CREATE TABLE blob0(k, v BLOB); VALUES(1, zeroblob(length(CAST( -10000 AS BLOB)))); VALUES(1, zeroblob(length(CAST( -10000 AS BLOB)))); :?yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('aϚ0',b)OR a=CURRENT_TIME&+x; >SELECT.19999999990 EXCEPT SELECT 20 ORDER BY 1 COLLATE s999999999999999999999E99999990 EXCEPT SELECT 20 ORDER BY 1 COLLATE s00000; \==ATTACH null AS ll; ATTACH null AS null; ATTACH '' AS 'a''b'''; ATTACH '' AS 'a''b'''; i<WSELECT quote(likely(x'005000BBBB8888000BBBB888888888888888888888BB88888888888888888BBBBBBB000000')); $:3$ DDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01) "a","b"FROM t2)MATCH min(1,1)FROM t1 GROUP BY 01,1); CE; C DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT+sum(va0u02=va0u01)FROM t2)MATCH min(1,1)FROM t1 GROUP BY 01,1); CE; BB PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(90 )); INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT sqlite_compileoption_get(1) /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(200);REINDEX LBL@HCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(' -100'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,M) AS00 FROM t0 GROUP BY m ORDER BY 2, 2; 0GeCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(' -100'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,M) AS00 FROM t0 GROUP BY m{F{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, CURRENT_TIME) x FROM i LIMIT 10; :EyPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','0',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) 96+LMSELECT 'P0 load_extension(1,1)00'LIKE X'A000' LIKE X'A000'LIKE X'A000'; GLSELECT 'P00' LIKE X'A000'LIKE X'A000' LIKE X'A000'LIKE X'A000';0'; KCREATE TABLE t00a(a,b); INSERT INTO t00a VALUES(0,0); CREATE TABLE t00b(n); CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN SELECT 0 FROM t00a "a","b"n0000 UNION ALL SELECT 0 FROM t00 "a","b"a WHERE 0>new>x ORDER BY 0 LIMIT 0; END; INSERT INTO t00b VALUES(6); JCREATE TABLE t00a(a,b); INSERT INTO t00a VALUES(0,0); CREATE TABLE t00b(n); CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN SELECT 0 FROM t00a "a","b"n0000 UNION ALL SELECT 0 FROM t0 a WHERE 0>new>x ORDER BY 0 LIMIT 0; END; INSERT INTO t00b VALUES(6); CI CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(' -100'); INSERT INTO t0 VALUES('b0' -1); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,M) AS00 FROM t0 GROUP BY m ORDER BY 1, 2; [iUP/CREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT last_insert_rowid()NOT LIKE '%h%' ESCAPE trim(1,1) nOaCREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000');REPLACE INTO t0000(b) VALUES('000TRIGGER t000 AFTER INSERT ON t00 BEGIN INSERT INTO t0000(b) VALUES(000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('00000000 BEGIN INSERT INTO t0000(b) VALUES(000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('00'); SELECT * FROM t0000 ORDER BY a; !NGCREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a< CAST(a AS nt0000) FROM t0; 4RmCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES(000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000004); SELECT DISTINCT a FROM t0t0000; _QCPRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(500)); INSERT INTO t0 VALUES(zeroblob(92001-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT @1FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(); ROLLBACK; %H%?WCREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c /* */); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, d,e DESC, b, c, "a","b" ?VCREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND b=3 ORDER BY b, c, d,e DESC, b, c, "a","b" 8UwSELECT sqlite_rename_parent( " ?1 ?1!",'000','000'); _TCWITH i(x) AS ( VALUES(1) UNION ALL SELECT ~+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10024SmCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES(0E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004); SELECT DISTINCT a FROM t0t0000; JwCtk^[PRAGMA writable_schema= 1; DELETE FROM sqlite_master WHERE 1; PRAGMA writable_schema = 0; SELECT * FROM sqlite_master;PRAGMA writable_schema= 1; DELETE FROM sqlite_master WHERE 1; PRAGMA writable_schema = 0; SELECT * FROM sqlite_m c]KPRAGMA writable_schema= 1; DELETE FROM sqlite_master WHERE 1; PRAGMA writable_schema = 0xbler; K\PRAGMA writable_schema= 1; DELETE FROM sqlite_master WHERE 1; PRAGMA writable_schema = 0; SELECT *FROM sqlite_master WHERE 1; PRAGMA writable_schema = 0; SELECT * FROM sqlite_mas FROM sqlite_master; 1[iSELECT 0x1;SELECT 0x1;SELECT 0x1;SELECT 0x1; OZ#SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20);SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABL SELECT SQLITE_RENE_TABLE('f-0', '000'); RY)SELECT printf('%d00000%',508-10,3000);SELECT printf('%d00000%',508-10,3000); ^XACREATE TEMP TABLE 0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*00*'; +KbSAVEPOINT ``;SAVEPOINT ``; CREA4E TACK TO [a] CREA4E TABLBACK TO [a]; C4amBEGIN; CREATE TABLE t1(a, b); CREATE TABLE t2(x, y); INSERT INTO t2 VALUES(1,2); SAVEPOINT o; INSERT INTO t2 VALUES(3,4);EXPLAIN SAVEPOINT t0o; DROP TABLE t1; ROLLBACK TO t0o; l`]WITH i(x) AS ( VALUES(1) UNION ALL SELECT min(1,1)LIKE +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 06 Q_'CREATE TEMP TABLE t0(a INTEGER PRIMARY KEY AUTOINCREMENT, b); INSERT INTO t0 VALUES(null -1,'00'); INSERT INTO t0 VALUES(null -1,'00'); DELETE FROM t0; INSERT INTO t0 VALUES(null,'000'); SELECT * FROM t0; xidWPRAGMA king=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN cEFAUL--------- t1 SETABLE t1 ADD COLUMN d TEXT DEFAUL----------------- t1 SET x=x;1; c PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; SELECT randomblob(500)< randomblob(600) FROM tt; 1(1Uh/PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(990)); INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(8); ROLLBACK; ^gACREATE TABLE t0(a, b); SELECT a FROM (SELECT 00000e2001-01E-350 AS a FROM t0) WHERE a==0; 9fwPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX sqlite_compileoption_used(1)'); SELECT DISTINCT a FROM t0t0006; Te-PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('AB0ECTIDte_compileoption_used(1)'); SELECT DISTINCT a FROM t0t0006; xmm_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) || 1=11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10 -1; ml_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) >= +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10 -1; mk_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) || +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10 -5; KjPRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT unicode(?) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; FiSELECT printf('%+.*f%+.*f%+.*f',5 || 3); ',5',5 || 3); ',5 || 3); {p{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(c, b,c,d,e); VACUUM LoCREATE TABLE t0(x); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE'߀'; n3BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2;ANALYZE; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;ANALYZE  qPRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(1,B)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  rPRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(1,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -A, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; l-l=uCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M,9); =tCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('80'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M,8); s!PRAGMA max_page_count = 10.0000; CREATE TABLE abc( [a]a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(1,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; <pySELECT 0>>$00>>00060.02>$00>>00060.02>>000000000>>$00>>00060.02>>00060.010>000000000>>$00>>00060.02>>00060.010000>>0000000060.00; Zx9ATTACH''AS noname; ATTACH':memory:' AS inme; ATTACH':memory:' AS@oname; ANALYZE:ry:' Bkw[CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000"<<"n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 1) OR ""; @vCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M, @18); wzsCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON y=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(y=2 AND b=3) AND y IS NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON y=2 AND b=30 WHERE y IS NULL; SELECT 9 FROM t91 LEFT JOIN t92 ON y=20 AND b=3 WHERE y IS NULL; u}CREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,a);REPLACE INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGNTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,a);2; K|CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0X0; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON (x=99) ORDER BY x;VACUUM {CREATE TABLE t0a(a,b char(1)); CREATE TABLE t0b(x);EXPLAIN INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE bp@P%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT sum(1) p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE 1=1=y2.q; SELECT DISTINCT* from z; Y7CREATE TABLE t0( a,ba,b,c,d,e, PRIMARY KEY(a,d,c,e,b,c,d,Ba,ba,b,c)) WITHOUT ROWID+ P%ATTACH '009000000000' as julianday(); ATTACH '009000000000' as julianday(); MCREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(1,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, printf(?,1) x FROM t1, t2 ORDER BY 2, 2; &QCREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00c'); SELECT count( abs(?)),:NULLIF(n00e,'00c')A00 FROM t03 GROUP BY lower(n00e); >~PRAGMA encoding=UTF16be; CREATE TABLE t0t6(CURRENT_TIMESTAMPPRIMARY KEY); INERT INT SRSX5CREATE VIRTUAL TABLE t000s0 USING fts4aux( ``"0000'0'0000"); SELECT * FROM t000s0; ^ACREATE TABLE t34(x,y); INSERT INTO t34 VALUES(100, lower(1)), (100,5), (107,5); SELECT a.x,avg(y)FROM t34 AS a GROUP BY a.x HAVING NOT EXISTS( SELECT b.x, avg(b.y) FROM t34 b GROUP BY x HAVING avg(a.y) > avg( @1y)); >CREATE VIRTUAL TABLE ft USING fts3(''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''o00, t0o); INSERT INTO ft; *YCREATE VIRTUAL TABLE ft USING fts3(o00, (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((TCH 'foo'; /O #PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', ' bandomblob(1)a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) MPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', ' randomblob(1)a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) 2 PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', ' randomblob(1)a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) J PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', ' randomblob(1)a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) \\\GSELECT sqlite_rename_trigger( 'X''b''[RGGER r0 8N x00 WHEN',NULL); 2 iPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', ' randomblob(1)a''b''00',1); INSERT INTO t1 VALUES(2,'0P','e0',5); INSERT INTO t1 VALUES(3,'000','0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))0000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) EPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00', ' randomblobRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR00',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) \=CREATE VIRTUAL TABLE ft0 USING fts4(x, y); INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoption_get(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0EATE VIRTUAL TABLE ft0 USING fys4(x, y); INSERT INTO ft 0'); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0; ~SELECT sqlite_rename_parent( "REFERENCE[ 0esa",'000','000'); SELECT sqlite_rename_parent( "REFERENCE[ 0esa",'000','000'); (WSELECT printf('%*.*c',5 -1-1000003); tmSAVEPOINT s00; SAVEPOINT s0; SAVEPOINT s00; SAVEPOINT RELE00; SAVEPOINT s00; SAVEPOINT s00; RELEASE s00;ANALYZE 5SELECT 1999999999999999999999999.999999>0 EXCEPT SELECT 999999999999999999999999999999999999999.999999>0 EXCEPT SELECT 99999999999999999999.99(9999 aGCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('s','s0'),( 2001-01-01,'000'),('0r000','m00'); SELECT a, b, '0' FROM t000 WHERE a= total(1)OR b='mr0' GROUP BY +a; U/+PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '90'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT '9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000';EXPLAIN UPDATE t1 SET x=c+1;EXPLAIN SELECT* FROM t1; ADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN A THEN randomblob(90041-01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; CREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a< CAST(a AS blob blob blo blob blob bloTEyT) FROM t0;TEXT) FROM t0; HSELECT sqlite_rename_trigger('CRE|T0 TRIGGER |0 ON |00 WHEN',NULL); ]?WITH i(x) AS ( VALUES( "a") UNION SELECT (x || +1)*1. FROM i) SELECT x FROM i LIMIT 20; T |}CREATE TABLE t1(a,b); CREATE INDEX `a` ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE777777777777777777777777 UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql=' "a","b"ABLE 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA witama=OFF; ALTER TABLE t1 RENAME TO t10; PR!GCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c AND b=? AND c=+? AND d=? AND e=?; CSELECT sqlite_rename_parent( " a.b>>>>>>>>>>>>######################################################>>>>>>X",'000','000'); (USELECT sqlite_rename_parent( " a.b>>>???????????????????????????????????????????????????????????????>>>>>>>>>>>>>>>X",'000','000'); of c|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ q p o} nz mw lt kq jo il hi gf fb e^ d\ c[ P% O# N M L K < ; : 9 8 7 6} 5{ 4w 3t 2q 1l 0h /d .` -] ,[ +X *U )P (L 'I &F %C $B #> ": !7 3 1 0 / . - , + * ) ( & "        } z y u r q p m aY `X _U ^R ]O \K [H ZE Y@ X; W8 V7 U5 T/ S, R) Q' h d b^WRPMHDA;621 bZ,)'% ߧ ާ ݧ ܧ vW9vz"ySELECT strftime(1,1,1,1) NOT IN (10 IN (10 IN (10 IN (10 IN (10 IN (10 IN (10,10),10),10),10-9,10),10),10),10-90000); B! PRAGMA auto_vacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t3(a); CREATE INDEX x ON t1(b);EXPLAIN DROP TABLE t1;EXPLAIN PRAGMA integrity_check; DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; ' SCREATE TABLE t0(a TEXT, b TEXT); CREATE VIEW v0 AS SELECT glob(1,1),"a", "a","b"; CREATE TRIGGER t0001 INSTEAD OF DELETE ON v0 BEGIN SELECT 0; END; DELETE FROM v0 pePRAGMA /* */secure_delete (1); PRAGMA /* */secure_delete (1); PRAGMA main.secure_delete main.secure_delete %OPRAGMA /* */securecure_delete (1); PRAGMA main.secure_delete_delete (1); PRAGMA main.secure_delete_delte (1); PRAGMA main.selete (1); PRAGMA main.se_delete =z]&?CREATE TABLE t3(a,I,TEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE DESC, b, c, c, d, e, f); CREATE INDEX t00 a DESC; ?%CREATE TABLE t3(a,I,TEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE a,b, b, c, a DESC; ?$CREATE TABLE t3(a,I,TEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE DESC, b< c, a DESC; ?#CREATE TABLE t3(a,I,TEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE DESC,$b, c, a DESC; H(PRAGMA wal_checkpoint =full;PRAGMA wal_checkpoint =full; I1000)); u'oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,e,f,i,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE c=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE c=7; SELECT i FROM t4 WHERE h=8; @@<)}CREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); ANALYZE;EXPLAIN DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999912 00'),('t1','t1b','10000'); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c; a*GPRAGMA 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(102)); 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) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a+GPRAGMA 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 t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a,GPRAGMA 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(108) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a-GPRAGMA 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) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t1 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a.GPRAGMA 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) FROMt3; 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 a/GPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a0GPRAGMA 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) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT@randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a1GPRAGMA 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(150) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX 3!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1,1, random(),1)); e2OPRAGMA 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) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 0 || 0) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX Ln<3Lc7KCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'NOTNULL a^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^nd jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 6CREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '03(a, b, SEkECT a,b, c FROM tNTO t0(a,00 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(a, b, SELECT a, b, c FROM tNTO t0(a, b, RT INTO t0two'; .5aSELECT 1000000%000000000000000000000060000006006000001000000%0000006000000000%000%000000000000000000000060000006006000001000000%0000006000000000060060000100000030000000%0000060000006006000001000000%0000006000000000%000%000000000000000000000060000006006000001000000%000000600000000006006000060000; 4!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1,1, time( 1=11)); C: CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize p???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????orter); INSERT INTO t1(rowid,;conrent) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; {9{CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'NOTlL and jumping'); SELECT rowid FROM t1 WHERE content ; INSERT INTO t1(rowid, content) VALUES(1, 'NOTNULL and jumping'); SEMQTCH 'run jump'; 85CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'NOTNULL and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'runE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1 jump'; XXA>CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 3,3,a, '000', 3,a, '000', 3,a, '000', b, a,b, '000', 3,a, '0 '000' FR==CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO E x MATCH '0*' ORDER BY docpC); INSERT INTO E x MATCH '0*' ORDER BY docid DESC; _<CCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%porter); ImSERT INTOcpntent) VALUES(1, 'running aYd jump4LIKE; SELECT,rowid FROM t1 WHERE content MATCH '2 strftime(1,1,1,1)un jump'; ;;{CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; ~*BYCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 NATURAL JOIN t102 AEFT JOIN t102 t1 ON t1.i0 ISNULL) ); A+CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS tC JOIN t102 t1 ON t1.i0 ISNULL) ); '@SCREATE 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) ); >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>poi, a0 a,00, notindHxed=p00, notx>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>ed=00, nd=p0,00, notxed=p000, notindexed=a,00, notindexed=poi); VCREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi);  [CREATE TABLE t102 (i0t0006 UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 ASANDE JOIN t102 tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)T INTOZ-CREATE TABLE t102 (i0 BEXT UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 ASANDE JOIN t102 tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)TANALYZE10.YaCREATE VIRTUAL TABLE t0 USING fts3tokenize( "a","b" "a", "a","b", "a","b" "a", "a","b", "a","b" ''"a","b"b",", i01,"b", ', ' VIRTUAL TABE t0 USIN"a","b" ''"a","b"b",", i01,"b", '',, '0 VIRTUAL TABE t0 USING fts3tokenize( "a",ts3toieni^e(simple, A'OF'0000'); uun]aDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('ongatwoBtཽBtཽSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS00'); INSERT INTO t0 VALUES('one0000A0'); &R \/CREATE TABLE t0(a, b); SeLECT DISTINCT "a","b""""a","baa","ba","b", *,"ba","z",oid,"b""a","ba","b", *,"ba","b","b""""a","baa","ba","b", *,"ba","z",oid,"b""a","ba","b", *,"b",count(*)FROM (SELECT "ba","b""""i","ba","b","b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; 6V@6`CREATE TABLE t0(a, b); SELECT total(1) "a","b""b","b", *,"b""a","ba","b", *FROM (SELECT "b","b""""a","a","b",oid,"b""b""""a","a","b",oid,"b""a","a","a","ba","b",oid,"a","a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; _)CREATE TABLE t0(a, b); SELECT total(1) "a","b""b","b", *,"b""a","ba","b", *FROM (SELECT "b","b""""a","a","b",oid,"b""a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a,"a","a","ba","b",oid,"b""a","ba""b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; &^QDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('ongatwoBtཽBtཽ00'); INSERT INTO t0 VALUES('on00'); INSERT INTO t0 VALUES('one000+A0'); &R 4hHdCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x A HcCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, sum(1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, yHbCREATE TABLE x(a,b); CREATE VIEW y AS SELECT group_concat(1,1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, yHaCREATE TABLE x(a,b); CREATE VIEW y AS SELECT count(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, y S1, y AS y1, y ehCREATE TABLE t000(c0 UNIQUE,,I, a,b0); CREATE TABLE t002(NATURINT0000); SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c0; gCREATE TABLE t000(c0 a,c000,INT00ba,b,,I, a,b0); CREATE TABLE t002( a,b,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000; fCREATE TABLE t000(c0 a,c000,INT00ba,b,,I, a,b0); CREATE TABLE t002(c000,I,T0000); SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000; eCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileoption_use*1)a''b''a''b''d(1)f 0 (1)a''b''a 0 *1)a''b''a''b''b''c'; @q@;l{CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE x=99; PRAGMA automatic_index=OFF; SELECT * FROM t0a EFT JOIN t0b ON (x=x);x; okcWITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT time(1 || -11) x FROM i LIMIT 18; }jPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(22001-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob( zeroblob(1))FR1; INSERT INTO t1 SELECT NULL,randomblob(50)RT1; INSERT INTO t1 SELECT NULL,randomblob(50)FR1; INSERT INTO t1 SELECT NULL,randomblob(50)F t1 iCREATE TABLE t000(c0 UNIQUE,,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 RAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS cAS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000* FROM t000 AS c; c(cSq+BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROn00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'00E-'; COMMIT; kp[WITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(?) x FROM i LIMIT 1002ko[WITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(?) x FROM i LIMIT 30; nPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE A϶SCŶ϶13 USING fts3 (1);VACUUM VALdmMSELECT sqlite_rename_trigger('CRE@?0 T!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!A!!!!$!!!!A!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9!!!!!!!!!!!!Rr0 ON xA0 uHEN',NULL); \\ tCREATE TABLE t0( h, i, Fa INT PRIMARY KEY, b, c, UNIQUE(b, b, c)) WITHOUT rowid;CRt3(g, h, i, FOREIGN KEY (h, i)REFERENCES t0(b, c)); 8suBEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'-'; COMMIT; Ur/BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'00E-'; COMMIT; ]w?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,E,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX ]v?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,e,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX lu]CREATE TABLE t1(a,b); CREATE INDEX [a] ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CREATE UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql=' [a] [a] [a] 00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR N5Nc{KCREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,d,e,f,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES/2,3,4,5,?,20000);REINDEX ]z?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX yCREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,e,f)); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX ]x?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE( /* */d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX QQ}CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES( trim(1,1)); INSERT INTO t0 VALUES('φ'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m; SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FR FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower(m);OM t0 ORDER BY lower(m); (|UCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES( trim(1,1)); INSERT INTO t0 VALUES('φ'); INSERT INTO t0 VALUES(''); SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m; SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower(m); Wd:WpeWITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT substr( -11,1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; m_WITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT substr(1<1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; &QCREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES( trim(1,1)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m; SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower(m); ~5CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES( trim(1,1)); INSERT INTO t0 VALUES('φ'); INSERT INTO t0 VALUES('c0'); SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m; SELECT '0', substr(m, -12) AS m FROM t0 ORDER BY m COLLATE binary; SELECT '0', substr(m,2) FROM t0 ORDER BY lower(m); af!#TTACH''AS noname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH':memory:' AS iamme; ATTACH':ry:' AS iame.n0.i0000(y); CREATE VIEW x1 AS SELECT 100'', 200 AS '',+3+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 30 WITH i(x) AS ( VALUES(1) UNION SELECT upper(X)FROM i ORDER BY 1) SELECT x FROM i LIMI UNION SELECT upper(X)FROM i ORDER BY 1) SELT 10; cKWITH i(x) AS ( VALUES(1) UNION SELECT upper(X -1)FROM i ORDER BY 1) SELECT x FROM i LIMIT 10; tmCREATE TABLE t1(x char(1)); INSERT INTO t1 VALUES(100); SELECT CASE ~Max(x) WHEN min(x) THEN /* */ max(x) ENDF)YPRAGMA case_sensitive_like (1)ACUUM peWITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT substr( -11,1,1) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002 u oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(i,b,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600 100 40 90'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; `n`;{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(a, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, b, c, b, b L SELECT printf('0%7.8c0%07.8ELECT prin0%7.8c0%07.8c0','0'/'0');c0','0U /SELECT printf('0%7.8c0%07.8c0','0'/'0');SELECT printf('0%7.8c0%07.8c0','0'/'0'); , _SELECT printf('0%7.4c0%87.8c0','0','0');  CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','60000040000 10000 2000 600 100 40 10'); REINDEX sqliaster; SELECT i FR t4 WHERE h=8; ((hUCREATE TABLE t0000(a NTEGER PRIMARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) SELECT typeof(1); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); hUCREATE TABLE t0000(a INTEGER PRIMARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) SELECT('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); JJJJ|}CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b IN "a","b"IN new.b IN '0' ||nges() ); END; C|}CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b IN '0000' IN n%w.b IN '0' ||nges() ); END; C2iCREATE TABLE t0000(a NTEGER PRIMARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000oAFTER INSERT ON t0000 BEGIN INSERT INTO t0000(b) SELECT('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); >TID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 UNIQUE, Q00 int not null, N000000 text(50)UNIQUE not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text( ?50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID));REINDEX TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREATE TABLE C000000000000000(C00000 int not null, L00000000000000 text(50) not null, P000 @00000000000 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, L000000000000 A00 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, C0000 B000000 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 C) 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, D 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 nul El, 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 tex Ft 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) no Gt null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 t Hext(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int nu Ill, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P000000 primary key (TQUNID)); CREATE TABLE L00(TQUNID text(30) not null, I00 text(50) not null,O0000 text(50) not null, S000000000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000 J000 text(20) null, L000000000 text(10) null, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID));REINDEX TABLE P0(50) null,) not null, OB0ECTID text(50) not nulll, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 6DwsPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a/b,-01-01),b)OR a='0' ORDER BY +x; riSELECT fts3_tokenizer('00a0', fts3_tokenizer('simple')) IS fts3_tokenizer('00a0',$ftokenizer('simple'))NULY; vqSELECT fts3_tokenizer('00a0', fts3_tokenizer('simple')) IS fts3_tokenizer('00a0'< fts3_tokenizer('simple'))NULY; vqSELECT fts3_tokenizer('0a0', fts3_tokenizer('simple')) IS fts3_tokenizer('00a0', fts3_tokenizer('simple'))NULY; 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, OB0EC =  9yPRAGMA integrity_check(1);PRAGMA integrity_check(1); WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -14444++++++++++++++++++++++++++++++++44444441)i GROUP BY 1) SELECT x FROM i LIMIT 10; dMWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -11) UNION ALL SELECT upper( -144444444444444444E444444444441) i GROUP BY 1) SELECT x FROM i LIMIT 10; 44444444444444444E444444444441) i GROUP BY 1) SELECT x FROM i LIMIT 10; WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -144444444444444444444444444*441) i GROUP BY@1) SELECT x FROM i LIMIT 10; wsPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,b,-01-01),?)OR a='0' ORDER BY +x; PRAGMA me_size= 10; PRAGMA temp.cache_size =10; CREATE TABLE temp.tt(a, b);EXPLAIN INSERT INTO tt VALUES(randomblob(100), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(502001-01-010), randomblob(602001-01-010) FROM tt; IN00), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; 0 ePRAGMA vvacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t1(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t3(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; -------BLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(100), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(202001-01-010), randomblob(602001-01-010)FROM tt; IN00), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; 3u3>#PRAGMA vvacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b);EXPLAIN DROP TABLE t3; PRAGMA integrity_check; -------BLE t0; PRAGMA integrity_check;EXPLAIN DROP TABLE t1; PRAGMA integrity_check; /"cPRAGMA vum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t0(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b);EXPLAIN DROP TABLE t3; PRAGMA integrity_check;----BLE t0; PRAGMA integrity_check; DROP TABLE t3; PRAGMA integrity_check; T!-PRAGMA vvacuum=1; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); CREATE INDEX i0 ON t1(a); CREATE TABLE t3(a); CREATE INDEX i3 ON t0(a); CREATE INDEX x ON t1(b); DROP TABLE t3; PRAGMA integrity_check; ---P TABLE t1; PRAGMA integrity_check; ----BLE t0; PRAGMA integrity_check; DROP TABLE t1; PRAGMA integrity_check; ^^%9CREATE TABLE t1(a char(1), b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE a IN (A,A)ISNULL BY b; $CREATE TABLE t2(x,y,z); CREATE TRIGGER v21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER 0 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r0 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r6 BEFORE DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t207 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER r8 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t009 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t00 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t0010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r02 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2r6; L'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) FROMt1; 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 &7SELECT 1000000%++++++++++++++++++++++++++++++++++++++++++++++++++++0++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ `0`L)PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT sqlite_compileoption_get(1) /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(22001-01E0100);REINDEX L(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-6100);REINDEX (,3SELECT * FROM (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), ( (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), (t0, (t0), ( (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), ( (t0, (t0)E),t0), (t0, (t0), (tE), ( (t0, (t0), (tE),t0), (t0, (t0), (t^), (t0) WH), (ttE),t), (t0, (t0), (tE), (, (tE),t0), (t0, (t0), (t^), (t0) WH), (ttE),t), (t0, (t0), (tE), (t0) WH), (t0) WtE), (t0) WH),M+SELECT * FROM (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), ( (t0), (t0), (t0, (t0), (t0, (t0), (t0,(t0), (tE),t0), (t0, (t0), (tE), (t0) WH), (ttE),t0), (t0, (t0), (tE), (t0) WH), (t0) WtE), (t0) WH),* DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2)MATCH min(1<1)FROM t1 ORDER BY 01,1); CE; gg2/iSELECT * FROM (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), ( (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), (t0) WH), (ttE),t0), (t0, ((t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), (t0) WH), (ttE),t0), (t0, (t0), (tE), (t0) WH), (t)) WtE)t0), (tE), (t0) WH), (t)) WtE), (t0) WH),y.wSELECT * FROM (t0), (t0), (t0, (t0), (t0, (t0), (t0, (t0), ( (t0), (t0), (t0E),t0), (t7, (t0), (tE), (t0) WH), (ttE),t0), (t0), (t0, (t0), (t0, (t0), (tE),t0), (t7, (t0), (tE), (t0) WH), (ttE),t0), (t0, (t0), dtE), (t0) WH), (t0) WtE), (t0) WH),b-ISELECT * FROM (t0), (t0), (t0, (t0), (t0, (t0), ( (t0, (t, (t0), (t0, (t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), (t0) WH), (ttE),t0), (t0, (t0), (tE), (t0) WH), (t0) WtEt0, (t0), ( (t0), (t0), (t0t0, (t0), (t0, (t0), (t0, (t, (t0), (t0, (t0), (t0, (t0), (tE),t0), (t0, (t0), (tE), (t0) WH), (ttE),t0), (t0, (t0), (tE), (t0) WH), (t0) WtE), (t0) WH), Jx)J;5}SELECT sqlite_rename_parent( " ?1 ?1 ?1!",'000','000'); 4?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,b,c,d,e,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,?,2,2,20000); INSERT INTO t5,fEX @3CREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(' -100'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2>0000000060.00>>00>>0000000060.00>>00000-10>>0000000060.00>>0000000060.010000>>00000000600060.010000>>0000000060.00000-10>>0000000060.00>>0000000060.010000>>00000000600060.010000>>0000000060.00; ^:ACREATE TABLE t0(a, b); SELECT a FROM (SELECT 00000e2001-01E-310 AS a FROM t0) WHERE a==0; 9PRAGMA main.cache_size= 10; PRAGMA temp.cache_size = 10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; SELECT randomblob(500) a,b,$randomblob(600) FROM tt; LlLm@_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) || 1=11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 90 -1; E?CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f);EXPLAIN CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE DESC, b COLLATE C; 9>wSELECT -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00; &=QSELECT -10>>0000000060.00>>00000-10>>0000000060.00>>0000000060.010000>>0000000 -10>>00000-10>>000>>0000000060.00>>00000-10>>0000000600060.010000>>0000000060.00; <%SELECT -10>>0000000060.00>>00000-10>>0000-10>>0000000060.00>>00000-10>>000060.00>>0000000060.010000>>00000000600060.010000>>0000000060.00;  =EABEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT 1; END;EXPLAIN INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2;ANALYZE; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;ANALYZE mD_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) || 1=11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10 -6; pCeWITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) || 1=11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10 - -11; mB_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) || 1=11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 18 -1; mA_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1) || 1=11 FROM i ORDER BY 1) SELECT x FROM i LIMIT 30 -1; 0 HPRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(1,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c&-A, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; {G{CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,a,b,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0( "a","b",e); VACUUM LFCREATE TABLE t0(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h%'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE'߀'; <]K?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES( hex(12001-01-01)| '0000' |~ zeroblob(1) || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); SJ+CREATE TABLE t0(a, b); CREATE TABLE log(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES( hex(1)| '0000' |~ zeroblob(1) || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes(); @ICREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES('00'); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m,2,1) AS00 FROM t0 GROUP BY m OR round(M, .18); N]N1OgCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'uTC' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 ''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY 002; 1NgCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'uTC00000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 ''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1O !MGCREATE VIRTUAL TABLE t00js0 USING fts4aux( ``"0000'0'0000");CREATE VIRTUAL TABLE t000s0 USING fts4aux( ``"0000'0'0000"); SELECT * FR SELECT * FROM t000s0; LCCREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1, zeroblob(12001-01-01),4); SELECT c FROM t1 WHERE a IN (1,2) ORDER BY b; XRXvRqSELECT sqlite_rename_parent( " a.b>>>>>6>>>>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%>>>>>>v",'000','000'); QQ'CREATE VIRTUAL TABLE ft0 USING fts4(x sq_compileoption_used(1)'a 0', ' sqlite_compileoptioget(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', 'n_get(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0; UP/CREATE VIRTUAL TABLE ft0 USING fts4(x, y); INSERT INTO ft0 VALUES('g 0', ' sqlite_compileoptioget(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', 'n_get(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0; $ Q$)UWSELECT sqlite_rename_parent( " a.b>>SUEI>>>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!%%%%%%%%%%%%D%%%%%%%%A%%%%%%%%%%%%%%%%%%%%>>>>>>v",'000','000'); KTSELECT sqlite_rename_parent( " a.b>>>>>>>>>>%%%%%%%%%%%%%%%%%%%%!!!!!!!!!!!!!!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%>>>>>>v",'000','000'); \S=SELECT sqlite_rename_parent( " a.b>>>>>>>>>>%%%%%%%%%%%%%%%%%!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%!!!!!!!!!!!!!!!!!!!!!!!!! !!!!%%%%%%%%>>>>>>v",'000','000'); C[CX-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( zeroblob(1), zeroblob(1)/* */) FROM t1 GROUP BY i01; WPRAGMA wal_checkpoint =full;PRAGMA wal_checkpoint =full;PRAGMA wal_checkpoint =full; I1000));checkpoint =full; I1000)); V?CREATE TABLE t3(a,I,TEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE DESCY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=, b C; aYGPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(110) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX aZGPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a[GPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(10 ) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a\GPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; 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)+2 days1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX ^!CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,E,c,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1,1, random(),1)); a]GPRAGMA 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) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT last_insert_rowid() t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX  _=bATTACH''AS nooname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':memory:' AS inminmemmname; ATTACH'me:' AS mem;VACUUM CR =aATTACH''AS@nooname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':memory:' AS inminmemmname; ATTACH'me:' AS mem;VACUUM;CR v`qCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 3,3,a( '000', 3,a, '000', b, a,b,((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((FRb_ICREATE 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) ; CufoCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('xtension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' @1 @1 1-1';f ueoCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('xtension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', ' @1'); SELECT offsets(ft) FROM ftWHERE ft MATCH ' @1 @1 1=1';f 0deCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'oyyeing aAyyeing aANALYZEing'); SELECT M t1 WHERE cot MATCH 'runp'; 9cwATTACH''AS nooname; ATTACH':memory:' AS naname; ATTACH':memory:' AS name; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':memory:' AS inmmmname; ATTACH'me:' AS mem;COMMIT;CR i CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE+(SELECT "000000" [a], "n00b00" FROM "0000" GROUP BY "a","b""a","b", "a","b""a"<"b", "a","b" LIMIT 1)IS uhoCREATE 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 OR 1=1';f ugoCREATE 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 QQ\l=CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=pdexe, notindexed=00, notindexed=ed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p00d=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, notindexed=poi); ]k?CREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0tindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=indexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, p000, notindexed=a,00, notindexed=poi); jjYCREATE VIRTUAL TABLE t2 USING fts3( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0tindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=p,00, notindexed=p000, notindexed=a,00, notindexed=poi); ??oocCREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=ed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, no00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi); \n=CREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00xed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000,, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi); jmYCREATE VIRTUAL TABLE t2 USING fts4( a,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0tindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, noti000, notindexed=a,00, notindexed=poiexed=a,00, notindexed=poi); oqcCREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00,i, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi); zpyCREATE VIRTUAL TABLE t2 USING fts4( 00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, notindexed=poi); Rt)CREATE TABLE x(a,b); CREATE VIEW y AS SELECT tosu0(1)p, x2.b AS q y A@ \1wssCREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, ed=00, notindexed=p0,00, notindexed=p000, notinde///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////oi); nraCREATE VIRTUAL TABLE t2 USING fts4( poi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=0, notindexed=p000, notindexed=a,00, na,bpoi, a0 a,00, notindexed=p00, notindexed=00, notindexed=p0,00, notinde00, notindexed>p0,00, notindexed=p000, notindexed=a,00, notindexed=poi); zwyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT group_concat(1,1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yzvyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT-total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yzuyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a>x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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 zzyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, quote(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yzyyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)NOTNULL AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yzxyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)IS x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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 z}yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, hex(1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yz|yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, instr(1,1)FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yz{yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, length(1) FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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 zyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE total(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yzyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, count(1) FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yz~yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, sum(1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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 DD8uCREATE TABLE t000(c0000); SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 AS00 NATURAL JOIN t000 c00 NATURAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; ~CREATE TABLE t000(c0aba,b,,I, a sqlite_compileoption_get(1),INT0000); SELECT c000.* FROM t000 AS c00 NATURAL JOIN t000 AS000 NATURAL JOIN t000 AS00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 A0 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; zyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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 AO y1, y Dc]?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,?,4,5,?,20000);REINDEX ]?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(e,b,c,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX 8uBEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROMn00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'-'; COMMIT;  PRAGMA mcache_size= 10; PRAGMA temp.cache_size (1); CREATE TABLE temp.tt(a, b);EXPLAIN INSERT INTO tt VALUES(randomblob(100), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(502001-01-010), randomblob(602001-01-010) FROM tt; IN00), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; P%SELECT '0000' UNION SELECT '000h' ORDER BY-+++-+++++++++++++++++++++++-+ 1 aGCREATE 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;ANALYZE FROM s `0`L PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT sqlite_compileoption_get(1) /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(22041-01-6100);REINDEX L PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT sqlite_compileoption_get(1) /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(22401-01-6100);REINDEX 04;}SELECT sqlite_rename_parent( " ?O ??K!",'000','000'); ?SELECT sqlite_rename_parent( " ?1 ?1 ?1 ?1!",'000','000'); {{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -1.00 || -01) x FROM i LIMIT 1002{ {WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -1.00 || -81) x FROM i LIMIT 10; L PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT sqlite_compileoption_get(1) /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(22001-81-6100);REINDEX NtmSELECT -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.0100000>>0000000060.000>>000000006-10>>00*0000060.00>>0000000060.010000>>00000000600060.010>00*0000060.00>>0000000060.010000>>00000000600060.0100000>>0000000060.000>>0000000060.00; bICREATE TABLE t0(a, b); SELECT a FROM (SELECT 00000e2001-01E-310 AS a FROM t0) WHERE a= [a]=0; ICREATE TEMP TABLE t0(a INTEGER PRIMARY KEY AUTOINCREMENT, b); INSERT INTO t0 VALUES(null -1,'00'); INSERT INTO t0 VALUES(null -1,'00'); DELETE FROM t0; INSERT INTO t0 VALUES(null -1,'00'); INSERT INTO t0 VALUES(null -1,'00'); DELETE FROM t0; INSERT INTO t0 VALUES(null -1,'000'); SELECT * F(null -1,'000'); SELECT * FROM t0; oBCCREATE TABLE t1(a, b, c, PRIMARY KEY(c,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1, zeroblob(12001-01-01),4); SELECT c FROM t1 WHERE c IN (1,2,4); SELECT c CCREATE TABLE t1(a, b, c, PRIMARY KEY(c,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1, zeroblob(12001-01-01),4); SELECT c FROM t1 WHERE c IN (1,2) ORDER BY b;CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDIN PRAGMA x;VACUUM {{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(c, c,c,c,e); VACUUM #CREATE TABLE t0(x sqlite_compileoption_get(1)); INSERT INTO t0 VALUES('h'); INSERT INTO t0 VALUES('000000'); SELECT 1, x FROM t0 WHERE x LIKE '%h0'; SELECT 2, x FROM t0 WHERE x LIKE '%h%' ESCAPE'߀'; nneOCREATE VIRTUAL TABLE ft0 USING fts3(x, y); INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoption_gmt(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.ux0 USING fts4aux(main, ft); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING ft0) %OCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'uTC' ON [sill0 0 0a0e](a, b); CREATE INDEX '000000000000000 ''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1O _-DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES($400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( zeroblob(1), zeroblob(1)/* */) FROM t1 GROUP BY i01; C SELECT sqlite_rename_parent( " a.b>>>>>>>>>>%%%%%%%%%%%%%%%%%%%%%%%%P%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%????'?????????????%%%%%%%>>>>>>v",'000','000'); ?CREATE VIRTUAL TABLE ft0 USING fts4(x, y); INSERT INTO ft0 VALUES(' 0', ' sqlitehcompileoptioget(1c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', 'n_get(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING fts4aux(main, ft0); SELECT* FROM aux0;INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoptiogt(1c d'); INSERT I -DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( zeroblob(1), zeroblob(1)/* */) FROM t1 GROUP BY 002; aGPRAGMA 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(101)); 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) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(10 ) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 00) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX a GPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(10 ) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 80) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX 11f"QCREATE TABLE t1(a,b); INSERT INTO t1T SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 3,3,a, '000', 3,a, '000', b, a,b,(SELECT(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((FRa!GPRAGMA mmap_size = 0; PRAGMA page_size = 1024; PRAGMA cache_size =ALL00; CREATE TABLE t1(x); CREATE TABLE t2(x); CREATE TABLE t3(x); CREATE INDEX i3 ON t3(x); INSERT INTO t3 VALUES(randomblob(103)); INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(10 ) FROM t3; INSERT INTO t3 SELECT randomblob(12001-01-0100) FROM t1; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob( 08) FROM t3; INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX h8]G'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 inminmemmname;ANALYZE'me:'CR W&3ATTACH''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 inminmemmname; ATTACH'me:' AS mem;VACUUM;CR %-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c,b,a,e,e)); SELECT * FROM t0 WHERE a=E AND glob(1,1)=? AND d=? AND b=? AND c=? AND dCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, avg(1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;EXPLAIN SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yz=yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, avg(1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, x A, y AS1, y Sy1, 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, yz<yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, avg(1) q FROM x AS x1, x AS x2 WHERE x1.a-x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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 >>fAQCREATE VIRTUAL TABLE ft0 USING fts4;EXPLAIN INSERT INTO ft0 VALUES(' 0 c_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 ()a''b''a 0 ''b''b''option_used(1)f 0 ()a''b''a 0 (1)a''b''a''b''b''c';V@1CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, avg(1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yz?yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, avg(1), avg(1) q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Syy 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 b3bMCCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a1111111111111111111111111111111111111111111111111111111111111111,b d'); SELECT snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f]0 (1)a''b''a 0(1)a''b''a''b''b'ion_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';IBCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f]0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c'; uEoCREATE VIRTUAL TABLE ft0 USING fts4(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f]0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';hDUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f]0 (1)tion_used(1)f]0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c'; jGYCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption0 b c a,b d'); SELECT snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^f]0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';vFqCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c,[ d'); SELECT snippet(ft0, '0', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f]0 (1)a''b''a 0 d(1)f]0 (1)a''b''a 0 (1)a''b''a''b''b''odtion_used(1)e 0 (1)a''b''a 0 (1)a''b''a''b'' (1)a''b''a''b''b''odtion_used(1)e 0 (1)a''b''a 0 (1)a''b''a''b''b''c'; hLPK%SELECT '0000' UNION SELECT '000h' ORDER BY-+-+-+++++++++++++++++++++++-+ 1 J CREATE TABLE t0000(a INTEGER PRIMARY KEY ,UTOINCRRIMARY KEY ,UTOINCREMENT, EMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); I)SELECT sqlite_rename_trigger(' || ?0 T!!!!??????????????????????????????????????????????????????????????????????!R r0 ON x||||?0 uHEN',NULL);!H-SELECT sqlite_rename_trigger(' || ?0 T!!!!!R r0 ON x||||?0 uHEN',NULL);SELECT sqlite_rename_trigger(' || ?0 T!!!!!R r0 ON x||||?0 uHEN',NULL);!! yuy{O{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, randomblob(1)) x FROM i LIMIT 10; {N{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,-random()|| -01) x FROM i LIMIT 10; {M{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1/ random()|| -01) x FROM i LIMIT 10; LPRAGMA mcache_size= 10; PRAGMA temp.cache_size (1); CREATE TABLE temp.tt(a, b);EXPLAIN INSERT INTO tt VALUES(randomblob(100), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(502001-01-010), randomblob(602001-01-010) FROM tt; SELECT randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; %0SeSELECT avg(1) -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000*0000060.00>>0000000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00; RCREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,e,e,a,b,c,d,e,f,f)); INSERT INTO t5 VALUES(1,1,1,1,1,:0000); INSERT INTO t,?,2,2,2000t5,fEX JQWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()|| -01) x FROM i UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()|| -01) x FRLIMIT 10; {P{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()|| -01) x FROM i LIMIT 1002 DzUySELECT avg(1) -10>>00>>0000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>0000>>0000000060.010000>>00000000600060.010000>>00000000000060.010000>>000000%0.00>>00000-10>>0000>>0000000060.010000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>0000000060.000>>0000000060.00; 8TuSELECT avg(1) -10>>00>>00.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>0000000000060.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*000000060.010000>>000000000000060.00>>0000000060.010000>>00000000600060.010>00*0000060.00>>0000000060.0000>>00000000600060.010000>>00000000000000%0.00>>00000-10>>00*0000060.00>>000000060.000>>0000000060.00; !CY 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 inminmemmname;ANALYZE/CR X-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c,b,a,e,e)); SELECT * FROM t0 WHERE a=E AND b=E AND b=? AND c=? AND b=? AND b=? AND c=?? AND e ISNULL d82,& ~xrlf@:4.(" `ZTNHB<60*$ ) ( ' & % $ # " ! ߬ ެ ݬ ܬ ۬ ڬ Q N K H E C @ = : 7 4 0 , * ( & $ "             ~ { u s q o m k i g e c a _ ] Y U S O K G E C A > ; 8 5 3 ج ׬ ֬ լ ҫ} ͫz ̫t ˫o ʫj ɫh ȫg ǫc ƫ_ ū[ īY ëW «T 1 . + ~' }" | { z y x w v u t s ٬ r q p o} nz mw lt kq jo il hi gf fb e^ d\ 'baICREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, yU`/CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('xtension(1,1)', 'foo'); INSERT INTO ft VALUES(' loadon(1,1)', 'foo'); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('xtensio_extension(1,1)', 'foo'); INSERT INTO ft VALUES('xtension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' @1߿1=1';f 44bcICREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybbICREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 44beICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)OR lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybdICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(CURRENT_TIME)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 44bgICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, total(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybfICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)IS lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 44biICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, typeof(1) FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybhICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, min(1,1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 44bkICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE glob(1,1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybjICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE /* */x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 44bmICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE 1=1=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, yblICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE (1)=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 44boICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE min(1,1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybnICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE 'a'=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 --eqOCREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, yfpQCREATE TABLE x( a,ba,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 Ns!CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1) S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y Sy1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybrICREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 ;nuaCREATE TABLE t0000(a INTEGER DEFAULT KEY UNIQUE,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); AtCREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y ; CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $t AS y1, y g4cg{{{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()||1021) x FROM i LIMIT 1002{z{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()||.021) x FROM i LIMIT 10; {y{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()||1021) x FROM i LIMIT 30; Px%SELECT '0000' UNIO; SELECT '000h' ORDER BY-+-+-+++++++++++++++++++++++-+ 1 Pw%SELECT '0000' UNION SELECT '000h' ORDER BY-+-+-+-+++++++++++++++++++++-+ 1 uvoCREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000000'); INSERT INTO t0000(b) VALUES('00'); END;EXPLAIN INSERT INTO t0000(b) VALUES('0000'); Qh~UATTACH''AS nooname; ATTACH':ry:' AS naname; ATTACH':memory:' AS oname; ATTACH':memory:' AS nanamname; ATTACH'me:' AS me; ATTACH'me:' AS mee; ATTACH'me:' AS m; REINDEX:my:' AS nmemmname; ATTACH'me:' AS memVACUUM;CR L}SELECT? -10>>00>>0000000060.00>>0-10>>0050060.015000>>80000000600060.010000>>00%0.00>>0-10>>00*0-10>>00>>0000000060.00>>0-10>>0050060.015000>>000000>>00>>0000000060.00>>0-10>>0050060.015000>>80000000600060.010000>>00%0.00>>0-10>>00*0-10>>00>>0000000060.00>>0-10>>0050060.000060060.00>>0000000060.010000>>00>>00-10>>000000; +|[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()||1022222222222222222222222222222222222222222222222221) x FROM i LIMIT 10; bICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( time(1,1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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\=ATTACH''AS nooname; ATTACH':ry:' AS naname; ATTACH':memory:' AS oname; ATTACH':memory:' AS nanamname; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':my:' AS inmaname; ATTACH':memory:' AS imname;ANALYZE;CR  ATTACH''AS nooname; ATTACH':ry:' AS naname; ATTACH':memory:' AS oname; ATTACH':memory:' AS nanamname; ATTACH'me:' AS me; ATTACH'me:' AS mee; ATTACH'me:' AS m; ATTACH':my:' AS nme; ATTACH':my:' AS nmemmnammmname; ATTACH'me:' AS memVACUUM;CR 44bICREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybICREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 //bICREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FRoM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, x A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y INSTEAD1, y AS y1, ygSCREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y WHERE A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 SSbICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(0); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, yC CREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y v1, y AS y1, y ..h UCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(1)ISNULL; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, count(1)q FROM x AS x1, x AS x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 q<qG CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y , y, y SyC, y A, y Ad1, y y1, y S1, y , y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y@ CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 6 qCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y11, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y , y S1, y AS y1, yb ICREATE TABLE x(a,b); CREATE VIEW y AS SELECT last_insert_rowid()q FROM x AS x1, x AS x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y=1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y I<}CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y3kCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1S1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1y1, 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 S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y xuSELECT avg(1) -10>>00>>0000000060.00>>00020-10>>00*00000600>>00000-10>>060.010000>>00000000000000%0.00>>00000-10>>00*000006/.00>>0000000060.000>>0000000*000006/.00>>000000.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>00*0000060.00>>0000000060.010000>>00000000600060.010600*0000060.00>>0000000060.010000>>00000000600060.010000>>000000%0.00>>00000-10>>060.010000>>00000000000000%0.00>>00000-10>>00*000006/.00>>0000000060.000>>0000000*000006/.00>>0000000060.000>>0000000060.00; 0eCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 /gSCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(11)', 'foo'); INSERT INTO ft VALUES('xtension(1,1)', 'foo'); INSERT INTO ft VALUES(' l1)', 'foo'); INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' UAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUE@1߿1=1';f 0eCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(11)', 'foo'); INSERT INTO ft VALUES('xtension(1,1)', 'foo'); INSERT INTO ft VALUES(' l1)', 'foo'); INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' @11=1';f MATTACH''AS nooname; ATTACH':ry:' AS naname; ATTACH':memory:' AS oname; ATTACH':memory:' AS nanamname; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':my:' AS ame; ATTACH':ry:' AS@name;ANALYZE/CR 44bICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x AS x1, x AS x2 WHERE typeof(1); SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybICREATE TABLE x(a,b); CREATE VIEW y AS SELECT-total( nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 44bICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x AS x1, x AS x2 WHERE random(); SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x AS x1, x AS x2 WHERE 1=1=x2.a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 ))eOCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1, -11))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, yjYCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(DISTINCT nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 ''iWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a;EXPLAIN SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, yhUCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1)ISNULL)q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 ??X5CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yaGCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y y1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y A, y AS1, y y1, y S, y S1, y y, y y1, y, y AS11, y y, y y1, y, y AS1, y Sy1, 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 NNb ICREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTAMPa; SELECT total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASx1, x AS CURRENT_TIMESTS1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yHCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x AS a; SELECT $tota|(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 Q"'CREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS CURRENffffffffGffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffEfffT_TIMESTAMPa; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y A ltrim(1,1)y y y1, y S1, y AS y1, y S1, @Sy1, y S1, y y, y y1, y S1, y AS y1, yZ!9CREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS x1, x AS CURRENT_TIMESTAMPa; SELECT $total(1)p FROM x AT, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 y1, y J$7CREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTAMPx1, x AS CURRENT_TIMESTAMPa; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS yBLE x(a,b); CREATE VIEW y AS 1, y S1, y ASy1, y S1, y y, y y1S1, y AS y1, y2#iCREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTA________________________________________________________________________________MPa; SELECT $tokal(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1+y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y S1F y ASy1, y S1, y y, y y1, y S1, y AS y1, y <b&ICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, sqlite_compileoption_used(1) x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, x A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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@%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT load_extension(1,1)q FROM x AS x1, x AS CURRENT_TIMESTAMPa; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, x AS x1, x AS CURRENT_TIMESTAMPa; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y 88b(ICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, sqlite_compileoption_used( last_insert_rowid()); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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^'ACREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 y*wCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, sqlite_compileoption_used(1) x2 WHERE likely(188888888888888888888888); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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{){CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, sqlite_compileoption_used(1) x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y AS1, y Sy1, y A, y, y y1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y %,OCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, sqlite_compileoption_used(1) x2 WHERE likely(1); SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y, y AS1, y Sy1, 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, yW+3CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, sqlite_compileoption_used(1) x2 WHERE likely(1); SELECT $totkleoption_used(1) x2 WHERE likely(1); SELECT $totAl(1)p FROM x AS y1, y A, y AS1, y Sy, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y @|H0CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(DISTINCT nullif(1,1))q FROM x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y@/CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(A,1))q FROM x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y@.CREATE TABLE x(a,b); CREATE VIEW y AS SELECT+total( nullif(1,1))q FROM x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yx-uATTACH''AS noame; ATTACH':me*' AS inmeoname; ATTACH':ry:' AS naname; ATTACH':memory:' AS oname; ATTACH':memory:' AS nanamname; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':my:' AS inmaname; ATTACH':memory:' AS irnmemmname;ANALYZE+ 9nVC4 CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif( -.1,1))q FROM x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y3-ATTACH''AS noame; ATTACH':me*' AS inmeoname; ATTACH':ry:' AS naname; ATTACH':memory:' AS onae; ATTACH':memory:' AS me; ATTACH':memory:' AS nanamname; ATTACH'me:' AS me; ATTACH'me:' AS m; ATTACH':my:' AS inmaname; ATTACH':memory:' AS irnmemmname;ANALYZE;END G2CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x;EXPLAIN SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yC1 CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1, -11))q FROM x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y 9 )7WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(A,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y)6WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT+total( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yC5 CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif( - a,b))q FROM x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y  :CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y ; SELECT $oota|(SELECT $tota|(1)p FROM x y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y AS y1, y S1, y ASy1, y S1, y y, y)y1, y S1, y AS y1, y09eCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x;EXPLAIN SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y,8]CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1, -11))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y )=WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, ye<OCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y y1)p FROM x AS y1, y A, y CS1, yS);WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y qq1@gCREATE TABLE x(a,b); CREATE VIEW y AS SELECT DISTINCT/* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y)?WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x CURRENT_TIMESTAMPS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y)>WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y,y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y yy)CWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y YYYYYYYYYYYYYYYYYYYYYYYYYYYY1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y)BWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y y S1, y AS y1, y)AWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y S1, y AS y1)p FROM x AS y1, y A, y )p FROM x AS y1, A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y lE]CREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELE */( nullif(1,1))q FROM x; SELECT $totCT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y)DWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y Ay S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y jj(HUCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1,x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p F y AS y1, ygGSCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1Sy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1= y y{F{CREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x y1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y B)KWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1)) "a","b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y JCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y)IWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S11, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y y1, y ll.NaCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))LIMIT "a","b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y1MgCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(DISTINCT nullif(1,1)) "a","b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y)LWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1)),"a","b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y VV)QWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1)) "a","b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y,y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1 AS y1, y;P{CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1)) "a", strftime(1,1,1,1)"b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y:OyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1)) "a",CURRENT_TIMESTAMP"b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y %TOCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(A,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y, y y1, y S1, y AS y1, y%SOCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , yy, y y1, y S1, y AS y1, y%ROCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y, y y, y y1, y S1, y AS y1, y KXK WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y ym000001, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y AJ AS y{V{CREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y y1, y y1, y S1, y ASy1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y, y y1, y S1, y AS y1, y%UOCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( VALUES(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y, y y1, y S1, y AS y1, y `)YWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS, y y1, y S1, y AS y1)p FROM x A, y A, y 1, y Sy1, y y1, , y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< S1, y AS y1)p F Sy1, y y1, y S1, y ASy1, y SROM x A, y A, y , y y, y y1, y S1, y AS y1, yX=CREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $topa|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y, y y1, y S1, y AS y1,y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y, y y1, y S1, y AS y1, y y e[1CREATE TABLE x(a,b); CREATE VIEW y AS SELECT /*zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz */( nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y, yy1, y S1, y AS y1, yZ3CREATE 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 Sy1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y, y y11, y Sy1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM , y S1, y AS y1, y .ub_ICREATE TABLE x(a,b); CREATE VIEW y AS SELECT EXISTS/* */(SELECT nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x A, y A, y CS1, y Sy11, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y At0o Cy y\^=CREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */(SELECT nullif(1,1))ISNULL x; SELECT $tota|(SELECT $tota|(1)p FROM x A, y A, y CS1, y Sy11, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y At0o Cy y5]oCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( VALUES(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1,y y1, y S1, y AS y1)p FROM x A, y y CS1,N\!CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))LIMIT "a","b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS1, y S1, y AS M x n n.caCREATE TABLE x(a,b); CREATE VIEW y AS SELECT EXISTS/* */(SELECT nullif(1,1))q FROM x; SELECT tota|(SELECT $tota|(1)p FROM x A, y A, y CSS1, y y1)p FROM x A, y o Cy y4bmCREATE TABLE x(a,b); CREATE VIEW y AS SELECT DISTINCT/* */(SELECT nullif(A,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x A, y A, y CSS1, y AS y1)p FROM x A, y o Cy y>aCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))WHERE"b"; SElECT $tota|(SELECT $tota|(1)p FROM y AS y, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS1, y S1, y AS M ; SELECT $tota|(SELECT $tota|(1)p FROM y AS y, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS1, y S1, y x b`ICREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */(SELECT /* */ nullif(1,1))q FROM x; SELECT $tota|(SELECT $tota|(1)p FROM x A, y A, y CS1, y Sy11, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y At0o Cy y LJLgADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 1 THEN@randomblob(12001-01-01)WHEN 6 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; "fICREATE TABLE x(a,b); CREATE VIEW y AS SELECT EXISTS/* */(SELECT nullif(1,1))q000r000; SELECT $tota|(SELECT $tota|(1)p FROM x A, y A, y CSS1, y y1)p FWOM xy2eiCREATE TABLE x(a,b); CREATE VIEW y AS SELECT EXISTS/* */(SELECT nullif(1,1))q FROM x; SELECT EXISTS(SELECT $tota|(1)p FROM x A, y A, y CSS1, y AS y1)p FROM x A, y o Cy y2diCREATE TABLE x(a,b); CREATE VIEW y AS SELECT EXISTS/* */(SELECT nullif(1,1)) /* */ x; SELECT $tota|(SELECT $tota|(1)p FROM x A, y A, y CSS1, y AS y1)p FROM x A, y o Cy y  hPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1;REPLACE INTO t1 SELECT 8 || +322001-01-01,randomblob(40 -10)FROM t1; IN INTO t1); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; ((`jECREATE 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='CR UNIQUE INDEX t00 ON 00(a)' WHERE name='t1a'; UPDATE sqlite_master SET sql= sqlite_source_id(); PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO [a]; PRAGMA integrity_checkpieCREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, julianday(1,1,1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT NTO t1 SELECT a+8, julianday(1,1,1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; K,wKtomCREATE TABLE t1(x); INSERT INTO t1 VALUES(:00); SELECT CASE ~max(x) WHEN:min(x) THEN:1 ELSE max(x) END FROM t1; 1ngCREATE TABLE t0(a PRIMARY KEY, b REFERENCES t0); CREATE TABLE t2(a PR REFERENCES c REFERENCES t0); CREATE TABLE t3(a REFERENCES t0, b REFEREN c REFERENCES t0);VACUUM;VACUUM 1mgCREATE TABLE t0(RECURSIVE KEY, b REFERENCES t0); CREATE TABLE t2(a PR MARY KEY, c REFERENCES t0); CREATE TABLE t3(a REFERENCES t0, b REFEREN c REFERENCES t0);VACUUM;VACUUM flQCREATE TABLE t1( [a]a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%0ess',a,b,c) FROM t1 GROUP BY 00001; fkQCREATE TABLE t1( [a]a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%n0%w',a,b,c) FROM t1 GROUP BY 00001; ##itWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<041-01-011 FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; >sSELECT 10 EXCEPT SELECT ltrim(200e011-011,2001-01-01-11)YrPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN cREAL DEFAULT-' -19e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT-'00000'; UPDATE t1 SET x=D+1; SELECT* FROM t1; 4qmCREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('000000000000000000000000000000000000000000000000000000000000000000000000000000000000'); INSERT INTO t0t0000 VALUES(000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000004); SELECT DISTINCT a FROM t0t0000; ipWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FROM i GROUP BY 1) SELECT x FROM i LIMIT 2001-01-01103 P!oP.zaCREATE 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 ΂]y?CREATE TABLE t102 (i0 EXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0'; SELECT * FROM t102 AS LEFT JOIN t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2 LEFT JOIN t102 ON t1.i0 G JOIN t102 A0)); dxMWITH i(x) AS ( VALUES( 1=11) UNION SELECT (x | sum(1)|X+1)*10 FROM i) SELECT x FROM i LIMIT 20; HwPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE sqlite USING fts3;VpveWITH i(x) AS ( VALUES(1) UNION ALL SELECT x< avg(1)<001-01-011 FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; iuWWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<<001-81-011 FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'J C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0 U', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q Z'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888?8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888C 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'); 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 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIY'); 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'); 5$^}ACREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+2, y+2 FROM t2; INSERT INTO t2 SELECT x+4, y+4 FROM t2; INSERT INTO t2 SELECT x+8, y+8 FROM t2; INSERT INTO t2 SELECT x+16, -16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT x+64, -164 FROM t2; SELECT count(DISTINCT zeroblob(1)), sum(y) FROM t2; |CREATE VIRTUAL TaBLE x1 USING FTS4(a,b, `); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N Q S'); NNS0changes( VALUES(6, 'M R@G T', 'X Y 0 L S'; INSERT INTO x,a) VAL', 'X 00L0t0R', '0 O T1(docid,a) VAL',8'X 00L0tR', '0 O T H V'); S', 'R ӑ;{{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 J L L INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 KS(19, A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUfS(4, 'J . Y N 0 0 ocid,a,b,c V(5,"'L L S', '0 Q A L Y'). INSERT INTO x1(dcid,a,b q) VALUES(6, 'M R@G T', 'X Y 0 L S'; INSERT INTO x,a) VAL', 'X 00L0t0R', '0 O T1(docid,a) VAL',8'X 00L0tR', '0 O T H V'); INSERT INTO U1(docid,a,b,c) VALUUS(8 'Y 040 0', '0 U E S J', 'N REPLACE'),a,,c) VALUES(9, 'Z 0 F N P', 'W 0 d 0 U', 'V 0 E Q A'); INSERT INTO x1(doci @1,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 f', 'A H T Q Z'); INSERT INTO x1(docid,a,b,c)@A,UES(11, '0 E Q 0,`'0 I 0 C B', 'F Z U ? R)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))X 00L0tR', '0 O T H V'); S', 'R J L L INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 KS(19, A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUfS(4, 'J . Y N 0 0 ocid,a,b,c V(5,"'L L S', '0 Q A L Y'). INSERT INTO x1(dcid,a,b q) VALUES(6, 'M R@G T', 'X Y 0 L S'; INSERT INTO x,a) VAL', 'X 00L0t0R', '0 O T1(docid,a) VAL',8'X 00L0tR', '0 O T H V'); INSERT INTO U1(docid,a,b,c) VALUUS(8 'Y 040 0', '0 U E S J', 'N REPLACE'),a,,c) VALUES(9, 'Z 0 F N P', 'W 0 d 0 U))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))'); INSERTINTO x1(doci2, 'E S V U', 'T P F W H', 'A M SENT INTO x1(docid,a,b,c) VALUES(17, 'q T S K 0', ERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q',L 0 0 Y 0', 'G 0 M R N'); NSERT INT, 'U 0 N 0 P', 'X Y G F'); IO x12docid,a, 'T 8 0 P 0', '0 V Y B X', 'L Z 0 N 0 %k[DETACH printf('0%111111111q11S11111111L11%0c0%%%%%%%%0%%%%8%%%%%%%%%%2%%%%0%%%%%%2%%%%%%%%TACH p'); k[DETACH printf('0%111q11111q11S11111111L11%0c0%%%%%%%%0%%%%%8%%%%%%%%%%2%%%%0%%%%%%2%%%%%%%%TACH p'); ~BEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0 SELECT * FROM t0; UPDATE t0 SET y=y+1 WHERE x=new.rowid; SELECT 000; DELETE FROM t0 WHERE x=new.rowid;SELECT END; INSERT INTO t1(ab) VALUES(0,0);SELECT ETE FROM t0 WHERE x=new.rowid;SELECT END; INSERT INTO t1(ab) VALUES(0,0);SELECT CO;END g~SCREATE TABLE t2(x,y); INSERT INTO t2 VALUES(1,2); INSERT INTO t2 SELECT x+16, -16 FROM t2; INSERT INTO t2 SELECT x+32,y+32 FROM t2; INSERT INTO t2 SELECT x+64, y+64 FROM t2; SELECT count(DISTINCT zeroblob(1)), sum(y) FROM t2; *R*hUCREATE TABLE t0000(a NTEGER PRIMARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('00E'); INSERT INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('-00000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); 8uPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob( ltrim(1,1)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) );INSHCREATE VIRTUAL TABLE t0 USING fts4(compress=z0 "a","b"press=u "a"); _CPRAGMA auto_vacuum-INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(7200&-01-0100)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; ]G'l!]vqCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(b,c,d,b,c,c,e,e)); SELECT DISTINCT* FROM t0 WHERE d=? AND b=? AND c=?ND; H CREATE TABLE temp.t0(a, b); ALTER TABLE t0 ADD c ; ALTFR TAt0 A WHEH CREATE TABLE temp.t0(a, b); ALTER TABLE t0 ADD b; ; R TABLE t0 A WHEL CREATE TABLE 00b AS SELECT 41,1,1)', 6'; zELECI *RELHCI * FRFM t00b; i WWITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1,X) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002 CREATE TABLE t1(x, y DEFAULT(datetime(' ; ;/* */now'))); INSERT INTO t1(x)VALUES(1); SELEC F CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 SELECT ('0'IN t102 IN t102 )R SELECT * FROS t0 LEFT JOIN t102 N tES ('0'ICREATE TABLE t102 (i0 TEXT U T NULL); INSERT INTO t102 SELECT ('0'IN t102 ); SELECT ('0'IN t102 )S t0T IZ t102 N tES ('0'I*[SELECT printf('%!0200ed',5 -11033000); E #EGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER INSERT ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT.1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY)CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 3,a, ' 00' , "a","" 7sPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab'); INSERT INTO t0t0006 VALUES('AB'); SELECT DISTINCT a FROM t0t0006; |PJCREATE VIRTUAL TABLE t0 USING fts4(tokenize=simple t0000000=s0000); U/CREATE VIRTUAL TABLE t0 USING fts4(tokenize=simple t0000000=s00000); )YSELECT strftime(1,1E1,1) NO0-90000); qgCREATE TABLE t1(x, y DEFAULT(datetime(' @1av'))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE /* */TABLE TempT000e(Te tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER INSERT ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT.1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY c5qATTACH rtrim(1, round(1,2001-01-011) -11)as MAIN; ADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE a WHEN 3 THEN randomblob(92001E01-01)WHEN 2 THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; ECREATE TABLE t0(m CHAR(2)); INSERT INTO t0 VALUES(''); INSERT INTO t0 VALUES('b0'); INSERT INTO t0 VALUES('c0'); SELECT count(*), substr(m, -1) AS00 FROM t0 GROUP BY "a","b""a","b","b",.2; 7CREATE TABLE t1(x); INSERT INTO t1 VALUES( julianday(1,1,1)),( '0000'),(NULL); SELECT quote( @1x)FROM t1 ORDER BY x; SELECT name FROM sqlite_master; //_CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(9,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; jYCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a);REPLACE INTO t000 VALUES('s','s0'),('0000','000'),('0r000','m0r00'),('00','000'),('0r000','m0r00'),('0r000','0rr0'); SELECT a, b, '0' FROM t000 W='m0 _CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,@andomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; _CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8, replace(1,1,1)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; _CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16, replace(1,1,1)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; _ CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT CURRENT_TIME FROM t1 ORDER BY x; _!CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT CURRENT_DATE FROM t1 ORDER BY x; _"CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 GROUP BY x; b#IPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES( -11,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; c$KPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x || +16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; h%UPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT random() x, length(y) FROM t1 ORDER BY x;   q&gPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT group_concat(1,1) x, length(y) FROM t1 ORDER BY x;   r'iPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x || +322001-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT sqlite_source_id() x, length(y) FROM t1 ORDER BY x; ||(CREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS NULL; SELECT 4 FROM t91 LEFT JOIN t92 ON(a=2 AND b=3) AND y IS@NULL; CREATE TEMP TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?13; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?= b=3  )CREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 2 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 3 FROM t91 LEFT JOIN t92 ON (a=2 OR b=3) AND y IS [a]L; SELECT ON@a=~~~~~~~~~~~~~~~~~~~~~~~2 OR ?13; SELECT 5 FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FROM t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT 8 FROM t91 LEFT JOIN t92 ON a=20 OR~~~~~~~~~~~~~~~2 OR ?= u+oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(b,b,b,i,e,b,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','000010 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; u*oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(b,b,b,b,e,b,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','000010 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; V4Vl1]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, "a") FROM i ORDER BY 1) SELECT x FROM i LIMIT 30; l0]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, "a") FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; l/]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, -1.) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002l.]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, -1.) FROM i ORDER BY 1) SELECT x FROM i LIMIT 90; l-]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, .11) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002{,{BEGIN TRANSACTION; CREATE TABLE t1(a int, b int, c int); CREATE INDEX i1 ON t1(c,a); INSERT INTO t1 VALUES(1,1,9); INSERT INTO t1 VALUES(2,4,8); INSERT INTO t1 VALUES(?,9,7); INSERT INTO t1 VALUES(6,6,4); UPDATE t1 SET b=a WHERE a in (10,12,20); INSERT INTO t1 SELECT*FROM t1 WHERE a IN (SELECT replace(1, -11,1) a FROM t1 WHERE a<10); DROP INDEX i1; DELETE FROM t1; COMMIT; gg]7?CREATE TABLE t1(x, y DEFAULT( avg(1)-rTABeplace(1,1,1))); INSERT INTO t1(x)VALUES(1); S; 86wSELECT '1.0e64'/'100000e-621e64'/'100000e-2001-062'; [5;CREATE TABLE t3(a EXINTEGERPRIMARY KEY, b, c, d, e, f);EXPLAIN CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE "a","b" T4-CREATE TABLE t3(a EXINTEGERPRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY@d DESC,d DESC, e DESC, b, "a","b"COLLATE "a","b" T3-CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, e DESC, b, "a","b"COLLATE "a","b" l2]WITH i(x) AS ( VALUES(1) UNION ALL SELECT substr(1,1, "a") FROM i ORDER BY 1) SELECT x FROM i LIMIT 1002 V09ePRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2500)); INSERT INTO t1 VALUES(2200150120012001-01-01-01-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(2001-01-0150)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(90)FROM t1; DELETE FROM t1 &8QPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(3500)); INSERT INTO t1 VALUES(2200150120012001-01-01-01-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(90)FROM t1; DELETE FROM t1 |:|<1BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE /* */TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT-new.Te0tSt00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1;VACUUM ;ECREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a=? >= b=? >= c=? AND d=? AND b=? AND c=? AND d=?AND d=?; B: CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(2001501-011, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; @PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9OR'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; ?PRAGMA encoding=UTF16; CREATE TABLE t1(CASEx); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; n>aCREATE TEMP TABLE t0001(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *?*?????????*E000'; n=aCREATE TEMP TABLE t0001(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *0*??????????E000';  CPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9 blob'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; BPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9VIEW'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; APRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9 @1'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; 2ni24IoSELECT printf('%0020G%0020G%d',501-01,-10,3000); DH PRAGMA encoding=UTF16be; SELECT hex(ltrim(~' total(1)0e0')); :GyCREATE VIRTUAL TABLE t4 USING fts4(x); INSERT INTO t4(docid, x) VALUES(-2001-01-0100000000, '00'); INSERT INTO t4(docid, x) VALUES(0, '0b'); SELECT rowid FROM t4 WHERE x MATCH '0*'; #FKCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES( -1000000000000000, 'ERT INTO ocid, x) VALUES(0, 0b'); SELECT rowid 8C; XE5CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000.00000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '00' ORDER BY docid DESC; DPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9RENAME'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=c+1; SELECT* FROM t1; >u>3LkDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1)); INSERT INTO t1(docid, c) VALUES (3, 'This strftimet'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; 3KkDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (9, 'This is0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (3, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; QJ'SELECT sqlite_rename_trigger('CRE@T0 4RI 0RIGGER 0x00(WHEN', "a"); pOeCREATE TABLE t102 (i0 TXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS4 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 AND sqlite_compileoption_get(1)); pNeCREATE TABLE t102 (i0 TXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS4 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 AND(t0.i0<>500 AND t2.i0-t1.i0)); 3MkDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test2); INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1));c) VALUES (3, This GROUPtest'); DELETE FROM t1 WHERE docid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; (c(T7CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char ( -1 ||$1,A) ORDER BY b; HSATTACH null AS@ndll;ANALYZE '.S 'CH null AS@ndll;ANALYZE '.S '''PR%CREATE TABLE t00b AS SELECT?6 AS '',$5 AS '', 6 AS ''; SELECT * FROM t00b; !QGCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2* group_concat(?,1)a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1;REINDEXtPmCREATE TABLE t102 (i0 TXT 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));  XCREATE TABLE c1(x INTEGER PRIMARY KEY references p1); CREATE TABLE c2(x INTEGER PRIMARY KEY references p2); CREATE TABLE c4(x INTEGER PRIMA 9WwCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d e'); INSERT INTO ft0 VALUES('& 0 b c d'); SELECT snippet(ft0, random(), '', -1, 1) FROM ft0 WHERE ft0 MATCH 'c'; 0VeCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('text 0ne', '0000', zeroblob(2001-01-011)); INSERT INTO t4(t4) VALUES('integrity-check'); mU_CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("", "n00b00") VALUES('c', 2); SELECT DISTINCT "n00b00" FROM (SELECT "000000"< "n00b00" FROM "000 ORDER BY "000000", "n00b00" LIMIT 2) AS "0000"; RY KEY references p3); CREATE TABLE c4(x INTEGER PRIMARY KEY references p4); CREATE TABLE c5(x INT references p1); CREATE TABLE c6(x INT references p2); CREATE TABLE c7(x INT references p3); CREATE TABLE c8(x INT references p4); CREATE TABLE c9(x TEXT UNIQUE references p1); CREATE TABLE c00(x TEXT UNIQUE references p2); CREATE TABLE c10(x TEXT UNIQUE references p3); CREATE TABLE c12(x TEXT UNIQUE references p4);ANALYZE TABLE x TEe references p3); CREATE TABLE c04(x TEXT COLLATRENCES p5(c,b)); CREATE TABLE c07(x, y, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c08(x, y, FOREIGN KEY(x,y) REFERENCES p6(c,b)); CREATE TABLE c09(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(b,c)); CREATE TABLE c20(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p5(c,b)); CREATE TABLE c01(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(b,c)); CREATE TABLE c02(x TEXT COLLATE nocase, y TEXT COLLATE rtrim, FOREIGN KEY(x,y) REFERENCES p6(c,b)); M0M_\CCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0)) b c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; IkSERT INT0; f[QCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES(' a,b0 b c', 'd +2 dayse f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; _ZCCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES( round(1,1), 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; YCREATE table t0(a,b); INSERT INTO t0 VALUES('0000','00'); INSERT INTO t0 VALUES('00000','xy0'); CREATE TABLE t2(x,y); INSERT INTO t2 SELECT strftime(CURRENT_TIMESTAMP) a, CASE b WHEN 'xy0' THEN null ELSE b END FROM t0; SELECT x, y FROM t2 ORDER BY x; !%wasWITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1) FROM i GROUP BY 1) SELECT x FROM i LIMIT 90; `ATTACH''AS oname; ATTACH':memory:' AS name; ATTACH':memory:' AS inmemmem;DETACH name; ATTACH':memory:' AS TABLE inmem.i0000(y); x_uCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('F0 b c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; x^uCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 b c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; _]CCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('0 /* */ c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; IkSERT INT0; beICREATE TABLE t102 (i00T000 UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102 AS t2KEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); d=SELECT 0x0<200/@000000; cWITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1777777777777777777777) FROM i GROUP BY 1) SELECT x FROM i LIMIT 10; wbsWITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1) FROM i GROUP BY 1) SELECT x FROM i LIMIT 30; {{fDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b char(1), c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40,11, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=A AND a BETWEEN.30 AND 20; {bhICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[]ߤa] **'; gDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b char(1), c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40,11, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT-c FROM t1 WHERE b=A AND a BETWEEN.30 AND 60; 29fXp5CREATE TABLE t3(a EXINTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c,e DESC, b, e DESC, b, c, f, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY d DESC,d DESC, a DESC, a FRoCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 USING ( b); CREATE ERE y1.q=y2.q; SELECT * Dn SELECT sqlite_rename_parent( "REFERENCES 0",'000'ISNULL,'000'); GmSELECT sqlite_rename_parent( "REFERENCES 0@s ",'000'ISNULL,'000'); GlSELECT sqlite_rename_parent( "REFERENCES '@sa",'000'ISNULL,'000'); bkISELECT typeof(group_concat(x,'')) FROM (SELECT '' AS x UNION ALL SELECT julianday(1,1,1)+''); bjICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[^S(-] **'; fiQCREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[^ [a]ߤa] **'; d&Nw!CREATE TABLE t102 (i0 TEXUUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT? FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'LEFT JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0=t1.i0)); IvATTACH round(10e325-01-10e325-0100e325-01-10e325-01011)as MAI11)AIN; 'uUATTACH round(10e021-01,.11)as MAIN; kt[CREATE TABLE t03(n00e); INSERT INTO t03 VALUES (NULL); INSERT INTO t03 VALUES('00NSERT INTO t0TABLE t03(n00e); IN3 VALUES (NULc GROUP BY lowe'); SELECT count( sqlite_version())OR group_concat(1,1)A00 FROM t03 GROUP BY lower(n00e); 2skSELECT sqlite_rename_parent( "<",'000','000'); ;r}SELECT 0000000.0044444444444444444440e044<440000060000;q5CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 3,3,a, '000', 3,a, '000',oid [[H|SELECT sqlite_rename_trigger(' "a","b" "a","b"0 <=AT0 TWHEN',NULL); s{kPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a ZOLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES(' sqlite_comleoption_used(1) -1'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT sqlite_compileoption_get(A -1)/a FROM t0t0006; pzePRAGMA encoding=UTF16le; CREATE TABLE t0t0006( ZOLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES(' sqlite_comleoption_used(1) -1'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT sqlite_compileoption_get(A)/a FROM t0t0006; ySELECT * FROM (SELECT "a"LIMIT round(1,1)) WHERE oid<"b"AS ote_master 1)) WHERE oid LIKE '0LIMIT round(1,1)) WHERE oid LIKE '000000'; ]x?CREATE TABLE t102 (i0 TEXUUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT? FROM t102 AS t0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'LEFT JOIN t102 AS t0 LEFT JOIN t102 AND(t0.i0<>500 AND t0.i0=t1.i0)); aTs3a)YSELECT sum(-9 || 223320016854775808); "ICREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,a,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,a,d,e,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; =CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE LIKE (2001,?1-011,A) ORDER BY b; =CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char ($001,01.011,A) ORDER BY b; =CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (2001,019011,A) ORDER BY b; >SELECT sqlite_rename_parent( " a.b>>>F>>-",'000','000'); >~SELECT sqlite_rename_parent( " a.b>>>>>><=",'000','000'); h}UPRAGMA encoding=UTF16be; CREATE TABLE t0u60u6(VIEWCURRENT_TIMIMARY Y); INSERT INTO t0t VAL (+FT( CREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b",a F,"b""a","ba",oid,a """a","ba"FROM (SELECT count(*)a FROM t0) WHERE a==0;  3CREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b",a F,oid"a","b","ba","b",a F,oid"aa","b",a FROM (SELECT count(*)a FROM t0) WHERE a==0; naPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x)REFERENCES t1 ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13);REPLACE INTO t1 VALUES(13) aGPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES t1 ON DELETE SET DEFAULT 10 CE INTO t1 VALUES(13);REPLACE INTO t1 VALUES(13) m_PRAGMA encoding=UTF16be; CREATE TABLE t0tϐ06VALUS('ab0');VACUUM bIPRAGMA encoding=UTF16be; CREATE TABLE t0tϐ06VALUS('ab0');VACUUM 'v# SELECT * FROM (t0), (t0), (t0, (t05, (t0, ( t05, (t0, (SELECT a,b a,bt0), tE), (t0)a,bt0), tE), (t0) WH), (t0) WtE), (t0) WH),P%CREATE TABLE temp.t0(a, b); ALTER TABLE t0 ADD c; ; ALTER TABLE t0 ADD e;WHE- _DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB&"); INSERT INTO t0 VALUES('ERT - _DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB榦"); INSERT INTO t0 VALUES('ERT $ MDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=asqlite_comVALUES('oneatwoBt0r00')pileoption_used(1'aB"); INSERT INTO t0 VALUES('twoBt0r00'); INSERT INTO t0 VALUES('one0000A0'); CREATE VIRTUAL TABLE t0aux USING fts4aux(t0); SELECT * FROM t0aux; ^?DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(cNSERT INTO t1(docid,c)VALUES(1,'i0 0 test');INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1_0d;d>CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 2, oid, '000' , 2, 3,a, '000' , "a", '000' , 2, 3,a, '000' , "a""b" "ICREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 2, oid, '000' , 2, 3,a, '000' , "","b" ACREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 2, 3, total(1), 2, 3,a, '000' , "I" `6s##;)X #C)X #C)//; #;)X #C)/; #;)/; #; # EDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c a,b); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT zeroblob(1)id, c FROM t1o0d=DROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE docid IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c);ANALYZE INTO t1(docid,c) SELECT zeroblob(1)id, c FROM t1o0d 8{q8'SCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,c,d,b,c,d,e,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=? AND c=? AND d=? AND e=-?; 'SCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,c,d,E,c,d,e,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=? AND c=? AND d=? AND e=??; U/CREATE TABLE t0(a, '"','000J'); CREATE VIRTUAL TABLE f00 USING fts4(content=t0); CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES ('00'); SELECT * FROM t0st WHERE k00000d MATCH ' '; CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bIe, PRIMARY KEY(a,p,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); VACUUM CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bIe, PRIMARY KEY(a,p,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(E, b); 008000 CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bIe, PRIMARY KEY(a,p,c,d,a,E,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b, b); 008000 VU+Vl$]WITH i(x) AS ( VALUES(1) UNION SELECT (x | random()| +1)*102001-01-01 FROM i) SELECT x FROM i LIMIT 203 c#KWITH i(x) AS ( VALUES(1) UNION SELECT (x || +1)TRANSACTION01 FROM i) SELECT x FROM i LIMIT 203 c"KWITH i(x) AS ( VALUES(1) UNION SELECT (x || -1)*102001-01-01 FROM i) SELECT x FROM i LIMIT 203 o!cWITH i(x) AS ( VALUES(1) UNION ALL SELECT CURRENT_TIMESTAMP oid FROM i LIMIT 2001-01-014) SELECT x FROM i; # KCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,c,d,d,e,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=? AND c=? AND d=? AND e=??; 'SCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,c,d,b,c,d,e,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=? AND c=? AND d=+2 days=??; 'SCREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,c,d,b,c,d,e,c,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=? AND c=? AND d=? AND e=+?; &yb)ICREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '02001-01-010'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; ](?CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, ' sqlite_compileollllllllllllption_get(1)running and jlllllllllllllllllllllllllllllumping'); SELECT rowid FROM )'WCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and3jlllllllll{llllllllllllllumping'); SELACT r c&KWITH i(x) AS ( VALUES(1) UNION SELECT (x ||0e0)*102001-01-01 FROM i) SELECT x FROM i LIMIT 203 q%gWITH i(x) AS ( VALUES(1) UNION SELECT (x || randomblob(1) +1)*102001-01-01 FROM i) SELECT x FROM i LIMIT 203  .CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('000 bbb c00', '00b 000'); SELECT * FROM x where x MATCH 'bbb NEAR/6 00*'; s-kCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=ݤ'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'separators=x\xC0');REINDEX rtrim(1,1) h,UCREATE VIRTUAL TABLE t5 USING fts4(tokenize=unicode61 'tokenchars= .'); CREATE VIRTUAL TABLE t6 USING fts4(tokenize=unicode61 'tokenchars=ݤ'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61,'separators=x\xC0');REINDEX +-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,c,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=E AND d=? AND e= strftime(1, random()MATCH -1,1)?; ]*?CREATE VIRTUAL TABLE t0 USING fts4(x,or upper(1); IN INTO t0(docid, x) VALUES(100000000000000000, '00'); INS t0(docid, x) VALUES'0b'); SELECT rowid FROM t0 WHERE x MATCH ' time(1,1,1) min(1,1)0*' ORDER BY docid DESC; Cn#aCA4CREATE VIRTUAL TABLE t0 USING rtree(i a,b a,b2 [a], y1, y2); V31CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 3,3,a, '000', 3,a, '0', 3,3,a, '000', 3,a, '0', 3,a, '000', b, a,b, '0000', b, a,b, '000' FR>2CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 3,3,a, '000', 3,a, '0', oid, '000', b, a,b, '0000', b, a,b, '000' FR#1KCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 3,oid, '000', 3,a, '000', '000' FR1 UNI 0ECREATE VIRTUAL TABLE x USING fts4(y,ALUES000 bbb REGEXP'bbb 000'); SELECT * FROM x where y MATCH 'bbb NEAR/ " min(1,1)a","b"RTUAL TABLE x USING fts4(y,'; /!CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('000 bbb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb OR -1R/& 000';  m=9CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00:00- 00000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY 002; '8SCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,a,c,d,d,d,b,c,d,e,c,d,e,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=b=? AND c=? AND d=? AND? AND d=? AND e=?; 75CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,a,c,d,d,d,b,c,d,e,c,d,e,e,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=?; 6=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES( quote(1),3,4); SELECT c FROM t1 WHERE char (2001,015011,A) OR random() T5-PRAGMA encoding=UTF16le; CREATE TABLE t0t0t(_TIMESTAMPPRIMARY Y); t0t t;t=5CREATE VIRTUAL TABLE t0st USING fts4 (k00000d sqpileopkion_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t strftime(1,1,1,1)ime(1,1,1)"'; s<kCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" GROUP BY (1), "a","b""b", "a","b"HAVING 1) OR ""; 0;eCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b,A'000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 1,a, '000' , 2, 3,a, '000' ,a, '000' , 2, "00b"b" A:CREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(?,1),(?,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, x FROM t1, t2 GROUP BY 1, a,aof e|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ sT rP qM pJ oF nD mB l@ k> j; i8 h4 g0 f+ e' <} ;y :t 9o 8l 7i 6e 5a 4` 3_ 2[ 1V 0Q /L .H *C )@ (8 '6 &2 %/ $* #% " !       } z w r m k i e ` [ U P K H F B = 9 4 . ) $      | w p h c" b! a ` _ ^ ] \ [ Z Y X W V J > = f e a \ X T O L I C @ < 9 7 1 d$ + ) ( ' & % $ # " ! ߬ ެ ݬ ܬ ۬ f2,B]CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runnEEEEEEEEEEED t1 WHERE cog ant jumping'); SELECT rowid n ju 8AuCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'un ;ng `d mping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; 8@uCREATE VIRTUAL TABLE t1 USING fts3(content, toke a,b,porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'r}n jump'; 8?uCREATE VIRTUAL TABLE t1 USING fts3(content, |oke a,b,porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; >1CREATE TABLE t0(a,b,c,d,e int, PRIMARY KEY(a,b,c,d,b,c,a,b,e,d,b,c,e,d,c,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e=0e0 565+F[CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rujlllllYYYYYYYYYYYYYYYYCT rowidYYYYY'); SELECT rowid FR ,E]CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'SSES jumpinROSSES jurREFCROSSES jumpinROSSES jumping'); SROMp'; DACREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rEFCROSSES REFCROSSES jumpinROSSES jumping'); SR; FCCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, '%Yyness and %Yyness and jujumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jump'; DH CREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRINDEET TABLE!00X t00/////////////////////////ter SET TABLE!00(T NULLCURRENT_TIMESTAMPt1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10 GBEGIN; CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID char(1)UNIQUE PRIMARY KEY, Te0tSt00n0 UNIQUE CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT new.Te0tSt00n0 FROM TempT000e LIMIT.1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID<9 OR Te0tId<2; CELECT St00n0 FROM Re00T000e ORDER BY 1; kK[PRAGMA foreign_keys = 1; CREATE TABLE t1(x NTEGER PRIMARY KEY); CREATE TABLE t0( a,by,DE REFERENCES"b" REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t0 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); I vJqCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '00'); INSERT INTO t0(docid, x) VALUES(0, '2001-02001-01-011-010b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-0*-01' ORDER BY docid DESC; _ICCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRINDEX t00/////////////////////////ter SET TABLE!00(a NOT NULLCDElETE_TIMESTAMPt1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PR i\!i4PmCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c); INSERT INTO t4 VALUES(' changes()text0ne', 'CURRENT_TIME0000', 'te'); INSERT INTO t4(t4) VALUES('integrity-check'); *OYCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c); INSERT INTO t4 VALUES('text0ne','CURRENT_TIME0000', 'te'); INSERT INTO t4(t4) VALUES('integrity-check'); NCREATE VIRTUAL TABLE t0 USING fts3(0, sq,ite_compi,eoption_used(1)'0', 'B', 'C'); UPDATE t0 SET ROWid = 5; SELECT docid, * FROM t0; 7MsCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a /* */,e)); SELECT DISTINCT* FROM t0 WHERE glob(1,1)=? AND a=? AND b=? AND c=? AND d=? AND e OR?AND c=? AND d=? AND b=? AND c=? AND d= a?; eLOPRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DE E"b"UNIQUE REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t0 ON UPDATE SET NULL);REPLACE INTO t0 VALUES(13); I }Ht } UCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES(' bbb c00', 'bbb 000'); SELECT * FROM x where x MATCH '^bb*NEAR/6 000'; TCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('000 bbb c00', 'bbb 000'); SELECT * FROM x where x MATCH '^bb*NEAR/6 0-0'; VS1CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d e'); INSERT INTO ft0------------------VALUES('f 0 b c d'); SELECT snippet(ft0, time(1,CURRENT_TIME,1,1) -1, 1) FROM ft0 WHERE ft0 MATCH 'c'; PR%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE-x1.a=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.qt1.i0) AND t0.i0500 AND t2.i0=t1.i0)); oncCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 IN t102 JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t22 JOIN t102 AS t2ON();ON(); w'dTw-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 /* */(------------------3(-------------------------wo'; ?vCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(-----&---------4-------wo'; u9CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' time(1,1,1 1=1'); SELECT * FROM t0st WHERE k00000d MATCH '" =1(1,1,1)"'; .taSELECT * FROM (t0), ( ( t05, (t0, ( a,bt0), tE),t0), (t0, (t05, (t0, ( t05, (t0, ( a, a,b, tEt05, (t0, a,bt0), tE),t0)), (t0)a,bt0), bt0), tE), (t0), bt0), tE)0,sSELECT * FROM (t0), ( ( t05, t0, (SELECT a,bt0),( ( t05, (t0, (SELECT C,bt0), ECT a,bt0bt0), bt0), tE), (t0)a,bt0)E), (t0) WH), ('{z{CREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" GROUP BY "a","b""a","b""a","b", "a","b" LIMIT 1)IS ""; }yCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G ftss3(------------------------------------3(------------3(-------------------------wo'; Tx-CREATE VIRTUAL TABLE t0 USING fts4(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G ftss3(------------------3(-------------------------wo'; 7Zn73}kDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, julianday(1,1,1)); INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1)); INSERT INTO t1(docid, c) VALUES (3, julianday(1,1,1)); DELETE FROM t1 WHERE $ocid IN(1,3); SELECT OPTIMIZE(t1) FROM t1LIMIT 1; h|UPRAGMA foreign_keys = 1; CREATE TABLE t3(x INTEGER PRIMARY KEY); CREATE TABLE t0(y DE REFERENCES""UNIQUE REFERENCES t1(x) ON UPDATE SET DEFAULT); CREATE TABLE t3(y REFERENCES t0 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); I "{ICREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DEFERRED frunANA YYEd jumpinANALYYEd jumping'); ump'; VV'SCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('@00 bbb c00', 'bbb 000'); SELECT * FROM x where x MATCH 'bbb NEAR/6 00 NEAR/6 000'; bIBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 b'); INSERT INTO t0 VALUES('2001-01-01bb cc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH ' substr(1,1,1)0*'; END; ^ABEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 b'); INSERT INTO t0 VALUES('2001-01-01bb cc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH ' like(1,1)0*'; END; 3~kDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, julianday(1,1,1)); INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1)); INSERT INTO t1(docid, c) VALUES (3, julianday(1,1,1)); DELETE FROM t1 WHERE $ocid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 2; pA`ECREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', ~~~~~~~~~~~~~~~~~~~~~~~~~~~'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo OR =1'; CREATE VIRTUAL TABLE x USING fts4(y,ALUES00S000,0,bbb REGEXP'bbb 000'); SELECT * FROM x where y MATCH 'bbb N`AR/6 0::::G fts4(y,'; ;CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('0 b"b c00', 'b"b 000'); SELECT * FROM x where y MATCH 'b`b*NEAR/6 b*NEAR/6 000'; 000'; CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b" 000'); SELECT * FROM x where y MATCH 'b`b NEAR/6 000'; CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b"b 000'); SELECT * FROM x where y MATCH 'b`b,NEAR/6 000'; 7kPmL CREATE VIRTUAL TABLE t0 USING rtree(i0 hiDDELE t0 USNDINCT x2, y1, y2); _ CCREATE TABLE t102 (i0 EXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 /* */JOIN t102 t1 ON t0.i0 LIKE 'a0'CROSS JOIN t102 AS t2 ON(t2.i0= t0.i0 /* */ AND t0.i0=t1.oid AND @1i0=t1.i0));  3CREATE TABLE t102 (i2222P2222222222222222222222220 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURAL JOIN(t102 ONt0 NATURAL JOIN(t102 ONt0LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0' JOIN t102)AS t2 LEFT JOIN t102 ON t1.i0 GLOB 'a0' JOIN t102 A0)); HCREATE TABLE t102 (i222222222222222222222222222220 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)ECREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension1,1)', ' >='); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo OR 1=1'; #gSPRAGMA encoding=UTF16be; CREATE TABLE t0tVIEW(EWTIMESTAMPPRIMARY Y); INSERT It0t VALtmSELECT-'0000' UNION SELECT avg(1) ORDER BY 1 ASC, 1 COLLATE ASC,1 ASC, ASC, 1 ,O, 1 ,OLLATE ASC,1 ASC, 1 COLL SELECT-'0000' UNION SELECT avg(1) ORDER BY 11 ,OLLATE ASC,1 ASC,1 ASC, 1 COLLATE ASC,1 ASC, ASC, 1 ,OLLATE ASC,1 ASCOLL 0eCREATE VIRTUAL TABLE t2 USING fts4(0, notindexed=p00, notindexed= sqet(1)00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi); D  CREATE VIRTUAL TABLE t2 USING fts4( , notindexed=p00, notindexed=poi=p00, notindexed=0, a a000, notindexed=p00, notindexed=00, notindexed=p00, notindexed=00, notindexed=p00, notindexed=poi); c KCREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiD00b[a]i0 hiD00bTINCT x2, y1, y2); TINCT x2, y2);  BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>1 OR Te0tID=1 OR Te0tId>1; Te0tId=2; CEFROM Re00T000e ORDER BY 1; Y Y0eCREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' strftime(1,1,1,1) strftime(1,1,1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH '" 1=1*1,1)"'; `EDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aBߟ t0; CREATE VIRTUAL TABLE t0 USIHHHHHHH"); INS BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER INSERT ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT new.Te0tSt00n0 EXCVEMENTe LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) SELECT ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID>1 OR Te0tID=1 OR Te0tId>2; Te0tId=2; CEFROM Re00T000e ORDER BY 1; +:g+fQWITH i(x) AS ( VALUES(1) UNION ALL SELECT-randomblob(1)i ORDER BY 1) SELECT avg(1) x FROM i ,I;I; k[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 x FROM i ,I,I ,i,i ORDER BY 1) SELECT x FROM i ,I,I? 10; ?CREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G fts3(---------------4------wo'; ACREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE /* */ (0); SELECT total(1)p FROM y AS y1, y AS1, y y y1; O#CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' strftime(1,1,me(1,1,1,1) strftime(1,1,11)001,1) strftime(1,1,1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH '" 1=1(1,1)"'; B CREATE VIRTUAL TABLE t0st USING fts3 (k00000d); INSERT INTO t0st VALUES (' strftime(1,1,1,1) strftime(1,1,1,1)000'); SELECT * FROM t0st WHERE k00000d MATCH ' strftime(1,1,1,1)" 1=1(1,1)"'; 9 09s kCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and ll; INSERiO and ll; INSERiO t1(rt1(rolllllllllllllllllll; INSllllllllllumping'); SELECT roERT INTO tY7CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and l_; IN1(ro{SERiO t1(ro{llllllllllllllllll; INCllllllllllumping'); SELE_T roERT INTO tT-CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and l; INSERiO t1(rolllllllllllllllllll; INSllllllllllumping'); SELECT roERT INTO t.aCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ryyeimplTEd juyymping'); SELECT rowid FROM t1 WHERE content ump'; fQWITH i(x) AS ( VALUES(1) UNION ALL SELECT coalesce(1,1)i ORDER BY 1) SELECT avg(1) x FROM i ,I;I; $9`v$-%_CREATE VIRTUAL TABLE t0 USING fts3tokenize( "a","b" "a", "a","b", '', '0 TAB}LE t3 U''''''''''''''''''''''''''A', '000''''''''''''''''''''''''0'); $?CREATE VIRTUAL TABLE t0 USING fts3tokenize( 'a',"b","a", "a","b", '', '0 VIRTUAL TAB}LE t3 USING fts3tokenize(simple, A', '0000'); f#QBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(orderdesc); INSERT INTO t0 VALUES('00 b'); INSERT INTO t0 VALUES('2001-00-01bb cc'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH ('cc 00'); SELECT doci'0*';; U"/CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000.00000000000, '01'); INSERT INTO t0(docid, x) VALUES(?, '2001-01-010b'); SELECT rowid FROM t0'0*01' ORDER BY docid DESC; C! CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jlllllllllllllltreEd sumng and jlllllllllllllltreEd sum((1)Gllllumping'); 8pH%*OCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('C00 a,b b"BLE x USING fts4(y,0)b c00', 'bbb 000'); SELECT * FROM x where y MATCH 'b`b NEAR/6 C00'; )%CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('C00 a,b b"b c00', 'bbb 000'); SELECT * FROM x where y MATCH 'b`b NEAR/0 C00'; (%CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('C00 b,b b"b c00', 'bbb 000'); SELECT * FROM x where y MATCH 'b`b NEAR/6 C00'; D' CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d e'); INSERT INTO ft0 VALUES('b /b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'a''b''c'; D& CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d e'); INSERT INTO ft0 VALUES('b 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -0, 2) FROM ft0 WHERE ft0 MATCH 'a''b''c'; WDla/GCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' time(1,1,1)ion(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' time time(1,1,1)(1,1,1) -1foo 1=1 1=1'; T.-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a= /* */b=C AND ~~~~~~~~~~~~~~~d=E AND e OR c=? AND d=e AND b=? AND c=? AND d=E AND e =? AND c=? AND ~~~~~~~~~~~~~~~d=E AND e OROR?; -CREATE TABLE sqlit _SPLECT= /Blite_compileoptio AND b=? AND ? AND d=E AND e =? ^ND c=? AND ~~~~~~~~~~~~~~~d=E AND e OROR?; ,CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(E,b,c,d,e)); SELECT * FROM t0 WHERE a AND c=B AND d=E AND b== /* */b=C AND c=? AND d=E AN %+OCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE@a AND c=B AND d=E AND b== /* */b=C AND c=? AND d=E AND b=? AND c=? AND d=E AND e OR?;    2CREATE TABLE t102 (RIGHTi002 A BEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 AS tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)); 1CREATE TABLE t102 (VIEWi002 A BEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 AS tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)); \0=CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'oo'); INSERT INTO ft VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' load_extension(1,1)foo -1 @1 1=1'; p 6CREATE TABLE x( aӝq); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS x1, x AS x2 USING (q)=x2.a;2 WHERE y1.q=y2.q; SELECT * l5]#REATE TABLE x( a,ba,q); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS x1, x AS x2 USING (q)=x4/CREATE TABLE t102 (i0T102 VUNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 AS t6NDE JOIN t102 JOIN t102 FT JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)); 3 CREATE TABLE t102 (i0OR02 A BEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 AS tANDE JOIN t102 FT JOIN t102 ON t1.i0 GLOB 'a0'LEFT JOIN t102 t JOIN t102 A0)); --V81CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDINi0 hiDDENDINCTCT x2, y1, y2); v7qDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(102001-01-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(c F; zcbXzp@eCREATE TEMP TABLE t0001(aͫ00ӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?t0?????*[000'; h?UCREATE TEMP TABLE t0001(aͫ00ӝ,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*????0'; >/SELECT-'0000'ASC UNION SELECT avg(1) ORDER BY 1,ASC,1 ASC, ASC,1 ASC, ASC, 1 COLLATE A1 COLLATE ASC,1 ASC, ASS, 1 COLLATE ASC,1 ASC, 1 COLL n=aWITH i(x) AS ( VALUES(1) UNION ALL SELECT total(1) FROM i ORDER BY 1) SELECT 1=1/-x FROM i LIMIT 14 -7; n<aWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/-x FROM i LIMIT 140-7; ;CREATE TABLE t0(a,b,c i,d,e, PRIMARY KEY(a,b,b,e,a,c,b,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND b=? AND c:SELECT sqlite_rename_parent( " >=?????????",'000','000'); Y97CREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDi0 hiDDENDINCT x2INCT x2, v1, y2); 8CuCREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3'); INSERT INTO t2 VALUES(NOT'00 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet wa0 r000 to 0a00 AUTOINCREMENTcompileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('N ,8BuCREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3'); INSERT INTO t2 VALUES(NOT'00 and'); INSERT INTO t2 VALUES('W0000''s fleet sai000 A s0o00 0l00 up and t0 sqlite_compileoption_used(1)leet AUTOINCREMENTa00 AUTOINCREMENTcompileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('N +jAYCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 NATURAL JOIN t102 AEFT JOIN t102 t1 ON t1.i0 IN (1) JOIN t102 AS t2 ON(t2.i0=+++++++++++++++++++00 AND t0.i0=t2.i0)); SERT INTO t2 VALUESto a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 m00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('tU 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('0000000UES('o00SERT INTO t2 VALUESto a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES(' sqlite_compileoption_get(1)e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 m00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('tU 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('0000000UES('o00SERT INTO t2 VALUESto a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0000000. William t000 m00'); INSERT INTO t2 VALUES('to 0a00, a f00 m0000 to 0h0 e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 m00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES(&fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('tU 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VAES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S0000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('0000000UES('o00 ++IHCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE time(1,1,1)MATCH-x2.a; SELECT total(1)p FROM y AS y1, y AS1, y AS y1, y AS y1, y AS y1, y AS y y1; *GYCREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t s s "a"ime(1,1,1,1 "a","b"(1,1,1 "a"me(1,1,1)"'; WF3CREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,c)) WITHOUT ROWID+X VE1DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBt blob00'); INSERT INTO t0 VALUES('one0000A0'); &R D9CREATE VIRTUAL TABLE t2 USING fts4(prefix='5,2,3'); INSERT INTO t2 VALUES(NOT'00 and'); INSERT INTO t2 VALUES('W0000''s fleet saiite_compileoption_used(1)leet wa0 r000 to 0a00 AUTOINCREMENTcompileoption_get(1)Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('N - |jLYWITH i(x) AS ( VALUES(1) INTERSECT SELECT randomblob(1)i GROUP BY 1) SELECT avg(1) x FROM i ,I, i ,I; jKYWITH i(x) AS ( VALUES(1) INTERSECT SELECT-randomblob(1)i ORDER BY 1) SELECT avg(1) x FROM i ,I, i ,I; JCREATE TABLE "0000" ("000000" V0 "a","b""a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE+(SELECT "000000", "n00b00" FROM "0000" GROUP BY "a","b""a","b", "a","b""a","b", "a","b" LIMIT 1)IS ICREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE+(SELECT "000000", "n00b00" FROM "0000" GROUP BY "a","b"LIKE"b", "a","b""a","b", "a","b" LIMIT 1)IS w+ QECREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb """""""""" OR - sdrft OR 0'; 2PiCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('000-bbJ c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb O -trft OR - stR -trft OR - strft OR 0'; GOCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f /b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH 'a @1''b''c'; GNCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -0, 2) FROM ft0 WHERE ft0 MATCH 'a @1''b''c'; MWITH i(x) AS ( VALUES(1) INTERSECT SELECT S(1) INTERSECT SELECT randorandomblob(1)i ORDER BY 1) SELECT avg(1) x FROM i ,I, i ,I;   VCREATE VIRTUAL TABLE t0 USING rtree(i0 hiDDEN INCTIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII x2 sqlite_compileoption_get(1), y1, y2); `UECREATE VIRTUAL TABLE t0 USING rtree(i0 hiDDEN INCT x2 sqlite_compileoption_ "a","b"y1, y2); TCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2oo -2001-01-01-01-011 -200-01001-01-01-01-011 -200-011 -2001-01-011 -1'; {S{CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('foo11 -2001-01-011 ', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2001-01-01-01-011 -2001-011 -2001-01-011 -1'; kR[CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES('2001-01-01nsion(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2001-01-01-01-011 -2001-011 -2001-01-011 -1'; :t>[CREATE TABLE t0(a, b); SeLECT DISTINCT "ba","b",count(*)FROM (SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "a","b", *,"ba","","y","b",oid,"b""a","ba","b",count(*)a FROM t0) )FRO>'(S; PZ%CREATE TABLE t0(a, b); SeLECT DISTINCT "a","ba","bnt(*)FROM (SEL",count(*)FROM (SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","b",count(*)FROd,"b""a","ba","b",count(*)a FROM t0) )FROM (S; BY CREATE TABLE t0(a, b); SeLECT DISTINCT "a","ba","b",count(*)FROM (SELECT "a","b", *,"ba","b",count(*)FROM (SELECT a,b,"b""""a","ba","y","b",oid,"b""a","ba","b",count(*)a FROM t0) )FROM (S; BX CREATE TABLE t0(a, b); SeLECT DISTINCT "a","ba","b",count(*)FROM (SELECT load_extension(1,1),count(*)FROM (SELECT "ba","b""""a","ba","y","b",oid,"b""a","ba","b",count(*)a FROM t0) )FROM (S; BW CREATE TABLE t0(a, b); SeLECT DISTINCT "a","ba","b",count(*)FROM (SELECT "a","b", *,"ba","b",count(1)FROM (SELECT "ba","b""""a","ba","y","b",oid,"b""a","ba","b",count(*)a FROM t0) )FROM (S; gT^gs_kCREATE 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" JOIN t102 ASANDE JOIN t102 tANDE JOIN t102 FT JOIN t102 gNEFT JIN t); k^[WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO, a.b, * ,I,i,i ORDER BY 1) SELECT x FROM i ,I,I? 10; ] /*I**d********D**%?*******+******I**d*********VVVVVVVVENVVCPVVV\",6*FRELKEb"b"tI"b"H",r""4"7Udocid0aR8@(\UCREATE TABLE t0(a b); SELECT DISTINCT "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT DISTINCT"ba","b",oid,"b",oid,"b""a"&"ba","b", *FROM t0) WHERE a==0; rr `DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10*0012001501-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(c FROM EN 30 AND 60; xauDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o4*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WH; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(c FROM EN 30 AND 60; x{ixme_DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹ˹0st9ٹ˹ٹ˹ٹ˹t0ٹ˹ù "a"kenize=un"); RT d?DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB¹ t0ٹ˹ٹ˹ٹ˹˹ٹ˹t0ٹٹ˹t0ٹ˹˹ù "a"kenize="); RT mc_DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹ˹ٹ˹ٹ˹9ٹ˹t0ٹ˹ù "a"kenize=un"); RT bCREATE TABLE t000(a0 a,ba,b,,I, a,b0); CREATE TABLE t002(c000,INT0000); SELECT c000,* FROM t000 NATURAL JOIN t000 AS c000; -_iCWITH i(x) AS ( VALUES(1) UNION ALL SELECT AU. * ,Ii ORDER BY 1) SELECT x FROM i I,I? 10; Wh3CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 6) FROM ft0 WHERE ft0 MATCH 'a''b''!''b''b''a''b''c''c'; dgMCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE+x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y y1, y S1, y y1AS1, y y1, x S1, y AS y1, y AS y1, y AS y1, y AS y y1; fDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹ˹Fٹ˹ٹ˹ٹ˹t0ٹ˹ùٹ˹t0ٹ˹ù "a"@enize=un"); RT  % l1CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH ' sqlite_compileoption (1)d(1)compileoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';kk[CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 1=1 c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,1 -12) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b''a''b''c'; hjUCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 min(1,1)ite_compileoption_used(1)f 1=1 c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 (1)a''b''a''b''c'; 9owCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a,b a, b, *FROM t1 UNION SELECT *,a, a,b, '000',a, @1R,b,'000' FROM t1 ORDER BY U, ,S, '000', b, ,S, '000', b,'002' FR*nYCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d (1)a''b''a''b''b'''); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH ' sqlite_compileoption_used(1)compileoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';2miCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b sqlite_compileoption_get(1) d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH ' sqlite_compileoption_used(1)compileoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c'; q/t)CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SeLECT total(A),","a FROM y A, y ASy1, y AS1, x AS; sCCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a"+ a,b FROM y AS y1, y A, y AS y1, y A1, x A, y AS y1, y AS y1, y AS y y1; r;CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a"% a,b FROM y AS y1, y AS y1, y AS1, x A, y AS y1, y S y1, y AS y y1; q+CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) Fa; SELECT total(A),"a" a,b FROM y AS y1, y AS y1, y AS1, x A, y A, y y1, y AS y y1; tpmCREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b f'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH 'compileoption_used(1)f 0 OR)a''b(1)f 0 b c a''a''b''c'; "vEyCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1111111111111111111111111111) Fa; SELECT total(A),"a" a,b FROM y AS y1, y A, y AS y1, y A1, x A, y A, y ASA, y AS y1, y y1, y AS y y1; Tx-CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A) "a",$a,b FROM y AS y1, y AS1, x AS yy1, y AS y1, y A1, y AS y1, y AS y1, y AS y1, y AS y1, y AS y y ;w{CREATE TABLE t000( ''c0 UNIQUE,,I, a,c0); CREATE TABLE t002(c002,INT0000); SELECT c000.* FROM t000 t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; (vUCREATE TABLE t000(c0 a,c000,NT0,ba,b,,I, a,b0); CREATE TABLE t002(c000,INT0000a,b000,NT0,ba,b,,I, a); SELECT c000.* FROM t000 NATURAL JOIN t002 AS c000;VACUUM Zu9CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1,12) FROM ft0 WHERE ft0 MATCH ' -1pileoptTe0tSt00n0)f OR AU'; !j!n}aPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE ASC˹׶ζ13 USING fts3 (1);VACUUM VAL0|eDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1,X'0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c, ' ') FROM t1 {ECREATE TABLE t000( ''c0, UNUE,NUE,,I, a,c0); CREATE TABLE t002(c000,I,J0000); SELECT c000,* FROM t002 LAL JOIN t000 AS c00 NATURAL JOIN t000 AS c00 NATS z)CREATE TABLE t000( 'a''b'c0, a,c0); CREATE TABLE t002(c000,I,J0000); SELECT c000,* FROM t002 LAT JOIN t000 AS c00 NATURAL JOIN t000 AS c00 N [;CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(b,e,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,1,10000); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,6,20000);REINDEX uoWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(2001 || 011) x FROM i LIMIT 10; uoWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(2001.01-011) x FROM i LIMIT 10; u~oWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(2001-01-011) x FROM i LIMIT 30; ll3CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,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 200 10 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; 8; uoCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,b,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES(NULL,'t4all','600000 160000 40000 10000 2000 200 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; @ PARTICIPANTID ); CREATE TABLE A00000000000000000(L0 UNIQUE, Q00 int not null, N000000 text(50)UNIQUE not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) Anull, 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, P0000000 B0000000 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 t Cext(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, C00000000 D00 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) nu Ell, 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, F00 F00000 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, C G00000000000 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 no Ht 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 nu Ill, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID ); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 te0000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 8pWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -144444444444444444444444&44*441) i GROUP BY 1) SELECT x FROM i LIMIT 10; +BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, K+BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text(50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, ? L PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 UNIQUE, Q00 int not null, N000000 text(50)UNIQUE not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) Mnull, 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, P0000000 N0000000 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 t Oext(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, C00000000 P00 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) nu Qll, 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, F00 R00000 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, C S00000000000 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 no Tt 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 nu Ull, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I00000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID ); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 te0000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(100), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(0B) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(502001-01-010), randomblob(602001-01-010)FROM tt; IN00), randomblob(600) FROM tt;INSERT INTO tt SELECT randomblob(500), andomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; vrv{ {WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, CURRENT_TIME) x FROM i LIMIT 30; { {WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, CURRENT_TIME) x FROM i LIMIT 90; { {WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, CURRENT_TIME) x FROM i LIMIT 10; PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =10; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(12001-01-0100), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(502001-01-010),$randomblob(602001-01-010) FROM tt; IN00), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM 4VS+SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('2001-01>>>>>>(>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-01f00', '000'); hUWITH i(x) AS ( VALUES(1) UNION ALL SELECT min( @1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 16 Z9CREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE b IN (SELECT zeroblob(A)> randomblob(1)b FROM t0 ORDER BY b); LCREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE /* */(SELECT zeroblob(A)>b FROM t0 ORDER BY b); { {WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, CURRENT_TIME) x FROM i LIMIT 200 { {WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, zeroblob(1)) x FROM i LIMIT 10; +)R{ +m_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1)LIKE +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT hex(1) m_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1)LIKE +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10 -5; m_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1)LIKE 0+1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 10 -1; S+SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('2001#01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>####################>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-01f00', '000'); S+SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('201-0B>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-01f00', '000'); S+SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('2001-01>>>>>>>>>> >>>>>>(>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-01f00', '000');  PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|~ round(A,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; m_WITH i(x) AS ( VALUES(1) UNION ALL SELECT avg(1)LIKE +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 200-1;  PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,5)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,3)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|~c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,2)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,8)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  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,?)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;  5PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b| randomblob(1)| round(A,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  !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, -11)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;  "PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 6, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(1,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT DISTINCT-1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; ff$PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00UTF16le; CREATE TABLE t1(x,a,', '16bndomblob6666666666666666666666666666(1)a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) #PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||c||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(1,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT DISTINCT-1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; xA'CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY randomblob(1), oid, '000', b, a,b, '000', 3,a, '000', b, a,b, '000' FRA&CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 GROUP BY 3,3,a, '000', oid, '000', b, a,b, '000', 3,a, '000',$b, a,b, '000' FR% PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00UTF16le; CREATE TABLE t1(x,a,', ' r16bomblob666666666666666666666666(1)a''b''00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(B,B) ; ;P+%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a; SELECT DISTINCT "a",""p FROM y AS y1y1, y AS y1, y AS y1, y AS y , y AS1, x AS y1, y AS y1, y AS y1, y AS y y1; *CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '01'); INSERT INTO t0(docid, x) VALUES(20012001-01-01-01-010, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '*2001-01-01' ORDER BY docid DESC; v)qCREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '01'); INSERT INTO t0(docid, x) VALUES(0001-01-010, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '*2001-01-01' ORDER BY docid DESC; o(cCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VICATing Gnnning ant jgnt MATing Gnt juBETWEEN VALUEERE contenEEN VALUEERE content MATing Gnt MATing Gnt jumping'); CCH P,KP;0{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(a, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, b,$c, b, b +/[CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(a, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c b b .CREATE VIEW x1 AS SELECT 100'', 200 AS ''LIMIT a,b+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 30 ]-?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,e,e,f)); INSERT INTO t5 VALUES(1,1,1,1,?,10000); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX P,%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE+x1.a; SELECT DISTINCT "a","b"p FROM y AS y1y1, y AS y1, y AS y1, y AS y , y AS1, x AS y1, y AS y1, y AS y1, y AS y y1; AFH4SELECT sqlite_rename_parent( " a.b>>>>>>>>%%%%%%%%%%%%%%%%%%%%%%%%P%%%%%%%%%%%%%%%%>>>>>.>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%??????????????????%%%%>>>>>>v%%%%%%",'000','000'); e3OCREATE VIRTUAL TABLE ft0 USING fts4(x, y); INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoption_gmt(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.ux0 USING fts4aux(main, ft); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING ft0 w2sPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,10201,01),b)OR a='0' ORDER BY +x; ;1{CREATE TABLE t3(a INTEGER PcontentKEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(a, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, b, c b Iz8yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE (1)=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yz7yCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE (1)=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, x y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y06eCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'riyYing aAyyeing aANALYZEing'); SELECT M t1 WHERE cot MATCH 'runp'; 35kSELECT sqlite_rename_parent( " a.b>>>>>>>>>>%%%%%%%%%%%%%%%%P%%%%%%%%%%%%%%%%%%%%%%%%%%%% last_insert_rowid()%%%%%%%??????????????????%%%%>>>>>>|",'000','000'); ; CREATE TABLE x(a char(1),b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE (1)=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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~:CREATE TABLE x( [a]a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE (1)=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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, yv9qCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, changes() FROM x AS x1, x AS x2 WHERE (1)=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y y1, y >CREATE TABLE x(a,b A, y); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE (1)=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y , y y1, y S1, y AS y1, y}=CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE (1)=x2.a -1; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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}<CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE NOT (1)=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, 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 m@#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''on_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a"0 (1)a''b''a''B''b''ption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';?#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f"0 (1)a''b''a 0 (1)a''b''a''b''b''on_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a 0 (1)a''b''a''B''b''ption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c'; mB#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES('2001-01-01lite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''on_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a 0 (1)a''b''a''B''b''ption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c';A#CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''on_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''option_used(1)f 0 (1)a''b''a 0" (1)a''b''a''B''b''ption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c'; pQp]D?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(e,b,c,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,1,?,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 +C[CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' 0 c d sqlite_compileoption_used(1)f 0 b c a,b d'); SELECT snippet(ft0, '', '?', '', -1, 8) FROM ft0 WHERE ft0 MATCH 'compileleoption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''on_ster(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'' (1)a''b''a 0 (1)a''b''a''b''ption_used(1)f 0 (1)a''b''a 0 (1)a''b''a''b''b''c'; d4dLFPRAGMA 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(22001E81-6100);REINDEX HEPRAGMA 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(2201-6100);REINDEX ,eJOCREATE VIRTUAL TABLE ft0 USING fts3(x, y); INSERT INTO ft0 VALUES('a 0', ' sqlite_compileoption_gmt(1)c d'); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.ux0 USING fts4aux(main, ft); INSERT INTO ft0 VALUES('e','c d'); INSERT INTO ft0 VALUES('a a', '0 0'); CREATE VIRTUAL TABLE temp.aux0 USING fts4 TI-CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDADDADD0; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON (x=99) ORDER BY x;VACUUM {H{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -1.00 ||X-01) x FROM i LIMIT 1002{G{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1 || .00 ||X-01) x FROM i LIMIT 10; [ s[M-CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' loa,1)', 'foo'); INSERT INTO ft VALUES('fd_extension(1,1)', 'foo'); INSERT INTO ft VALUES('xtension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' @1';f L-CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c,a,a,e,e)); SELECT * FROM t0 WHERE a=E AND b=? AND c=? AND d=A AND b=? AND c=? AND d5,2.05,3.005); SELECT printf('0%p0%s',a,b,c) FROM t1 GROUP BY 00001; qECREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* */( nullif(1,1)) ""; SELECT $tota|(SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Su1, y y1, y S1, y ASy1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x A, y A, y , y y, y y1, y S1, y AS y1, y \\LxPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE sqlite USING fts4;VACUU>wSELECT 10 EXCEPT SELECT ltrim(200e011-011,2001-.1-01-11)YvCREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT x, y FROM t01 UNION ALL SELECT x, y FROM t01 UNION ALL SELECT x, y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT * FROM v0 WHERE -1'0'I)uCREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT x, y FROM t01 UNION ALL SELECT x, y FROM t01 UNION ALL SELECT x, y FROM t02; CREATE INDEX t000 ON t01(x); CREATE INDEX t00x ON t02(x); EXPLAIN QUERY PLAN SELECT * FROM v0 WHERE x>'0'I) rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I 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'); \y=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, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr  rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrkrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrbrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr{rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrvrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, ' U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0', 'V 0 E Q A'); INSERT INTO x1LUES(13, 'S B 0 0', 'U 0 N I 0 M', 'N 0 K 0 C', 'A H T Q n'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTOd,a,b,c) VALUES(15, strftime(1,1,1,1)M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C'); INSERT INTO x1(docid,a,b,c) VALUES(18, 'ASELECT Q', 'L 0 0 Y 0', 'G 0 M R ); INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', 'L Z 0 N 0'); Tz-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, 'rrrrrrrrrrrrrrrrrrrrrrrrrrr2rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr}rrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I 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'); yyw{sCREATE 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', 'rrrrrrrrrrrrrrrrrrrrrrrrrrrM 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr_rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr 0 JrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L total_changes(), '0 Q A N x1(docid,a,b,c) VALUES(0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O '); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q n'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H','A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', 'V J P E C')ES(0, 'H 0 0 T', 'V M 0; INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N'); INSERT INTO x1(docid,a,b,c) VALUES(19, 'T 0 0 P 0', '0 V Y B X', '* X|5CREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 Y K', '0 Z N'); INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr`rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I 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'); o}cCREATE 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, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrRT INTO x1(docid,a,rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrXrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr glob(1,1)rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I 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', '0U 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 Y 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 W'); INSERT INTO x1(docid,a,b,c) VALUES(13, '_ 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'); f~QCREATE 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, 'rrrrrrrrrrrrrrrrrrrrrrrVALUES(1, rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr T P F W HES(2, '0 M O I', 'R 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUT [a], 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C ñN X S', ' Y'); INSERT INⱱ5@ʱDROPZ', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z : INTO i1(docGd,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0' 'B 0 I H Y'); INUERT INTO x1(docid,, 'W B 0 Y N', 'V J P E C'); INSERT INTO x1(docid,a,b,c) VALUES(18, 'A 0 0 O Q', 'L 0 0 Y 0', 'G 0 M R N'); INSERT INTO ocid,a,b,c) VALUES(19, 'T 0 0 P 0'w '0 V Y B X', 'L Z 0 N 0'); YY3CREATE VIRTUAL TABLE x1 USING FTS4(a,b, [); INSERT INTO x1T 'V M 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0 U W S E'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,ab,c) VALUEE(4, 'J C Y N', 'R 0 0 XV', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L X L U', '0 F N X S', ' Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W LJM R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W0 X 0 U', 'V 0 E Q A'); INSERT INTO x1(docd,a,b<<<<<",'000'ISNULL,'000'); /eSELECT 0x0<200/@000000;SELECT 0x0<200/@0000 %WITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1 || 777777777777777777777) FROM i GROUP BY 1) SELECT x FROM i LIMIT 10; 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; WITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(-777777777777777777777) FROM i GROUP BY 1) SELECT x FROM i LIMIT 10; WITH i(x) AS ( VALUES(1) UNION ALL SELECT-sqlite_compileoption_get(1777777777777777777777) FROM i GROUP BY 1) SELECT x FROM i LIMIT 10; WITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1777777777777777777777) FROM i GROUP BY@1) SELECT x FROM i LIMIT 10; WITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(1/77777777777777777777) FROM i GROUP BY 1) SELECT x FROM i LIMIT 10; rgGrQ'BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES(' avg(0)00 b'); INSERT INTO t0 VALUES('bb c'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH '00'; END; IPRAGMA encoding=UTF16le; CREATE TABLE t0tϐS('ab0'); IPRAGMA encoding=UTF16le; CREATE TABLE t0tϐS('ab0'); =CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (2001,819011,A) ORDER BY b; dMCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2(a, b); CREATE VIEW a002 AS SELECT DISTINCT*, "a","b"AS m FROM t2 ORDER BY a; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y ORDER BY a; EXPBAIN LSELECT sqlite_rename_parent( "2001-01-01-NCES 0@sa",'000'ISNULL,'000'); GSELECT sqlite_rename_parent( "REFERENCES 0@s!",'000'ISNULL,'000'); +r0#eCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'separator leparator lioely(1)'); SELECT row WHERE cot MATCH 'runp'; G"CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a", trim(1,1)"b"FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 3,a,a, '000' , 2, '000' , 2, 3,a, '000' ,a, '000' , 2, "a","b" 5!oPRAGMA foreign_keys = 1; CREATE TABLE t1( INTEGER PRIMARY KEY DEFAULT 10 REFERENCES t1(x) ON DELETE SET DEFAULT REFERENCES t1 ON DELETE SET NULL);REPLACE INTO t1 VALUES(13); I Q 'BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES(' avg0 b'); INSERT INTO t0 VALUES('bb c'); INSERT INTO t0 VALUES('cc 00'); SELECT docid FROM t0 WHERE t0 MATCH '00'; END; ||(&UCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH ' group_concat(1,1)"""""; INSERT INTO t1""""""run """"""""""""""""""""""run """""""""""""""""""""""""""""""""""""""""jump'; (%UCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run """""""""""""""; INSERT INTO t1""""""run """"""""""""""""""""""run """""""""""""""""""""""""""""""""""""""""jump'; ($UCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run """""""""""""""""""; INSERT INTO t1""""""run """"""""""""""""""""""run""""""""""""""""""""""""""""""""""""""jump'; ||()UCREATE VIRTUAL TABLE t1 USING fts4(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run """""""""""""""""""; INSERT INTO t1""""""run """"""""""""""""""""""run """""""""""""""""""""""""""""""""""""""""jump'; ((UCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run " glob(1,1)""""""""; INSERT INTO t1""""""run """"""""""""""""""""""run """""""""""""""""""""""""""""""""""""""""jump'; ('UCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'r a,b""""""""""""""""""; INSERT INTO t1""""""run """"""""""""""""""""""run """""""""""""""""""""""""""""""""""""""""jump'; /&/l-]CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT *,+a,b a,b,"b"AS m FROM t2 ORDER BY a; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3), CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS LEF102 JOIN t102 AS tT JOIN t102 t1 ON t1.i0 GLOB 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON(t1.i0= t0.i0 OR t1.i0= t0.i0 OR tT.i0=t1.oid); g+SCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a /* */,e)); SELECT DISTINCT* FROM t0 WHERE glob(1,1)=? AND a=? AND b=? AND c=? AND d=? AND e OR?AND c=? AND d=? AND b AND d=? AND e OR?AND c=? AND c=? AND d=? AND c=? AND d=? ANND e OR?; k*[PRAGMA foreign_keys = 1; CREATE TABLE t1(x INTEGER PRIMARY KEY); CREATE TABLE t0( a,by,DE R,FERENCES"a","b" REFERENCES t1(x) ON DELETE SET DEFAULT); CREATE TABLE t3(y REFERENCES t0 ON UPDATE SET NULL);REPLACE INTO t1 VALUES(13); I mi1WCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t1.i0< t0.i0 /* */ AND t0.i0=t1.i0 AND t0.i0=t2.i0) AND t0.i082,& ~xrlf@:4.(" `ZTNHB<60*$ = : 4 / * & "        a ڱ[ ٱU رT ױS ֱO ձI ԱC ӱ= ұ8 ѱ4 б0 ϱ+ ̱& ɱ% Ʊ$ ñ# "          y q k j i h e a ] [ W O I C = 8 4 1 - ) & #        ~   | y v u t r p m i g f e d c b } | { z y ~x }t |p {m zj yg xc wa v_ u\  tW sT rP qM pJ oF nD mB l@ k> j; i8 h4 g0 f+ Rx" =CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b" 000'); SELECT * FROM x where y MATCH 'b`b NEAR/B 000'; <CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b"b 000'); SELECT * FROM x where y MATCH 'b`b,NEAR/B 000'; B; CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('@00 bbb c00', 'bbb 000'); SELECT * FROM x where x MATCH 'bbb NEAR/6 00 bbb NEAR/6 00 NEAR/6 000'; V:1CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('@00 bbb c00', 'bbb 000'); SELECT * FROM x where x MATCH 'bbb NEAR/6 00 llllllllllllllllllllllllllllll NEAR/6 00lll NEAR/60'; *9YCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('@00 bbb c00', 'bbb 000'); SELECT * FROM x where x MATCH 'bbb NEAR/6 00 00 NEAR/6 000'; D_|dD CCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,a,a,c,c,b,c,c,c,c,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND c?CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b a,b', 'b`b*NEAR/6 000''b"b 0a0'); SELECT * FROM x where y MATCH 'b`b*NEAR/6 000'; p@zIACREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE /* */ (0); SELECT total(1)p FROM y AS y1, y AS1, y y y1; =HDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtOĽ00'); INSERT INTO t0 VAL BG DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtϽOĽ blobν00'); INSERT INTO t0 VAL F%CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,a,b,c,c,b,c,c,c,c,c,c,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND ceCREATE TABLE t0(a, b); SeLECT DISTINCT "a","ba","b",count(*)WHERE(SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","ba","y","b", round(1,1)"ba","b",count(*)a FROM t0) )FRO; udoCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES('2001-01-01nsion(1,1)', 'foo'); INSERT INTO ft VALUES('2001-01-01foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2001-01-01-01-011 -2001-011 -2001-01-011 -1'; cECREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR"""""" OR - sdrft OR 0'; 5boCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('0bb c00', 'bbb 0 0'); SELECT * FROM x where y MATCH 'bbb OR - strft OR L OR L strft* OR 0'; strft* OR 0'; bHhDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹٹ˹ٹ˹=un"); RT 8guCREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹٹ˹ٹ˹ "a"kenize=un"); RT ^fADROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹٹ˹ٹ˹ "a"kenize=un"); RT rr iDROP TABLE IF EXISTS t0; CREATE TABLE t1(a TEXTGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+57777%777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(c FROM EN 30 AND 60; ss jDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES( -11020012001-01-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+57777-777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a);REINDEX; SELECT(OM EN 30 AND 60; qq kDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES( -11020012001-01-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+12001-01-01,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+577775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a);REELECT(OM EN 30 AND 60; K;KuqoWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(2001.01-011) x FROM i LIMIT 30; upoWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(2001.01-011) x FROM i LIMIT 90; ;o{CREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1444444444444444444444444) Fa; SELECT(A),"a" a,b FROM y AS y1, y A, y AS y1, y A1, x A, y A, y ASA, y AS y1, y y1, y AS y y1; _nCCREATE TABLE x(a,b); CREATE VIEW y AS SELECT avg(1) FROM x AS x1, x AS x2x1, x AS x2 WHERE x1.a; SELECT total(A) "a",$a,b FROM y AS y1, y AS1, x AS yy1, y AS y1, y A1, y AS y1, y AS y1, y A1, y Ay AS y1, y AS y y mACREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x ; SELECT total(A),"a", a,total(A),"a", a,b FROM y CONSTRAINTAS1, x y1, y AS y1, y ; ~lWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO, a.b,O. * ,Ii O, a.b,O. * ORDER BY 1) SELECT x,O. * O FROM i I,I? 10; {y{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, zeroblob(1)) x FROM i LIMIT 10; {x{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, CURRENT_DATE) x FROM i LIMIT 10; {w{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, CURRENT_TIME) x FROM i LIMIT 30; {v{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, CURRENT_TIME) x FROM i LIMIT 90; uWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -1 || 4444444444444444444.44*441) i GROUP BY 1) SELECT x FROM i LIMIT 10; utoWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob( unicode(1)) x FROM i LIMIT 200 usoWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob( unicode(1)) x FROM i LIMIT 90; uroWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(2001.01-011) x FROM i LIMIT 200 b@bpeWITH i(x) AS ( VALUES(1) UNION ALL SELECT min(DISTINCT @1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 16 hUWITH i(x) AS ( VALUES(1) UNION ALL SELECT CURRENT_TIME FROM i ORDER BY 1) SELECT x FROM i LIMIT 16 D~ CREATE TABLE t0(a TEXT, b TEXT); INSERT INTO t0 VALUES('0','0'); INSERT INTO t0 VALUES('0','2'); INSERT INTO t0 VALUES('0','3'); SELECT a FROM t0 WHERE /* */(SELECT zeroblob(A)>b FROM t0 Ob); {}{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, zeroblob(1)) x FROM i LIMIT 200 {|{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, zeroblob(1)) x FROM i LIMIT 30; {{{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, zeroblob(1)) x FROM i LIMIT 90; {z{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, CURRENT_TIME) x FROM i LIMIT 200 k[SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('2001#01>>>>+>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>########################2001#01>>>>>>>>>> >>>>>>>>>>>>>>>>-01f00', '000'); S+SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('2001-01>>>>>>>>>> >>>>>>>>>:memory:>>>LhC#>>>>>>>>>>>>>>:memory:>>>LhCT SQLITE_RENAME_TABL>>>>-01f00', '00'); JSELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('2001-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>N>>>>>&>TEMPOR###########>-01f00', '000'); dMSELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('2001-0??????????????????????????1>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>N>>>>>&>TEMPORARY>>>>>>>>>-01f00', '000'); hUWITH i(x) AS ( VALUES(1) UNION ALL SELECT min( @1) +1 FROM i ORDER BY 1) SELECT-x FROM i LIMIT 04  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;  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; -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;  5PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a| randomblob(1)|b||c -?, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c OR-?, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;   CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VICATing Gnnning ant jgnt MATing Gnt juBETWEEN VALUEERE contenEEN VALUEEREent EATE VICATing G content MATing Gnt MATing Gnt jumping'); CCH  !PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,1)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c LIKE-?, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; l +l;{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(a, a, d, a); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, b, c, b, b ]?CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,e /* */)); INSERT INTO t5 VALUES(1,1,1,1,?,10000); INSERT INTO t5 VALUES(2,2,2,2,?,20000); INSERT INTO t5 VALUES(1,2,3,4,?,10000); INSERT INTO t5 VALUES(2,3,4,5,?,20000);REINDEX vqCREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '01'); INSERT INTO t0(docid, x) VALUES(2001-01-010, '2001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '*2001-01-01' ORDER BY docid DESC; v qCREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '01'); INSERT INTO t0(docid, x) VALUES(2001=01-010, '2001-01-010b'); SELECT rowid FROM t0 WHERE x MATCH '*2001-01-01' ORDER BY docid DESC; A~p(UCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c,b,a,e,e)); SELECT * FROM t0 WHERE a=E AND b=? AND c=? AND d=? AND b=? AND c=? AND dCREATE VIRTUAL TABLE x USING fts4(y,A,UES00S000,/,bbb REGEXP'bbb'); SELECT * FROM x where y MATCH 'bbb NEAR/6 0DDDDIRTUAL TABTE VIRTUAL TABLE x USING ftsLE x U strftime(1,1,1,1)b4(y,'; Y[jYICREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,bea,be, PRIM, PRIMARY KEY(c,b,p,a,ba,b,c,d,e,d,a,bI,c)) WITHOUT ROWID;REINDEX X HCREATE TABLE x( a,ba,q); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( a,ba,ba,ba,q); CRy1.q=y2.q; S GCREATE TABLE x( a,ba,q); CREATE VIEW y AS SELECT total(q)p, *, /* */q FROM x AS 1, x AS x2 USING ( a, a,ba,q); CREAT y1y2.q; SELECT * FCREATE TABLE x( a,ba,q); CREATE VIEW y AS SELECT total(q)p, *, /* */q FROM x AS 1, x AS x2 USING ( [a],q); CREAT y1.q=y2.q; SELECT * MECREATE 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= d=E AND~~~~~d=E AND E AND~~~~~d=E AND e OR ~~~~~~~~~~~~~~~d=E AND e OR@R?; !DGCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE NOT/* */-(0); SELECT total(1)p FROM y AS y1, y AS1, y y y1; k%OOCREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,b,p,a,ba,b,c,d,e,d,a,bI,ba,b,c,d,e,a,b,c,d,e,d,a,bI,ba,b,c,d,e,d,a,bI,c)) WITHOUT ROWID;REINDEX X NCREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,b,p,a,ba,b, a,be,d,a,bI,ba,b,c,d,e,d,a,bI,c)) WITHOUT ROWID;REINDEX X MCREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,b,p,a,ba,b,c,d,e,d,a,bI,ba,c,c,d,e,d,a,bI,c)) WITHOUT ROWID;REINDEX X LCREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,b,p,a,be,b,c,d,e,d,a,bI,ba,b,c,d,e,d,a,bI,c)) WITHOUT ROWID;REINDEX X uKoCREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,b,p,a,be, P,ba,b,c,d,e,d,a,bI,c)) WITHOUT ROWID+R sJkCREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,b,p,a,ba,b,c,d,e,d,a,bE,c)) WITHOUT ROWID+REI X L|L>SCREATE TABLE t0(a, b); SeLECT DISTINCT "a","ba","b",count(*)WHERE(SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","ba","y","b", round(1,1)"ba","b",count(*)a FROM t0) ) -1; FRCREATE TABLE t0(a, b); SeLECT DISTINCT "a" "ba","b",count(*)WHERE(SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","ba","y","b",oid,"b""a","ba","b",count(*) a,ba FROM t0) )FROM (S; QECREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR"" OR - sdrft OR 0'; PCREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" GROUP BY "a","b"LIKE"b"ESCAPE"b""a","b", "a","b" LIMIT 1)IS rr TDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(1020012001501-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a&2,3,'0'||substr(c,2) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'+'|~substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5777757-7772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a);REINDEX; SELECT(c FROM EN 30 AND 60; qq UDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER NRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES( -11020012001-01-01-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+12001-01-01,2,'p0' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,3) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WCURRENT_TIMESTAMP; 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);REELECT(OM EN 30 AND 60; UmU{[{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, CURRENT_DATE) x FROM i LIMIT 90; jZWBEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50)UNIQUE not null, PARTICIPANTID text(50) not null,E0000000000 int not null ہ YWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(2001.01-01333333333333333333331) x FROM i LIMIT 200 XWITH i(x) AS ( VALUES(1) UNION ALL SELECT total(1) i ORDER BY 1) SELECT zeroblob(2001.01-01333333333333333333331) x FROM i LIMIT 10; WWITH i(x) AS ( VALUES(1) UNION ALL SELECT * FROM i ORDER BY 1) SELECT zeroblob(2001.01-01333333333333333333331) x FROM i LIMIT 30; hVUCREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t s "a"time(1,1,1,1 "a"NOTNULL,"b"( "a"N>TNULL,"b1a"NOTNULL,"b"( "a"NOTNULL, s "a"time(1,",1,1,1)ime(1,1,")"'; , 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 n ot null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int0L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, B000 text null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE H00(DAT0000E text(2) not null, O0000 text(20) not null, K0000000000 text(100) not null, F0000000000 int00000, T00000000 int00000); CREATE TABLE D000(F0000000000 text(30) not null, V000000 int not null); CREATE TABLE D00000000000C0000000(TQUNID text(3) not null, S0000 text(50) not null, O000 text(50) not null, P000 text(300) not null, D00000000000000000000000 text(20) null, C00000000 text(100) not null, constraint P000000000000000000000 primary key (TQUNID)); CREATE TABLE D0000F0000000(C00 i nt00000, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, R000000000000000000 text(50) null, constraint P000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE D0(TQUNID text(30) not null, I00 text(50) not null,E000 text(50) null, D0000000000 text(100) null, D0000000000000000 int null,constraint P000 primary key (TQUNID)); CREATE TABLE E00000(T00000 int not null, N00000 text(50) not null, M000 blob not null, T0000D text(30) not null); CREATE TABLE E0ON0000000000(C000000 int null, S0000 int not null, L00000000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P0000000000000M int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, D0000 text(20) null, D0002 text(20) null, D0003 text(20) null, D0004 text(20) null, D0005 text(20) null, D0006 text(20) null, D0007 text(20) null, D0008 text(20) null, D0009 text(20) null, D00000 text(20) null, V00000 int null, V00002 int null, V00003 int null, V00004 int null, V00005 int null, V00006 int null, V00007 int null, V00008 int null, V00009 int null, V000000 int null, V000001 int null, V000002 int null, V000003 int null, V000004 int null, V000005 int null, V000006 int null, V000007 int null, V000008 int null, V000009 int null, V000020 int null, S000000 text(300) null, S000002 text(300) null, S000003 text(300) null, S000004 text(300) null, S000005 text(300) null, S000006 text(300) null , S000007 text(300) null, S000008 text(300) null, S000009 text(300) null, S0000000 text(300) null, L0000000000 text null, L0000000002 text null, L0000000003 text null, L0000000004 text null, L0000000005 text null, L0000000006 text null, L0000000007 text null, L0000000008 text null, L0000000009 text null, L00000000000 text null, constraint P0000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE F000000000(TQUNID text(30) not null, P000 text(300) not null, D00000000000000000000 text(1) null, constraint P000000000000 primary key (TQUNID)); CREATE TABLE F0(C00 int null, S0000 int not null, L0000000000 text(50) not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A000000000000 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, B0000000000000 0 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 te xt(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(INVITATIO NID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int ext(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 8888888888888888888888888888, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0E\TID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0000000000000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 88paeWITH i(x) AS ( VALUES(1) UNION ALL SELECT min( ltrim(1,1)) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 04 p`eWITH i(x) AS ( VALUES(1) UNION ALL SELECT min(DISTINCT @1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 03 p_eWITH i(x) AS ( VALUES(1) UNION ALL SELECT min(DISTINCT @1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 24 p^eWITH i(x) AS ( VALUES(1) UNION ALL SELECT min(DISTINCT @1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 84 {]{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, CURRENT_DATE) x FROM i LIMIT 200 {\{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1<1, CURRENT_DATE) x FROM i LIMIT 30;  bPRAGMA 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;  cPRAGMA 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;  dPRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b|~c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,B)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; e+PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b|~c, b| random()|c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,4)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  fPRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT 'a''b'c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,6)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc;  gPRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT 'a''b'c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,8)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; viqCREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '01'); INSERT INTO t0(docid, x) VALUES(2001-01-010, '2001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*2001-01-01' ORDER BY docid DESC; hPRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT 'a''b'c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,B)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; W=JWomcCREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDA2001-01-01; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ONT JOIN t0b ON (x=99) OR (x=99) ORDER BY x;VACUUM olcCREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDADD0NOTNULL; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ONT JOIN t0b ON (x<99) OR (x=99) ORDER BY x;VACUUM ;k{CREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(a, a, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, b, a, b, b jCREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '01'); INSERT INTO t0(docid, x) VALUES(2001-01-010, '2001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '2001-01-01*2001-01-01' ORDER BY docid DESC; - pCREATE TABLE t0000(a INTEGER DEFAULT KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000'); INSERT INTO t0000(a) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); oCREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(b) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000'); INSERT INTO t0000(a) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); On#CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDADD0NOTNULL; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ON (1)IN t0b ON UM sr%CREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000'); INSERT INTO t0000(a) VALUES('00'); END;EXPLAIN INSERT INTO t0000(b) VALUES('0000'); qCREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER UPDATE ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000'); INSERT INTO t0000(a) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); [t-CREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEY KEY UNIQUE,UTOIEFOREER t0001 BRY KEY UNIQUE,UTOIE INSERT !sGCREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMAEY UNIQUE,UTOMNCREEMENT,RY 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'); rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr`rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr soundex(1)rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I 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'); Xu5CREATE 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, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrryrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr5rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q n'); INSERT INTO x1(docid,a,b,c)VALUES(-1, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', id,a,b,c) ES(1 PP vECREATE 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, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr5rrrrrrrrrrrrrrrrrrrrrrrrr load_extension(1,1)rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y 0 I', 'X J P K R', '0 O T H V'); INSERT INTO x1(docid,a,b,c) VALUES(8, 'Y 0 0 0', '0 U E S J', 'N W L M R'); INSERT INTO x1(docid,a,b,c) VALUES(9, 'Z 0 F N P', 'W 0 X 0', 'V 0 E Q A'); INSERT INTO x1(docid,a,b,c)VALUES(10, '0 I 0 M', 'N 0 K 0 C', 'A H T Q n'); INSERT INTO x1(docid,a,b,c)VALUES(11, '0 E Q 0', '0 I 0 C B', 'F Z U W R'); INSERT INTO x1(docid,a,b,c)VALUES(12, 'E S V U', 'T P F W H', 'A M 0 J Q'); INSERT INTO x1(docid,a,b,c) VALUES(13, 'S B 0 0', 'U 0 N 0 P', 'X Z Y G F'); INSERT INTO x1(docid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C Z', '0 W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T S K 0', 'W B 0 Y N', id,a,b,c) ES(1 VPVgySPRAGMA encoding=UTF16le; CREATE TABLE t0tϐϐS('ab0'); xWITH i(x) AS ( VALUES(1) UNION ALL SELECT sqlite_compileoption_get(-777777777777777777777) FROMi GROUP BY@1) SELECT x FROM i LIMIT 10; wECREATE 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, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr g2gj|YCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unningand jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run """""""""""""""""""; INSERT INTO t1""""1"""""""""""""""""""""""""""""""1"ru"""""""""""""""""""jump"""""""n """"""""""""""""""""""run """""""""""""""""""""""""""""""""""jump'; Y{7CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unningand jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run """""""""""""""""""; INSERT INTO t1"""1"""""""""""""""""""""""""""""""1"ru"""""""""""""""""n """"""""""""""""""""""run """"""""""""""""""""""""""""""""b""""""jump'; JzCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'sepseparator leparator IMMEDIarator leparator IMMEDIATE'); SELECT row WHERE cot MATCH 'runp'; CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS LEF102 JOIN t102 AS tT JOIN t102 t1 ON t1.i0 GLOB 'a0' LEFT JOIN t102 LEFT JOIN t102 AS t2 ON(t1.i0= t1.i0 OR t1.i0= t1.i0 OR t2.i0=t1.oid); ~)CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 LEF10 JOIN t102 AS LEF102 JOIN t102 AStT JOIN t102 tT JOIN t102 t1 ON t1.i0 LIKE 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON+t1.i0=+t0.i0 OR t1.i0=t1.oid); }CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 AS LEF102 JOIN t102 AStT JOIN t102 tT JOIN t102 t1 ON t1.i0 LIKE 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON(t1.i0= t0.i0 OR t1.i0=t0.oid); ]&9]X5CREATE 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(0 AND t0.iI=t1.i0 AND t0.i0=t2.i0) AND t2.i0t1.oid); e/he 'CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH /* */""OR""MATCH"""" 7 sCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE 1=1+time(1,1,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y1; / cCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE 1=1+time(1,1,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, yy1,1; C  CREATE TABLE x(a,b); CREATE VIEW y AS SELECT strftime(1,1,1,1) q FROM x AS x1, x AS x2 WHERE+time(1,q,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y AS y1, y AS y y1; M CREATE VIRTUAL TABLE x USING fts4(y;ALUES00S000,/,bbb,REGEXP'bbb'); SELECT * FROM x where y MATCH 'bbb NEAR/6 0DDDDIRTUAL TABTE VIRTUAL TABLE x USING ftsLE x USIN:::::: x USIN::::ftb4(y,'; OpeWITH i(x) AS ( VALUES(1) UNION ALL SELECT min( ltrim(1,1)) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 03 FCREATE TABLE t0(a, b); SeLECT DISTINCT "a" "ba","b",count(*)WHERE(SELECT "a","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""a","ba","y","b",oid,"b""a","ba","b",count(*) a,ba FROM t0) )NOTNULL; -_CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR"" O""OR""OR"" R - sxrft OR 0';  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(C,5)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; vvocCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1)', 'foo'); INSERT INTO ft VALUES('xtension(131)', 'foo'); INSERT INTO ft VALUES(' load_extension(131)', 'foo'); INSERT INTO ft VALUES('xtension(11)', 'foo'); INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' @1*@1 1*1';f +PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT 'a''b'c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a| random()|b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|| round(A,5)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; s CREATE TABLE t0000(a blobGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000'); INSERT INTO t0000(a) VALUES('00'); END;REPLACE INTO t0000(b) VALUES('0000'); CREATE TABLE t0000(a blobGER DEFAULT KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000'); INSERT INTO t0000(a) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); #CREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT(SELECT'000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000');REPLACE INTO t0000(a) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); tmCREATE TABLE t0000(a blobGER PRIMARY KEY UNIQUE,UFOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000'); INSERT INTO t0000(a) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); okaonaCREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(10000000.000000000, '02001-01-00'); INSERT INTO t0(docid, x) VALUES(0, '02 001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; PRAGMA encoding=UTF16le; CREATE TABLE t0tϐϐϐS('ab0');  PRAGMA encoding=UTF16le; CREATE TABLE t0tϐϐϐS('ab0'); 'CREATE TABLE t0000(a INTEGER PRIMARY KEY UNIQUE,UTOINCRPRIMARY KEY UNIQUE,UTOINCREEMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000') "a","b";REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00000');REPLACE INTO t0000(a) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); %OCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 LEF10 JOIN t102 AS LEF102 JOIN t102 AStT JOIN T102 tT JOIN t102 t1 ON t1.i0 LIKE 'a0' LEFT JOIN t102 JOIN t102 AS t22 JOIN t102 AS t2 ON+t1.i0=+t0.i0 OR t1.i0=t1.oid); "ICREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 LEF10 JOIN t102 LEF102 JOIN t102 AStT JOIN t102 tT JOIN t102 t1 ON t1.i0 LIKE 'a0' LEFT JOIN t102 JOIN t102 AS t LEFT JOIN t102 JOI2 ON(t1.i0=+t0.i0 OR t1.i0=t0.oid); naCREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(1000-000.000000000, '02001-01-00'); INSERT INTO t0(docid, x) VALUES(0, '02 ;001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; i"WCREATE 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.i0t1.i0 AND t0.i0cCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1)', 'foo'); INSERT INTO ft VALUES('xtension(131)', 'foo'); INSERT INTO ft VALUES(' load_extension(131)', 'foo'); INSERT INTO ft VALUES('xtension(11)', 'foo'); INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' @1*@1*1*1';f }j}iBWCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 /* */JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t1.i0> t0.i0 OR 50 AND t1.i0=t1.i0 AND t0.i0=time(1,1,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y y1, y y1, y A, y AS y1, y AS y y1; YW7CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE NOT+time(1,1,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y y1, y y1, y A, y AS y1, y AS y y1; 0 s0+_[CREATE TABLE x(a,b); CREATE VIEW y AS SELECT typeof(1)+ hex(1) q FROM x AS x1, x AS x2 WHERE+time(1,q,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, yy1,1; ^%CREATE TABLE x( a,ba,q); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( a,ba,ba,ba,a,ba,ba,ba,q); CREAT y1.q=y]?CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b`b* b,b/B a,b''b"b 0a0'); SELECT * FROM x where y MATCH 'b`b "b","b"000'; r\iBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 2001-01-0101-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; r[iBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 2001-01-01b2001-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-0101'; END; NqCc CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=P+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y y1, y AS y y1; GbCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x2.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y AS y1, y AS y y1; Ya7CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS q, x2.b AS q FROM x AS x1, x AS x2 WHERE q=q+time(1,1,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS S1, y y1, y A, y y1, y AS1, y y1, y A, y AS y1, y AS y y1; .`aCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p,+ hex( -11) q FROM x AS x1, x AS x2 WHERE+time(1,q,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, yy1,1; `=gCCREATE TABLE t102 (i0 intT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 LEF10 JOIN t102 AS LEF102 JOIN t102 AStT JOIN t102 L JOIN t102 tT JOIN t102 t1 ON t1.i0 LIKE 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON(t1.i0= t0.i0 OR t2.i0=t0.oid); fCCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 LEF10 JOIN t102 AS LEF102 JOIN t102 AStT JOIN t102 L JOIN t102 tT JOIN t102 t1 ON t1.i0 LIKE 'a0' LEFT JOIN t102 JOIN t102 AS t2 ON(t2.i0= t0.i0 OR t2.i0=t0.oid); 7esCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x1.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A+ y 1; adGCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y A, y AS1, y y1, y A, y ASS1, y y1, y A, y AS y1, y AS y y1; rjiBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 2001-01-0101-01-01'); INSERT INTO t0 VALUES('201-01-01bb cc'); INSERT INTO t0 VALUES('cc 01'); SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01-01'; END; i3CREATE TABLE t102 (i0 TEXT UtreUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 LEF10 JOIN t102 LEF102 JOIN t102 AStT JOIN t102 L JOIN t102 LEFT JOIN t102 t1 ON 'a0'NATURAL LEFT JOIN t102 JDIN t102 AS t2 ON(t1.i0=+t0.i0 OR t1.i0=t0.oid):"hICREATE TABLE t102 (i0 EXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 LEF10 JOIN t102 LEF102 JOIN t102 AStT JOIN t102 L JOIN t102 LEFT JOIN t102 t1 ON t1.i0 LIKE 'a0'NATURAL LEFT JOIN t102 JOIN t102 AS t2 ON(t1.i0=+t0.i0 OR t1.i0=t0.oid); ? ?o9CREATE TABLE x( a b a,ba,q); CREATE VIEW y AS SELECT total(q)p, *, a,a,ba,ba,bbb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba,q,ba,ba,ba,q); C&nQCREATE TABLE x( a b a,ba,q); CREATE VIEW y As SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba,q,ba,ba,ba,q,a,ba,ba,ba,q,ba,ba,ba,q);); C mCREATE TABLE x( a,b a,ba a,b1, x,q); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba)q);yrliBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 2001-01-0101-01-01'); INSERT INTO t0 VALUES('2001-01-01~b cc'); INSERT INTO t0 VALUES('cc 01'); SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01-01';0e01; rkiBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 2001-1-0101-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: U5v4tmCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p,+ hex(12001-01-01) q FROM x AS x1, x AS x2 WHERE+time(1,q,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, y, y; ;s{CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, sqlite_version()+ hex(1) q FROM x AS x1, x AS x2 WHERE+time(1,q,1)OR-x1.a-x2.a; SELECT total(1)p FROM y AS y1, y AS1, y, y; rCREATE TABLE x( a,b a,ba,q); CREATE VIEW y AS SELECT total(q)a,q,ba,ba, q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba,q,ba,ba,ba,q); C qCREATE TABLE x( a,b a,ba,q); CREATE VIEW y AS SELECT total(q)p, B,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba,a,ba,ba,ba,q); C'pSCREATE TABLE x( a, a,ba,q); CREATE VIEW y AS SELECT total(q)p, *, a,a,ba,ba,ba,q,ba,ba,ba,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba,q,ba,ba,ba,q); C 0`Px%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x2.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y y1,y y1, y A, y AS y AS y Pw%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.a AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y y1,y y1, y A, y AS y AS y LvCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM x AS y1, y AS1, y y1, y A, y y1,y y1, y A, y AS y ALuCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS p, x x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, xdAS y1,:y AS y y1; ,C;|{CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y11, x AS x2 W 1; ;{{CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.a AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y11, x AS x2 W 1; ezOCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AA, y y1,y y1, y A, y S1, y y1, y A, y y1,y y1, y A, y AS y AS y Py%CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, y y1,y y1, y A, y AS y AS y EriBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 2001-01-0101-01-01'); INSERT INTO t0 VALUES('201-01-01bb cc'); INSERT INTO t0 VALUES('cc 01'); SELECT docid FROM t0 WHERE t0 MATCH '0*2001-1'; END; 7sCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x2.a=x1.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A+ y 1; 7~sCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS q, total(1)q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A+ y 1; 7}sCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS q, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x1.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A+ y 1; i i CREATE TABLE x( a,b a,ba a,b1, x,q); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( q,a,ba,ba,ba)q);yBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 20012001-01-01-01-0101-01-01'); INSERT INTO t0 VALUES('2001-01-01bb2001-01-01 cc'); INSERT INTO t0 VALUES('cc 01'); SELECT docid FROM t0 WHERE t0 MATCH '0*2001-01-01'; END; BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 20012 typeof(1)001-01-01-01-0101-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; riBEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 2001-01-0101-01-01'); INSERT INTO t0 VALUES('2001-01-01bb cc'); INSERT INTO t0 VALUES('cc 01'); SELECT docid FROM t0 WHERE t0 MATCH '0*2*01-1'; END; htP/hC  CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x2.a=x2.a; SELECT total(1)p FROM x AS y1, y AS1, y y1, y A, x y1, y AS y y1;  %CREATE TABLE x( a,b a, a,ba,q); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba,a,ba,ba,ba,q); C CREATE TABLE x( a,b a,ba,ba1, x,q); CREATE VIEW y AS SELECT total(q)p, *, *,bb AS q FROM x 1, x AS x2 USING ( a,a,ba,ba,ba)q);y CREATE TABLE x( a,b, y,ba,ba1, x,q); CREATE VIEW y AS SELECT total(q)j, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,bv)q);y+CREATE TABLE x( a,b a,ba,ba1, x,q); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba,ba1, x,q););yCREATE TABLE x( a,b a,ba1, x,q); CREATE VIEW y AS SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a, "a","")q);1.q=y KAmeK CREATE TABLE x( a,b, y,ba,ba1, x,q); CREATE VIEW y AS SELECT total(q)j, *,bb AS q FROM x AS 1, x AS x2 USING ( q,a,ba,ba,bv)q);y CREATE TABLE x(a,b, y,ba,ba1, x,q); CREATE VIEW y AS SELECT total(q)j, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,bv)q);y  BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('01 2001-01-0101-01-01'); INSERT INTO t0 VALUES('201-01bb cc'); INSERT INTO t0 VALUES('cc 01'); SELECT docid FROM t0 WHERE t0 MATCH '0*20 strftime(1,1,1,1)01-1'; END; P %CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.a AS q, x2.b AS q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y CT total(1)p FROM y AS1, y y11, x AS x W 1; ; {CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS q, total(1)q FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y11, x AS x2 W 1; sFQ'CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=1+time(1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, x AS y1, y AS A, x AS yy y1; ;CREATE TABLE x( a,b, y,ba,ba1, x,q); CREATE VIEW y AS SELECT total(q)j, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,b, y,ba,ba1, x,q); CREAy5CREATE TABLE x( a,b, y,ba,ba1, x,q); CREATE VIEW y AS SELECT total(q)j, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,ba1, x,q); ba,bv)q);y CREATE TABLE x( a,b, y,ba,ba a,b1, x,q); CREATE VIEW y AS SELECT total(q)j, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,ba,bv)q);y CREATE TABLE x( a,b, y,ba,ba1, x,q); CREATE VIEW y AS SELECT total(q)j, *,bb AS q FROM x AS 1, x AS x2 USING ( a,a,ba,a,bv)q);y {.<{=CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS q, x2.b AS a FROM x AS x1, x AS x2 WHERE q=1+time(1,1,1,11,1,1)OR x1.a; SELECT total(1)p FROM y AS y1, y AS1, y y11, x AS x2 W 1; naCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=1+time(1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1a; SELECT total(1)p FROM y A, y A, x AS y1, y AS A, x AS yy y1; aGCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=1+time(1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1, y y1, y A, x AS y1, y AS A, x AS A, x AS yy AS yy y1; iWCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x , x AS x2 WHERE q=1+time(1)OR x1.a=x2.a; SELECT total(1)p FROM y AS y1, y AS1y1, y AS1, y y1, y A, x, y y1, y A, x AS y1, y AS A, x AS yy y1; Ci;C$MCREATE TABLE x( a,b a, a,ba,q); CREATE VIEW y AS SELECT total(q)p, "a","b" q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a)a,ba,ba,ba,q,ba,ba,ba,q); C$MCREATE TABLE x( a,b a, a,ba,q); CREATE VIEW y AS SELECT total(q)p, "a","b" q FROM x AS 1, x AS x2 USING ( ba,ba,ba,a,ba,ba,ba, a,a,ba,ba,ba,q,ba,ba,ba,q); C$MCREATE TABLE x( a,b a, a,ba,q); CREATE VIEW y AS SELECT total(a)p, "a","b" q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q,ba,ba,ba,q); C+CREATE TABLE x( a,ba,ba a,b a,bs,ba1, x,q); CREATE VIEW y AS SELECT tota(q)p, *,bb AS q FROM x AS 1, x ASx2 USING ( a,a,ba,a,a)q);y+CREATE TABLE x( a,ba,ba a,b a,bs,ba1, x,q); CREATE VIEW y AS SELECT tota(q)p, *,bb AS q FROM x AS 1, x ASx2 USING ( q,a,ba,ba,a)q);y+CREATE TABLE x( a,ba,ba a,b a,bs,ba1, x,q); CREATE VIEW y AS SELECT tota(q)p, *,bb AS q FROM x AS 1, x ASx2 USING ( a,a,ba,ba,a)q);y SX^S$)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,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q,ba,ba,ba,q); Cr#iSELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a,a,ba,sa,ba,q,ba,ba,ba,q); C"/CREATE TABLE x( a,b a, a,qa,ba,q);SELECT total(q)p, *,bb AS q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q,ba,ba,ba,q); C1!gCREATE TABLE x( a,b a, a,ba,q); CREATE VIEW y AS SELECT total(q)p, "a","b" q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,b,ba,q,ba,q,ba,ba,b,ba,q,ba,ba,ba,a,ba,ba,q); C( UCREATE TABLE x( a,b a, a,ba,q); CREATE VIEW y AS SELECT total(q)p, "a","b"LIKE q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q,ba,ba,ba,q); C$MCREATE TABLE x( a,b a, a,ba,q); CREATE VIEW y AS SELECT total(q)p, "a","b" q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q)ba,ba,ba,q); C ep;){CREATE TABLE x( a,b a, a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS 1, x AS x2 USING ( ba, a,a,ba,ba,ba,q,ba,a,ba, a,a,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q,ba,a,ba, a,a,ba,ba,q); C!(GCREATE TABLE x( a,b a,1, x a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q,ba,a,ba, a,a,ba,ba,q); C1'gCREATE TABLE x( a,b a, a,ba,q);SELECT total(ba,ba,q,ba,a,ba, a,q)p, *,ba AS q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q,ba,a,ba, a,a,ba,ba,q); C&3CREATE TABLE x( a,ba,ba a,b a,bs,ba1, a,bx,q); CREATE VIEW y AS SELECT tota(q)p, *,bb AS q FROM x AS 1, x ASx2 USING ( a,a,ba,ba, a,b);y%3CREATE TABLE x( a,ba,ba a,b a,bs,ba1, a,bx,q); CREATE VIEW y AS SELECT tota(q)p, *,bb AS q FROM x AS 1, x ASx2 USING ( a,a)ba,ba,a)q);y Zu.3CREATE TABLE x(,a,ba,ba a,b a,bs,ba1,V a,bx,q); CREATE VIEW y AS SELECT tota(q)p, *,bb AS q FROM x AS 1, x ASx2 USING ( q,q,ba,ba,a)q);y-3CREATE TABLE x(,,ba,ba a,b a,bs,ba1,V a,bx,q); CREATE VIEW y AS SELECT tota(q)p, *,bb AS q FROM x AS 1, x ASx2 USING ( q,a,ba,ba,a)q);y%,OCREATE TABLE x( a,b a, a,b1, x a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS 1, x AS x2 USING ( ba,ba,ba,q,ba,ba,ba, a,a,ba,ba,ba,q,ba,a,ba, a,a,ba,ba,q); C+?CREATE TABLE x( a,b a, a,ba,q);SELECT total(q)p, *,ba AS q FROM x AS 1, x AS x2 USING ( "b","b",q,ba,ba,ba, a,a,ba,ba,ba,q,ba,a,ba, a,a,ba,ba,q); C"*ICREATE TABLE x( a,ba,ba a,b a,bs,ba1, a,bx,q); CREATE VIEW y AS SELECT tota(q)p, *,bb AS q FROM x AS 1, x ASx2 USING ( q,a,ba,ba, a,bx,q); a)q);y p8p3SELECT last_insert_rowid()UULL UNION SELECT.1 UNION SELECT 2 AS 'x' ORDER BY LL UNION SELECT.1 UNION SELECT 2 AS 'x' ORDER BY x; <2CREATE TABLE t0(c,"a","b",'000'); PRAGMA table_info(t0); E1BEGIN 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 (SELECT * FROM t1 WHERE a<10); DR >0PRAGMA temp_store_directory; PRAGMA temp_store_directory; :/yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','0',1); INSERT INTO t1 VALUES(2,'00','0',5); INSERT INTO t1 VALUES(3,'000','0',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) 7?PRAGMA foreign_keys= ON; CREATE TABLE p(i PRIMARY KEY); CREATE TABLE c(VIEWj REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c VALUES('0e00o'); UPDATE p SET i= '000'; SELECT * FROM c; X65PRAGMA foreign_keys= ON; CREATE TABLE p(i PRIMARY KEY); CREATE TABLE c(VI Wj REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c VALUES('0e00o'); UPDATE p SET i= '000'; SELECT * FROM c; s5kCREATE VIRTUAL TABLE t4 USING fts4(tokenize=unicode61 "remove_diacritics=0"); INSERT INTO t4 SELECT avg(1) t0; t4mCREATE TABLE t0(x); INSERT INTO t0 VALUES('0000t'),('0o00'); SELECT DISTINCT x FROm (SELECT zeroblob(1) x FROM t0 GROUP BY x) WHERE x=('0o00'); SELECT DISTINCT x FROM (SELECT zeroblob(1) x FROM t0 GROUP BY x) WHERE x='0' ORD'0' ORDER BY x; L9PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT printf(?,1) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; 8APRAGMA foreign_keys= ON; CREATE TABLE p(i PRIMARY KEY); CREATE TABLE c(VIEWj REFERENCES p ON UPDATE CASCADE); INSERT INTO p VALUES('0e00o'); INSERT INTO c VALUES('0e00o'); INSERT INTO c VALUES('0e00o'); UPDATE p SET i= '000'; SELECT * 00o'); UPDATE p SET i= '000'; SELECT * FROM c; d0d'=SPRAGMA aut_um = inc; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(1000), :eroblob(5000)); DELETE Fm; '<SPRAGMA aut_um = inc; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(:eroblob(5000), :eroblob(5000)); DELETE Fm; s;kWITH i(x) AS ( VALUES(1) UNION ALL VALUES(1) UNION ALL SELECT total(1) i ORDER BY 1) SELECT x FROM i LIMIT 10; L:PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT printf(ALL) x FROM t0; DELETE FROM t0 WHERE rowid>200; VACUUM; @UO=@)CWDROP INDEX IF EXISTS t0; DROP INDEX IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); ; DROP INDEX IF EXISTS t0; CREATE TABLE t1(i MBPRAGMA encoding=UTF16 ;; SELECT hex( trim( 'ψ000')); A!CREATE TABLE x1(a); CREATE TABLE x2(b); INSERT INTO x1 VALUES(1), (1), (2); INSERT INTO x2 VALUES(1), (2); SELECT count(*) FROM x2 WHERE b IN (SELECT b); INSERT INTO x1 VALUES(1), (1), (2); INSERT INTO x2 VALUES(1), (2); SELECT cDISTINCT char(1) a FROM x1 LIMIT 2); &@QSELECT '' UNION SELECT '000h' ORDER BY 1 ASC UNION SELECT '000h' ORDER BY'' UNION SELECT '000h' ORDER BY 1 ASC UNION SELECT '000h' ORDER BY 1 , 1 ASC; 1 , 1 ASC; Y?7SELECT '' UNION SELECT '000h' ORDER BY 1 ASC UNION SELECT '000h' ORDER BY 1 , + ASC; '>SPRAGMA aut_um = inc; PRAGMA page_size=1000; PRAGMA journal_mode=off; CREATE TABLE t1(a, b); INSERT INTO t1 VALUES(zeroblob(3000), :eroblob(5000)); DELETE Fm; yDwDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,3,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN [a]AND 1=1 <<S<YK7PRAGMA psiAL; PRAGMA wal_autocheckpoint == WAL; PRAGMA wal_autocheckpoint =100; PRAGMA page_siAL; PRAGMA wal_autocheckpoint == WAL; PRAGMA wal_autocheckpoint =100; PRAGMA journal_size_limit = 10000;AGMArnal000; -J_PRAGMA page_siAL; PRAGMA wal_autocheckpoint == WAL; PRAGMA wal_autocheckpoint =100; PRAGMA jo == WAL; PRAGMA wal_autocheckpoint =100; PRAGMA urnal_size_limit = 10000; ICREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,a,d,e,b),UNIQUE(a,b,c,d,e,f ); I(5,10000); INSERT INTO t5 VALUES(2,3,4,5,6,20000);REINDEP AHSELECT 10 UNION ALL SELECT 20 ORDER BY a.b.LLATE s00000000e; +G]SELECT printf('%*.*u',5,2,300000e1003); tFmCREATE TABLE t0(a); INSERT INTO t0 VALUES( -1); SELECT a< CAST(a AS clob000)< CAST(a AS clob000) FROM t0; FROM @ECREATE TABLE t1(a,b); SELECT a FROM t1 WHERE maxȒ(b)< avg(1) a; ST a IROM t1 WHERE max of r|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ r o ~l }g |d {` zY yS xQ wN vJ uI tG sB rA ^t ]q \m [h Za Y\ XY WT VP UM TI SC R? Q< P; O: N9 M6 L5 K4 J0 I, H) G& F! E D C B A @ ? > = <| ;y :t 9q 8m 7k 6i 5e 4b 3^ 2Z 1S .P ,K +D *C )= (9 '7 &3 %. $) #$ " !     p= o8 n3 m/ l* k% j i h g f e d c b `~ _y  | x t o j g c _ Z V R M F B q? ? = : 4 / * & "        5 52PiPRAGMA auto_vacuum=2; CREATE TABLE t1(a, b); CREATE INDEX i ON t1(a); CREATE TABLE t0(a); ; CREATE INDEX x ON t1(b); DROP TABLE t0; PRAGMA integrity_check; DROP TABLE t0;grit;O{PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES('ab0'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT 'a'>a FROM t0t0006; \N=CREATE TABLE t14(a,b,c); VALUES(1,2,34,5,6) INTERSECT VALUES( lower(1),3,total(1),1,3);32MiBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO t0(x,y) VALUES(new.rowid,1); INSERT INTO t0(x,y) SELECT * FROM t0; INSERT INTO t0 SELECT * FROM t1; UPDATE t0 SET y=y+x=new.rowid; SELECT 000; DELETE FROM t0 WHERE x=new.rowid; DELETE FROM t0 WHERE x=new.rowid; END; INSERT INTO t1(a,b) VALUES(0,0); C END; INSERT INTO t1(a,b) VALUES(0,0); COMMIT; >LPRAGMA foreign_key_list(t0);PRAGMA foreign_key_list(t0); 0_recei0ed); CREATE INDEX date_l0000e0_inde0 ON messa0es(date_last_0ie0ed); CREATE INDEX d0t000000000000000 ON messa0es(date_created); CREATE INDEX m000a0e000000000i0000i0000_0n000 ON messa0es(messa0e_id,mailbo0); CREATE INDEX sqlite0ocument_0d_inde0 ON messa0es(document_id); CREATE INDEX m000a0e0r0000000e0 ON messa0es(read); CREATE INDEX m000000000000000i0000 ON messa0es(fla00ed); CREATE INDEX m0000000000000000n000 ON messa0es(mailbo0, date_recei0ed); CREATE INDEX me00a0e0r0000e00000000000000 ON messa0es(remote_mailbo0, remote_id); CREATE INDEX m0s0a00000000i0000 ON messa0es(t0pe); CREATE INDEX m00000e00o00000a00000000000000s0t0o00p0000000_0n000 ON messa0es(con0ersation_id, con0ersation_position); CREATE INDEX m00000000000 ON messa0es(fu000_ancestor); CREATE INDEX m0s0000_0000000000s000000000 ON messa0es(sub0ect,fu000_ancestor); CREATE INDEX m000a0e0000000000000ct00u000000d00000e00000000000e0 ON messa0es(sender, sub0ect, automated_con0ersation); CREATE INDEX m0000000000000000000 ON messa0es(sender); CREATE INDEX m0s00s0 ON messa0es(root_status); CREATE TABLE sub0ects (W00 INTEGER PRIMARY KEY, sub0ect COLLATE RTRIM, normali0ed_sub0ect COLLATE RTRIM); CREATE INDEX sqlite000000000000000 ON sub0ects(sub0ect); CREATE INDEX sqlite0_0o0000000000u00000000000 ON sub0ects(normali0ed_sub0ect); CREATE TABLE addresses (R00 INTEGER PRIMARY KEY, address COLLATE NOCASE, comment, UNIQUE(address, comment)); CREATE INDEX a000d0000000000 ON addresses(address); CREATE TABLE mailbo0es (R0000 INTEGER PRIMARY KEY, u00 UNIQUE,a0000000 INT0000 DEFAULT 0, u00000000000 INT0000 DEFAULT 0, u0000000000t INT0000 DEFAULT 0, d000000000000 INT0000 DEFAULT 0, u00000000000000000000000000000000000 INT0000 DEFAULT 0, c0000000000000000, source INT0000, a000000000000000000000000); CREATE INDEX m000000000000000000000 ON mailbo0es(source); CREATE TABLE labels(I0 INTEGER PRIMARY KEY,messa0e_id INT NOT NULL,mailbo0_id INT NULL, UNIQUE(messa0e_id, mailbo0_id)); CREATE INDEX d00 ON labels(messa0e_id, mailbo0_id); CREATE INDEX ls_ ON labels(mailbo0_id) JdJ SCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,c,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=? AND d=? AND e= strftime(1,d,e,1,1,1)OR?; RCREATE TABLE k0(x, y, FOREIGN KEY(x, y) REFERENCES s FOREIGN KEY(x, y) REFERENCES s1(a, b)); PRAGMA foreign_key_check k0heck k0); QCREATE 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 / !oFZCREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a,ba,ba ON t10BEGIN UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r0000; END; INSERT INTO t10(a)VALUES('000'); Y PRAGMA writablOFschema = 1; CREATE TABLE 00000_00004 AS SELECT 1; CREATE TABLE s00000_00004 AS SELECT changes()changes()EXISTKn%XQSELECT printf('0%110.16lw0', -1); WCREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,e,b),UNIQUE(a,f,c,e,b),UNIQUE(a,b,d,e,f)); I(SERT INTO t5 VALUES(2,3,4,5,6,20000);REIN@EX rViSELECT sqlite_compileoption_used('SQLIT_THREADSAFE'); SELECT sqlite_compileoption_used('SQLIT_THREADSAFE'); USELECT b FROM t0 WHERE a000000000000000000000000000000000000000000000000 NOT IN t000000000000000000000 NOT IN t0000000000 NOT IN tb;OT#PRAGMA locking_mode =exiveive; PRAGMA locking_mode;; PRAGMA locking_mode; 6l]L^PRAGMA default_cache_size=-188888888888;PRAGMA default_cache_size=-188888888888; PRAGMA cache_size=-18888888888; PRAGMA def PRAGMA cache_size=-18888888888; PRAGMA def ]CREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a,ba,ba,ba ON t10 BEGIN UPDATE t00 t00000 BEFORE UPDATE OF a,ba,ba,ba ON t10 BEGIN UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r000.r0000; END; INSERT lNTO t10(a)VALU/S('000'); F\CREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a,ba5ba ON t10 BEGIN UPTE t00 SET u0= u0000+1 WHERE r00000= o00.r0000; END; INSERT INTO t10(a)VALUES('000'); F[CREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a,b,ba,ba ON t10 BEGIN UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r0000; END; INSERT INTO t10(a)VALUES('000'); T7bsDROP TABLE IF EXISTS t0; CREATE TaBLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1,X''); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c, .14) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,40e024) FROM t1; INNSESa+WITH i(x) AS ( VALUES(1) UNION ALL SELECT total(1) i LIMIT 5) SELECT x FROM i; r`iSELECT sqlite_compileoption_used('SQLEFT_THREADSAFE');SELECT sqlite_compileoption_used('SQLEFT_THREADSAFE'); ]_?PRAGMA legacy_file_format (1); CREATE TABLE t1(a INTEGER PRIMARY KEY, b INT); INSERT INTO t1 VALUES(0,1); INSERT INTO t1 VALUES(1,1); INSERT INTO t1 VALUES(2,1); CREATE INDEX i0 ON t1(b); SELECT * FROM t1 WHERE b> 'a' Eme_CREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); CREATE INDEX t1a ON t1(a); CREATE INDEX t1b ON t1(b); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','12000'),('t1','t1b','10000'); ANALYZE sqlite_master; SELECT*,'0'FROM t1 WHERE a BETWEEN C AND 8 ORDER BY c; JdSELECT CAST(zeroblob(1000) AS tt);SELECT CAST(zeroblob(1000) AS tt); jcYCREATE TABLE t0000(a INTEGER PRIMARY KEY AUTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE UPDATE ON t0000 BEGIN INSERT INTO t0000(b) VALUES('000'); INSERT INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t0000000AFTER INSERT ON t0000 BEGIN INSERT INTO w0000(b) VALUES('000000'); INSERT INTO t0090(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); M >iACREATE TABLE t0(a, b); CREATE INDEX i0 ON t0(a); CREATE INDEX i2 ON t0(a,b); CREATE INDEX i3 ON t0(b,b); INSERT INTO t0 VALUES(randomblob(20),randomblob(20)); INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0; INSERT INTO t0 SELECT randomblob(20), randomblob(20)FROM t; whsPRAGMA synchronous=ON;PRAGMA synchronous=ON;PRAGMA synchronous=ON; PRAA synchronous=ON; PRAize; PRAPR7GMA synchrono`gEPRAGMA encoding=utf16 ;; PRAGMA encoding=utf16 ;; PRAGMA ncoding (1); PRAGMA encoding (1); afGCREATE 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 20s60 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE D=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SE8ECT ;k{BEGIN; CREATE TABLE n00be0s(a PRIM "a","b" b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; UPDATE n00be0s set a= oid, b =-'.200'; COMMIT; mj_CREATE TABLE t0(a, b); CREATE INDEX i0 ON t0(a);EXPLAIN CREATE INDEX i2 ON t0(a,b); CREATE INDEX i3 ON t0(b,b); INSERT INTO t0 VALUES(randomblob(20),randomblob(20)); INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0; INSERT INTO t0 SELECT randomblob(20), randomblob(20) FROM t0; INSERT INTO t0 SELECT randomblob(20), randomblob(25) FROM t0; ANALYZE; $$MmCREATE TABLE t1(a, b, PRIMARY KEY(a,b)); INSERT INTO t1 VALUES(9,1),(1,2); CREATE TABLE t2(x, y, PRIMARY KEY(x,y)); INSERT INTO t2 VALUES(3,3),(4,4); SELECT a, zeroblob(1) x FROM t1, t2 GROUP BY 1, 2; lCREATE TABLE t91(x); INSERT INTO t91 VALUES(1); CREATE TABLE t92(y INTEGER PRIMARY KEY,a,b); INSERT INTO t92 VALUES(1,2,3); SELECT 1 FROM t91 LEFT JOIN t92 ON a=22 OR b=3 OR a=22 OR b=3 OR b=3; Sn TABLE x9 AS SELECT * FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT S FROM x9 WHERE y IS NULL; SELECT 6 FROM t91 LEFT JOIN t92 ON a=2 OR b=3; SELECT 7 FRO t91 LEFT JOIN t92 ON a=2 AND b=3; SELECT + FROM t91 LEFT JOIN t92 ON a=20 OR b=30 WHERE y IS NULL; SELECT 9 FROM t91 LE=T JOIN t92 ON a=20 AND b=3 WHERE y IS NULL; K KqCREATE TABLE t00b AS SELECT "a","b"COLLATE''LIKE''LIKE' "a","b"COLLE''LIKE'',"b"COLLATE''LIKE''L; S0',"b"COLLATE''LIKE''L; 00b; 1piBEGIN IMMEDIATE;BEGIN IMMEDIATE;REINEREINDEX xouCREATE TABLE t0b(x); INSERT INTO t0b(rowid, x) VALUES( 1=01,10),(2,1 >>1); UPDATE t0b SET rowid=rowid+1 WHERE x=10; xnuCREATE TABLE t0a(a,b); CREATE TABLE t0b(x); INSERT INTO t0a VALUES('on0', 1); INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('0', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE a0800000060000006>02101000000%0080002001-01-01>02101000000%0080002001-01-010008000060000; i WWITH i(x) AS ( VALUES(1) UNION ALL SELECT x((((((((((I(((((((((((((((((((((((((((SELECT x(((((((((((((((((((((((((((((((((v(((((((<1 FROM i ORDER BY<1) SELECT x FROM i LIMIT 0001/01-0,#;  1DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators="); INSERT INTO t0 VALUES('TABLE IF EXISTS t fts4(tokenize=unicode61oneatwoBt0r00'); INSERT INTO t0 VTR`GGERone0000A0'); CREATE VIRTUAL TALECT * FROG fts4aux(t0); SELECd * FROM t0aux; /#CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT 8e02; 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;ANALYZEM CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(2,'000'); INSERT INTO t1 VALUES(1,'0'); INSERT INTO t1 VALUES(3,'000000'); SELECT *, ( SELECT a FROM (SELECT a,b,"a","b"y) ) FROM ( SELECT * FROM t1 ) AS x; jmFjJCREATE VIRTUAL TABLE t0 USING fts4(tokenize=porter, t,000000=s00000); JCREATE VIRTUAL TABLE t0 USING fts4(tokenize=simple, t,0,0000=s00000); >PRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a-b ),b)OR a- sqlite_version()$ODROP INDEX IF EXISTS MAIN.x000i; #CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT#0e02; 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;ANALYZE vPTT-SELECT sqlite_compileoption_used('SQ'); SELECT sqlite_compileoption_used('SQ'); 7uSELECT '1.0e64'/'1.0000e1.00621e64'/'1.0000e+2 62'; PRAGMA default_cache_size=-002888888888; PRAGMA default_cache_size=-002888888888; PRAGMA cache_size=-1888888PRAG8888888888; PRAGMA defiWSELECT sqlite_rename_parent( "X'a'a",'000','000');SELECT sqlite_rename_parent( "X'a'a",'000','000'); #MATTACH rtrim( 111, -11)as MAIN; CREATE TABLE t0a(a,b); CREATE TABLE t0b(x);EXPLAIN INSERT INTO t0a VALUES('on0', 1);EXPLAIN INSERT INTO t0a VALUES('on0', 2); INSERT INTO t0a VALUES('t00', 3); INSERT INTO t0a VALUES('00', NULL); INSERT INTO t0b(rowid,x)VALUES(1,1); INSERT INTO t0b(rowid,x)VALUES(2,200); INSERT INTO t0b(rowid,x) VALUES(3,300); SELECT a, count(b) FROM t0a, t0b WHERE@b)PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES(' slite_compileoption_used(1) -1'); INSERT INTO t0t0006 VALUES('ABX'); SELECT DISTINCT sqlite_compileoption_get(A)/a FROM t0t0006; -=_WITH i(x) AS ( VALUES( 1=11) UNION SELECT zeroblob(2001501-011) UNION SELECT zeroblob(2001501-011) FROM i) SELECT x FROM i LIMIT 11) FROM i) SELECT x FROM i LIMIT 20; + CCREATE TABLE VIEWt0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * F c=? AND d=? AND e=?; BCREATE TABLE ASCt0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * FRc=? AND d=? AND e=?; ACREATE TABLE ORt0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * FROM c=? AND d=? AND e=?; Q@'PRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INqERT INTO t0t0006 VALUES(' slite_compileoption_used(1) -'); INSERT INTO t0t0006 VALUES('ABX');SELECT DISTINCT sqlite_compileoption_get(A)/a(' slit FROM t0t0006; hfIQPRAGMA page_siAL; PRAGMA wal_autochecwal_autocheckpoint =100; PRAGMA journal_size_limit = 000e0;OH#SELECT sum(-9 || 223372036854775808);SELECT sum(-9 || 223372036854775808); =GCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00:00-8000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY 002; GFCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * FROd,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * FROM c=? AND d=? AND e=?; ECREATE TABLE AUTOINCREMENTt0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * ? AND e=?; D-CREATE TABLE CONSTRAINTt0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e));REINDEX * FROM c=? AND d=? AND e=?; _LMCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rREFERENCES jumpingREFERENCES'); SELECT rowid FROM t1 WHERE content MATCH 'runREFERENCES jump'; KLDETACH printf('0%-11111111q1% -11q1% -111111q1% -1111111111%0c0','0'); SK+DETACH printf('0%-1111111111q1% -1111111111%0c111111q1% -1111111111%0c0','0'); yJwCREATE TABLE t1(x, y DEFAULT(datetime('0 totaO(1)(1)@1avg(1)es'))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); D6DnPaCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT DISTINCT* FROM t0 WHERE glob(1,1)=? AND a=? AND b=? AND c=? AND d=? AND b=? AND c=? AND d=? AND e OR?AND b= a=? AND b=? AND c=? AND d=? AND b=? AND c=? AND d=? AND? @ND c=? ; 6OqCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(c,b,c,d,e)); SELECT DISTINCT* FROM t0 WHERE glob(1,1)=? AND a=? AND b=? AND c=? AND d=? AND b=? AND c=? AND d=? AND e OR?AND b=? AND c=? ; NCREATE TABLE t2(x,y,z); CREATE TRIGGER t21 AFTER INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2 BEFORE INSERT ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t03 AFTER UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER 2r0 BEFORE UPDATE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER tXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX010 AFTER DELETE ON t2 BEGIN SELECT 0; END; CREATE TRIGGER t2r12 BEFORE DELETE ON t2 BEGIN SELECT 1; END; DROP TRIGGER t2 >~>=?; 6RqCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT DISTINCT* FROM t0 WHERE glob(1,1)=? AND a=? AND 0 AND c=? AND d=? AND b=? AND c=? AND d=? AND e OR?AND b=? AND c=? ; 4QmCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT DISTINCT* FROM t0 WHERE glob(1,1)=? AND a=? AND b=? AND c=? AND d=?; SELECT DISTINCT* FROM t0 WHERE glob(1,1)=? AND a=? AND b=? AND c=? AND d=? AND b=? AND c=? AND d=? AND e OR?AND b=? AND c=? AND b=? AND c=? AND d=? AND e OR?AND b=? AND c=? ; n]ZnhYUSELECT 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 UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AS 'x' ORDER BY (2)ysXSELECT NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2 AUNULL UNION SELECT 1 UNION SELECT 2 AULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SEx' ORDER BY (2)y^ x; ;W{CREATE TABLE t3(a INTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 GROUP BY b, c< b, a, c, d, e< f,E; kV[WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1) SELECT x FROM i LIMIT 10/2sUkCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=?BETWEEN? AND time(1,1,A,1,b,e)); \ SELECT NULL,"a","a","b" UNION SELECT"b","a","a","b" UNION SELECT"b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNI UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2'x' ORDER BY "a","b"; [5SELECT NULL,"a","a","b" UNO UNION SELECT 1 UNION SELECT 2'x' ORDER BY "a","a","b" UNO UNION SELECT 1 UNION SELECT 2'x' ORDER "a","b"; vZqSELECT+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NULL "a","b" UNION SELECT "b"TL UNION SELECT 1 UNION SELECT NULL UNION SELECT 1 UNION SELECT 2 NNULL UNION SELECT 1 UNION SELECT 2'x' ORDER BY (2)ys x; 9HaCREATE VIRTUAL TABLE t0 USING rtree(i0 hiD(1), x0, x2, y1, y2 hiD); $`MCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, 3,a, '000', b, a,b, '000'COLLATE'000' FROM t1 GROUP BY 3,3,a, '000', 3,a, '000', b, a,b, '000' FR#_KCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' [a] FROM t1 UNION SELECT b,a, 1=1 COLLATE'000' FROM t1 ORDER BY 3,3,a, '000', 3,a, '000' (^UCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT time(1,1,1) a, b, '000' [a] FROM t1 UNION SELECT b,a, 1=1 '000' FROM t1 ORDER BY 3,3,a, '000', 3,a, '000' ]3CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diecritUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diecritcs=1'S('0'); INSERT """""""""""""""""""""""""""""); I0"""); cs=1'S('0'); INSERT """"""""""""""""""""""""""""""""""""""""""""""""""); I0"""); I0; I 1`u 1ihWWITH i(x) AS ( VALUES( avg(1)-011) UNION ALL SELECT 1=1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 204 igWWITH i(x) AS ( VALUES( avg(1)-0=1) UNION ALL SELECT 1=1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 04 ifWWITH i(x) AS ( VALUES( avg(1)-011) UNION ALL SELECT 1=1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 84 ePRAGMA page_sidL; PRAGMA wal_autocheckpoint ==333333333333333333333333333333333333333333333333 WAL; PRAGMA journnal_size_mit = 10.0 ; \d=PRAGMA page_sidL; PRAGMA wal_autocheckpoint == WAL; PRAGMA journal_size_limit = 10.; PRAGMA journal_size_limit =010.; PRAGMA wal_autocheckpoint == WAL; PRAGMA journal_size_limit = 10.; PRAGMA journal_size_limit =0 ; xcuPRAGMA psiL; PRAGMA journal_size_limit = 10.; PRAGMA journal_size_limit = 10.0 ; PRAGMA journal_size_limit = 10.0 ; b=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (20e0201,011,9) ORDER BY b; I\IvmqCREATE TABLE t1(x, y DEFAULT(datetime('2001-81-01 '))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); &lQCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1 ORDER BY 002; 2kiCREATE TABLE t000(a PRIMARY KEY, b) WITHOUT rowid; CREATE INDEX t0000 ON t000(a); INSERT INTO t000 VALUES('s','s0'),(-hex(2<01),'000'),(-hex(-01-011),'000'),(-hex(1),'m00'); 6jqCREATE 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'); iEDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB͹̹عƹ"); INSERT INTO t0 VLU qCREATE VIRTUAL TABLE t1 USING fts3(content, toenizntent, toe:orter); INSERT INTO t1(rowid, cot) VALUES(1E'); qELECT roFROM8puCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruyness and juCROSS'); SELECT rowid FROM t1 WHERE content MATCH 'runCROSS'; Do CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runnEEEEEEEEEEEED t1 WHERE crunnEEEEEEEEEEEED t1 WHEog ant jumping'); SELECT rowid n ju `nEDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts4(c); INSERT INTO t1(docid,c)VALUES(1,'i0 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'T000 w0s 0 te00'); INSERT INTO t1(docid,c)VALUES(3, 'T0is i0 0 test'); DELETE FROM t1 WHERE abs(1)IN (1,3); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3( ) 3tkDROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, julianday(1,1,1)); INSERT INTO t1 (docid, c) VALUES (2, strftime(1,1,1,1)); INSERT INTO t1(docid, c) VALUES (3,3); SELECT OPTIMIZE(t1) FE FROM t1 WHERE $ocid IN(1,3); SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; esOCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1 -100000000, '002001-0B-02001-0B-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; GrCREATE 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='CRI)' WHERE name='t1a'; UPDATE sqlite_master SET sql='CREAT TA=?; %CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=C AND c=D AND d=? AND b=? AND c=? AND e=?; %CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=A AND c=D AND d=? AND b=? AND c=? AND e=?; ?4m?| }PRAGMA auto_vacuum=INCREMENTAL; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 VALUES(zeroblob(142001-01-01501E01-0100)); INSERT INTO t0 SELECT 8 FROM t0; INSERT INTO t0 SELECT sqlite_source_id() x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT round(1,1) BEGIN; DELETE FROM t0 WHERE rowid%6; PRAGMA incremental_vacuum(); ROLLBACK; *YCREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b q FROM x AS x1, x AS x2 WHERE x1.a; SELECT total(A)p FROM y AS y1, y AS1, x AS y1, y AS y1, y AS y1, y AS y y1; C CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y AS1, x AS y1, y AS y1, y A1, y AS y1, y AS y y1; HDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtϽ߽ ޽NOTN޽ blobNOTNULL00'); ALU |-Db|b%ICREATE TABLE t102 (i0 TEXTUNIQUE 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)); ^$ACREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' sqlite_version(),1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' 1=1 -1foo 1=1 1 sqlite_version()=1'; e#OCREATE VIRTUAL TABLE ft USING fts4(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('foo', 'foo'); SELECT offsets(ft) FROM ft WHERE ft MATCH 'foo -2001-01-012001-01-011 -2001-01-011 -1'; f"QWITH i(x) AS ( VALUES(1) INTERSECT SELECT raavg(1) x FROM i ,I1) SELECT avg(1) x FROM i ,I, i ,I; g!SWITH i AS ( VALUES(1) INTERSECT SELECT randomblob(1)i ORDER BY 1) SELECT avg(1) x FROM i ,I, i ,I; wet*mCREATE TABLE t0(a, b); SeLECT DISTINCT*,"ba","b",oid,"b""a","ba","b" "a","b""""a","baa","ba","b", *,"ba","b",oid,"b""a","ba","b", *,"ba","b",count(*)FROM (SELECT "ba","b""""i","ba","b","b",oid,"b""a","ba","b",count(*)a FROM t0) WHERE a==0; V)1CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t102 NATURAL JOIN t102 AS LEFURAL JOIN t102 AS CEFT JOIN t102 t1 ON t1.i0 NATURAL JOIN t102 AS t2; (WITH i(x) AS ( VALUES(1) UNION ALL SELECT length(1) FROM i ORDER BY 1) SELECT 1=1/ randomblob(1)- random()x FROM i LIMIT 10 -7; 'WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/ randomblob(1)- random()x FROM i LIMIT 14 -7; &WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(1) FROM i ORDER BY 1) SELECT 1=1/ randomblob(1)- random()x FROM i LIMIT 30 -7; RT*RT/-DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB t0ٹ˹ٹ˹ٹ˹ù "a"kenize=un"); RT U./CREATE VIRTUAL TABLE t0 USING rtree(i a hIDDEN blobDE /* */, y1,a hIDDEN bl y2); -CREATE TABLE t102 (i0t0006 UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURQL JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 ASANDE JOIN t102 tANDE JOIN t102 FT JOIN t102 ONNDE JOIN t102 FTLEFT JOIN t102 t JOIN t102 A0)); =,CREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b",oid,"b""a","ba","b", *FROM (SELECT DISTINCT"bab"id,"b""a ","b",oid,"b",oid,"b""a","ba","b", *FROM t0) WHERE a==0; (+UCREATE TABLE t0(a, b); SELECT DISTINCT "a","b""""a","ba","b"yPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','0',1); INSERT INTO t1 VALUES(2,'00','e',5); INSERT INTO t1 VALUES(3,'000','000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(1,B) AuAoCREATE TABLE blob0(k, v BLOB); INSERT INTO blob0 VALUES(1-0, zeroblob(length(CAST( hex(:001-01-011) AS CLOB)))); ;@{CREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(a,c,d,g,g,g,g); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','600000 160000 40000 10000 2000 600@100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; ss BDROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b, c); INSERT INTO t1 VALUES(1, -11,'0000'); INSERT INTO t1 VALUES(102001-01-01,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40, 1, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o000'); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE@typeof(1)NOT BETWEEN [a]AND 60; D<@DxGuPRAGMA 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; xFuPRAGMA 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; E7SELECT sqlite_rename_parent( " a.b>>>>>.>>>>0|||||||||||h|||||||||||| |||||||||f||||||||||||||||||||||||||||||esX",'000','000'); 4DmSELECT sqlite_rename_parent( " a.b>>>>>>>>>>0||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||es>>>>>>X",'000','000'); lC]WITH i(x) AS ( VALUES( 1=11) UNION ALL SELECT min(1,1) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 04 tImPRAGMA 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; |H}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; aJGPRAGMA 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) FROMt3; 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 "u">NCREATE TABLE t000(c0 aba,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; 'MSCREATE TABLE t102 (i0 TEXTUNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 AS LEFT JOIN t102 t1 ON t0.i0 ISNULL) ); bLICREATE 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) ; KCREATE 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'; AHQPRAGMA 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) FROMt1; 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 ;P{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 ;O{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 `0`LSPRAGMA 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) FROMt1; 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 LRPRAGMA 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) FROMt1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) FROMt1; INSERT INTO t1 SELECT sqlite_compileoption_get(1) /* 64 rows */ BEGIN; UPDATE t1 SET x = randomblob(22001-01-0100);REINDEX UqU YWITH 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; XWITH 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; WWITH 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; VWITH 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; UWITH 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; aTGCREATE 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 -i?C-`-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 d500 AND t2.i0-t1.i0)); CREATE TEMP TABLE t0001(B '*?? *0*??????????E000'aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *0*??????????E000'; @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; *]- _DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB榦榦"); INSERT INTO t0 VALUES('ERT [ ;PRAGMA encoding=UTF16be; CREATE TABLE t0tϐ𐹀Uϐ0S('ab0');VACUUM l ]PRAGMA encoding=UTF16be; CREATE TABLE t0tϐᐐ0US('ab0');VACUUM g SCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('INTO x0 SELECT * FROM xNSE0 b c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0#S0; gSCREATE 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; M`'McKWITH i(x) AS ( VALUES(1) UNION SELECT (x ||0e0)&102001-01-01 FROM i) SELECT x FROM i LIMIT 203 qgWITH i(x) AS ( VALUES(1) UNION SELECT (x || randomblob(1) +1)TRANSACTION01 FROM i) SELECT x FROM i LIMIT 203 jYWITH i(x) AS ( VALUES(1) UNION SELECT (x || avg(1) +1)TRANSACTION01 FROM i) SELECT x FROM i LIMIT 203 cKWITH i(x) AS ( VALUES(1) UNION SELECT (x || +1)TRANSACTION01 FROM i) SELECT x FROM i LIMIT 303 cKWITH i(x) AS ( VALUES(1) UNION SELECT (x || +1)TRANSACTION01 FROM i) SELECT x FROM i LIMIT 603  =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 z4zcKPRAGMA encoding=UTF16le; CREATE TABLE t0t0t0t(_TIMESTAMPPRIMARY Y); t0t@VAL\=CREATE TABLE t102 (ASCi0m000 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)); 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; cKWITH i(x) AS ( VALUES(1) UNION SELECT (x ||0e0)* /* */-01-01 FROM i) SELECT x FROM i LIMIT 203 cKWITH i(x) AS ( VALUES(1) UNION SELECT (x ||0e0)*1.2001-01-01 FROM i) SELECT x FROM i LIMIT 203 cKWITH i(x) AS ( VALUES(1) UNION SELECT (x ||0e0)%102001-01-01 FROM i) SELECT x FROM i LIMIT 203 4c4D 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 (UDROP 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(1); DROP TABLE IF EXISTS t; ALTER TABLE t1 RENAME TO t1o0d; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid,c) SELECT docid, c FROM t1o0d; DROP TABLE t1o0d; 7sCREATE 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, 7CREATE 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, H:h!UCREATE 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)M SELECT sqlite_rename_parent( ":memory:ES:memory:CES",'000'ISNULL,'000'); ^ASELECT sqlite_rename_parent( "REFERENCES 0@s?REFERENCES 0@sEFERE [a]",'000'ISNULL,'000'); )WCREATE VIRTUAL TABLE x USING fts4(y,ALUES000,bbb REGEXP'bb0'); SELECT * FROM x where y MATCH 'bbb NEAR/6 000 VIRTUAL TABLE x Y::::::::: x where y:::SING fts4(y,'; 4mCREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=c); INSERT INTO t4 VALUES('t changes()ext0ne', 'CURRENT_IME0000', 'te'); INSERT INTO t4(t4) VALUES('integrity-check'); * %CREATE VIRTUAL TABLE x USING fts4(y,ALUES00S000,0, a,bREGEXP'bbb 000'); SELECT * FROM x where y MATCH 'bbb N`AR/6 0::::G fts4(y,'; $$MSELECT * 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),:#yPRAGMA 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 l"]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) >?o+>u,oCREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDi0 hiDDENDINCT x2INCi0 hiDDENDi0 hiDDENDINCT x2IT x2, v1, y2); r+iCREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDi0 hiDDENDIDDENDi0 hiDDENDINCT x2INCNCT x2INCT x2, v1, y2); p*eCREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDi0 hiDDENDINCT x2INCT i0 hiDDENDi0 hiDDENDINCx2, v1, y2); e)OCREATE VIRTUAL TABLE t0 USING rtree( [a]i0 hiDDENDi0 hiDDENDIN hiDDENDi0 hCT x2INCT x2, v1,By2); f(QWITH i(x) AS ( VALUES(1) UNION ALL SELECT-randomblob(1)i GROUP BY 1) SELECT avg(1) x FROM i ,I;I; L'DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtϽOĽtϽOİ blob00'); INSERT INTO t0 VAL =&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 DD8-uCREATE 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 ?1 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=:0 OR~~~~~~~2 OR ?1OR~~~~~~~~~~2 OR ?1OR b=3 WWB/ 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; _.CCREATE 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~~~~~~~~20 OR~~~~~~~~~~~~~~~~~~~2 OR ?1OR~~~~~~~~2 OR ?1OR b=3 k k 2ECREATE 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 v1qCREATE 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 DE JOIN t102 tANDE JOIN t102 FT JOIN t102 gNEFT JIN t); s0kCREATE 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 JIN t); (k(*5YCREATE 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 y4'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';3'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'; rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr randomblob(1)rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr0esrrrrr]rrrrrrerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I 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'); 6CREATE 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 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, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr x1(docid,a,b,c)rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr randomblob(1)rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr]rrrrrrerrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I Q P', 'X Y 0 L S'); INSERT INTO x1(docid,a,b,c) VALUES(7, '0 Y', :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'); ^z^:CCREATE 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; v9qCREATE TABLE t1(x, y DEFAULT(datetime(' @1av'))); INSERT INTO t1(x)VALUES(1); INSERT INTO t1(x)VALUES(1); h8UCREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V M 0 7CREATE 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(4, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr 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', 'R0 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(d ocid,a,b,c) VALUES(14, 'K 0 A B L', 'S R 0 C TO x1(docid,a,b,c) VAʱ񱱱); INSZ', '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'); pPY IAPRAGMA encoding=UTF16le; CREATE TABLE t0tϐ ('ab0'); I@PRAGMA encoding=UTF16be; CREATE TABLE t0tϐS('ab0'); d?MPRAGMA encoding=UTF16le; CREATE TABLE t0tϐS('abTABLE t0tϐ0'); >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; =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; <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; ;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; HiDWCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t0.i0< t0.i0 OR(50 AND t0.i0=t1.i0 AND t0.i0=t2.i0) AND t0.i0>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|||||||||||||||||||||||||||||-01f00', '000'); RW)SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('200????1-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>N>>>>>&>TEMPORARY>>>>>>>>>-01f00', '000'); RV)SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('200????????-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>N>>>>>&>TEMPORARY>>>>>>>>>-01f00', '000');  YPRAGMA 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;  ZPRAGMA 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; of |vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ x u q n m l k j i h e _ \ Y T ٸ ظ ׸ ָ շ} Էv ӷq ҷk ѷf зb Ϸ` ηZ ͷV ̷R ʷN ȷL ǷH ƷD ŷA ķ< ÷7 ·2 / - + ) ' $         ~ z u q l f a ^ [ Z Y X U T S R Q P L G D A : 6 5 L G E B = 9 5 2 . + & ߸" ޸ ݸ ܸ ۸ ڸ 2 / - , % !       { w O t r o ~l }g |d {` zY yS xQ wN vJ uI tG sB  [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, 1=1||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||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; T)TQ^'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 ;]{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, c, b< b \-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; IAIaCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1)', 'foo'); INSERT INTO ft VALUES('xtension(11)', '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 o`cCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1)', 'foo'); INSERT INTO ft VALUES('xtension(11)', '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 ;_{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 UaIfPRAGMA 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 e)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/dcCREATE 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'cSCREATE 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'bSCREATE 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 _y-l_CREATE VIRTUAL TABLE x USING fts4(y,A,UES00S000,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,'; 0keCREATE VIRTUAL TABLE x USING fts4(y,A,UES00SSSSSSSSSSSSSSSSSSSSSSSSSS000,0,bbb REGEXD'bbb 000'); SELECT * FROM x where y MATCH 'bAb N`AR N`AR/6 0:::/6 0::::G fts4(y,'; j+CREATE VIRTUAL TABLE x USING fts4(y,A,UES00S000,0,bbb,REGEXP'bbb'); SELECT * FROM x where y MATCH 'bbb N`AR N`AR/6 0:::/6 0::::G fts4(y,'; #iKCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 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'; $hMCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 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'; g?CREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 b"b c00', 'b`b* a,b/B 000''b"b 0a0'); SELECT * FROM x where y MATCH 'b`bNEAR/6 000'; gqSCREATE TABLE x(a,b); SELECT total(1)p, x2.b AS q FROM x AS x1, x ON x2 USING ( a, a, a, a,a)=x2; SUp/CREATE VIRTUAL TABLE x USING fts4(y,ALUES04S0ppppppppppppppppppppppp00,/,bCb,REGEXP'bbb'); SELECT * FROM x where y MATCH ':memory:/6 0DDDDIRTUAL TABTE VIRTUAL TABLE x USING ftsLE x USIN::::::ftb4(y,'; AoCREATE VIRTUAL TABLE x USING fts4(y,ALUES00S000,/,bbb,R,GEXP'bbb'); SELECT * FROM x where y MATCH ':memory:/6 0DDDDIRTUAL TABTE VIRTUAL TABLE x USING ftsLE x USIN::::::ftb4(y,'; unoCREATE 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 _mCCREATE 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)); iuWCREATE 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.i0t2.i0) AND t2.i0a FROM t0t0006; 3mSELECT@10 IN (SELECT group_concat(,1)_mastur); EBEGIN 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 ]?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 jj)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; b5jb: {SELECT sqlite_compileoption_used('ENAbDTHREADSAFE=0'); GCREATE 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; GCREATE 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; GCREATE 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;  [ 7$sCREATE 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; 5#qSELECT CAST ( substr(1, -1)AS AUTOINCRDOUBTREDL); E"DROP INDEX IF EXISTS MAIN.x000i;DROP INDEX IF EXISTS MAIN.x000i; !!GCREATE 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 witama=OFF; ALTER TABLE t1 RENAME TO t10; PR mf'QCREATE 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 ; f&QCREATE 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 ; %#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 ::_)CCREATE 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; _(CCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('CURRENT_TIME0b 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; ::_+CCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('CURRT_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; _*CCREATE 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; ::_-CCREATE 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; _,CCREATE 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; 33f/QCREATE 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; _.CCREATE 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; +&2QCREATE 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=?; f1QCREATE 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 g0SCREATE 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; 1{ 1k7[WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1) SELECT x FROM i LIMIT 10/3k6[WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1) SELECT x FROM i LIMIT 30/2k5[WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1) SELECT x FROM i LIMIT 50/2k4[WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1) SELECT x FROM i LIMIT 90/23+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 V%VK<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; K;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; K: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; K9CREATE 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; k8[WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1) SELECT x FROM i LIMIT 1012 TXT@ACREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running ant Jgggggggt1 WHERntent Mrecei0eHERE content Mrecei0edt jumping'); CCH H@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'); 6?qCREATE 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'); 6>qCREATE 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'); $=MCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, 3,a, '000', b, a,b, '000'COLLATE'000' FROM t1 GROUP BY 3,3,a< '000', 3,a, '000', b, a,b, '000' FR #C@DCREATE 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  YL7CREATE 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"bYK7CREATE 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"JJCREATE TABLE VIEW AS SELECT "x" "a","b"LECT,"b"LECT "x" "a","b"RENENA sIkCREATE 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'; 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'); o9o>NCREATE 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 Se0000 ˋ;M{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 000. 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 Qo^RACREATE 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^QACREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(1000-0000000.00000, '02001-01-0T0%) INSERT 00.0000(docid, x) VALUES(0, 0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDE^PACREATE 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 '0*' ORDER BY docidDE+O[CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rujlllllYYYYYYYCREATEALLY;YYYYALLY'); SELECT rowid FR "EVDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=a"); INSERT INTO t0 VALUES('dneatwoBtϽ߽ ޽NOTN޽ORNOTNULL00'); AL UCREATE 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=?7ShTUPRAGMA 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 nSaPRAGMA 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 ,FQLZCREATE 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'; qYgCREATE 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; bXICREATE 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)); PW%DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('dneatwoBtϽ߽ ޽NOTN޽ORNOTNULLtϽ߽00'); AL bo"`ICREATE TABLE t000(c0 a,c a,b000,INT0,ba,b,,I, a,b0,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000 NATURAL JOIN t000 AS c000;; ,_]CREATE TABLE t000(c0 a,c a,b000,INT0,ba,b,,I, a,b0,INT0000); SELECT c000,* FROM t000 NATURAL JOIN t000 AS c00000 NATURAL JOIN t000 AS c000;; ,^]CREATE TABLE t000(c0 a,c a,b000,INT0,ba,b ,I, a,b0,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00000 NATURAL JOIN t000 AS c000;; ,]]CREATE TABLE t000(c0 a,c a,b000 INT0,ba,b,,I, a,b0,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00000 NATURAL JOIN t000 AS c000;; \#CREATE TABLE t000(DEFERREDa,b000,INT0,ba,b,,I, a b0,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000; [9CREATE TABLE t000(c0 a,ba,b,,I, a,,,I000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; D)DabGPRAGMA 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) FROMt3; 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 Sa+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; ~4~f1WITH 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; eWITH 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 dWITH 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; HcPRAGMA 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) FROMt1; 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(72001-01-0100);REINDEX **Vk1CREATE 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 Sy1, y AS1, y S1, y AS M x Yj7CREATE 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 Sy1, y AS1, y S1, y AS M x ,i]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 mh_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 Sy1, y A,(y AS1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y) y y1, y{g{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 B&Blq]PRAGMA encoding=UTF16be; CREATE TABLE t4tqUS('abTF16be; CRE.TE TABLE t0tϐ0');VACUUM _pCPRAGMA encoding=UTF16be; CREATE TABLE t0tϐ0tϐUS('ab0');VACUUM oCREATE TEMP TABLE t0000(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *0*??????????E000'; nnaCREATE TEMP TABLE t0000(aӝӜ); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*?? *0*[?????????E000'; m!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 Sy1, y AS1, y S1,(SELECT $tota|(1)p FROM y AS y, y S1, y AS y1)p FROM xVl1CREATE 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 Sy1, y AS1, y S1,( y S1, y AS y1)p FROM x E vCREATE 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 randomblob(1) OR Te0tId/0; Te0tId=2; CEFROM Re00T000e ORDER BY 1; M~SELECT sqlite_rename_parent( ":memory:ES:memory:C:S",'000'ISNULL,'000'); ss5WITH 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 ~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 ~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 ~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 ~WITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRFRO, a.b,O. * ,I, a.b,O. * ,I,i ORDER BY 1) SELECT x FROM i ,I,I,I? 1 iWCREATE 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 D0eCREATE 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';8uCREATE 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'; nRn2n@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,a,a, '000' , 2, '000' , 2, 3,a, '000' ,a, '000' , 2, a,b,"b" hUPRAGMA encoding=UTF16le; CREATE TABLE t0tϐS('abTABLE t0tϐVIEW0'); dMPRAGMA encoding=UTF16be; CREATE TABLE t0tϐS('abTABLE t0tϐ0'); g SPRAGMA encoding=UTF16be; CREATE TABLE t0tϐS('ab0'); I PRAGMA encoding=UTF16be; CREATE TABLE t0tϐ ('ab0'); I PRAGMA encoding=UTF16be; CREATE TABLE t0tϐS('ab0'); I PRAGMA encoding=UTF16be; CREATE TABLE t0tϐS('ab0'); * YCREATE 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 86q8R)SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('200??????#?1-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>||||||||`||||||||||||||||||||-01f00', '000'); R)SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('200??????#?1-01>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>||||||`||||||||||||||||||||||-01f00', '000'); CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1' 'remove_diacritics=1' 'remove_diacritics=1'""1'"seXa'); ACREATE 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'; FCREATE 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"   SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('200??????#?1-01>>|||||||||||||||||||||||||-01f>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|||||||||||||||||||||||||||||||||||||||||||||||-01f00', '000'); l]SELECT SQLITE_RENAME_TABLE(0,0); SELECT SQLITE_RENAME_TABLE(00,20); SELECT SQLITE_RENAME_TABLE('200????||||||||||||||||||||||-01f??#?1-01>>>>J>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>|||||||||||||||||||||||||||||-01f00', '000');  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; [+[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 A)p FROM x AS y1, y AS y+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 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; +VW3PRAGMA 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 Q'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 UPDATE SET NULL);REPLACE INTO t1 VALUES(13); I Q'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 Q'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); I ##:"yCREATE VIRTUAL TABLE x USING fts4(y,A,UXS00S0000,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,'; !-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);   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);  o p&eWITH i(x) AS ( VALUES(1) UNION ALL SELECT min( ltrim(1,?)) +1 FROM i ORDER BY 1) SELECT x FROM i LIMIT 603 k%[#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; i$WCREATE 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.i0kCREATE 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; \eEOCREATE 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@bVD1CREATE 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; CECREATE 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, yyG9CREATE 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 t2eFOCREATE 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 fJZfpLeSELECT 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)yslK]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;IKJCREATE 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; vIqWITH 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/3kH[WITH i(x) AS ( VALUES(1) UNION ALL SELECT datetime( 1=11) FROM i ORDER BY 1) SELECT x FROM i LIMIT 14/3 ^OACREATE 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 docidDENSELECT 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;IMSELECT 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 HpH6TqCREATE 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; !SGCREATE 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= ERDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=a"); INSERT INTO t0 VALUES('dneatwoBϽ߽ ޽NOTN޽ORNOTNULL00'); AL QCREATE 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|P}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 7)[7>YCREATE 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; KXCREATE 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;; W#CREATE TABLE t000(D,FERREDa,b000,INT0,ba,b,,I, a b0,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000; JVCREATE 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; SU+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; {%]{^\ACREATE 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 Sy1, y AS1, y S1,( y S1, y AS y1)p FROM xD[ 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) FROMt1; 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 WZ3CREATE TABLE t000(c0 aba,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; mp|m _BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER 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; p^eCREATE 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) ]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 WHEdREFERENCES|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||esREFERENCES>>>>>X",'000','000'); #CREATE TABLE t000(D,F,RREDa,b000,INT0,ba,b,,I, a b0,INT0000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c000; ?CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(100000000000.00000, '001-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^ACREATE 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 *5* BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER 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; CE Re00T000e ORDER BY 1; G 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  ocWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(1))FROM i GROUP BY@1) SELECT x FROM i LIMIT 003 r iCREATE 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  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 q gCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a 'a''b', 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,b,"b",a,a, '000' , '000' , 2, 3,a, '000' ,a, '000' , 2, a,b,"b" ^^V1CREATE 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; V1CREATE 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; ywWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(2001-01-011))FROM i GROUP BY 1) SELECT x FROM i LIMIT 003 ocWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(1))FROM i GROUP BY 1) SELECT x FROM i LIMIT 503 E9EpeCREATE 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)?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;; &QCREATE 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;; V1CREATE 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;    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" peCREATE 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)peCREATE 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) 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"  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"  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" #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" 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" 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" "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" !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" 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" Y!&GCREATE 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)bq); C%?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)bq); Ca,q)bq); n $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)bq); Cr#iCREATE 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 ]D+;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;; &*QCREATE 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;; o)cWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(1))FROM i GROUP BY@1) SELECT x FROM i LIMIT 005 #(KCREATE 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)bq); C'CCREATE 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)bq); C p.eCREATE 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)--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 Sy1, y AS1, y S1, y A, y CS1, y Sy1, y AS1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS1, y S1,( y S1, y AS y1)p FROM xw,sCREATE 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 Sy1, y AS1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS1, y S1,( y S1, y AS y1)p FROM x 1)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" 0)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" /)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" :4yCREATE 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" 3?CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT total(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,a, b,"b",a,a, '000' , '000' , '000' , '000' , 2, 3,a, '000' ,a, '000' , 2, a,b,"b" 2CREATE 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" 1l1 9CREATE 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)bq); C'8SCREATE 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); C7CREATE 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))bq); C6CREATE 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" 5CREATE 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" kak$=MCREATE 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" $<MCREATE 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" ";ICREATE 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;; :;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;; pp.@aCREATE 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" +?[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" +>[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" ww+C[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" +B[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" 'ASCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT 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" ss+F[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" +E[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" +D[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" ~~$IMCREATE 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" .HaCREATE 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" $GMCREATE 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" {L{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', 2b" $KMCREATE 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" 'JSCREATE 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" O-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" NCREATE 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" M 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" NNhQUPRAGMA 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@sqlsource_id()LIKE x FROM t0; BEGIN; DELETE FROM t0 WHERE rowid%2; PRAGMA incremental_vacuum(4); ROLLBACK; BP 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" uJlu VCREATE 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, RU)SELECT sqlite_compileoption_used('S'); SELECT sqlite_compileoption_used('S'); ZT9CREATE 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; GSSELECT printf('0%110.103s0', -1);SELECT printf('0%110.103s0', -1); hRUBEGIN TRANSACTION; CREATE TABLE t1(a,b load_extension(1,1),y); CREATE TRIGGER r0AFTER 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); 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); INSE RT INTO"seas0ns"VALUES(8,0,0); INSERT INTO"seas0ns"VALUES(9,0,0); CREATE TABLE art(a00000 INTEGERPRIMARY 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','00 000','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); 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); INSE RT 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','00 000','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); ^;Y{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; INNSEvXqCREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a< CAST(a AS blob int000)< CAST(a AS bloX int000) FROM t0; WCREATE 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,  ]]ZCCREATE 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); yy[ 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; lkRlb`ICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%r0%n',a,b,c) FROM t1 ORDER BY 00001; _PRAGMa auto_vacuum= incremental; PRAGMA auto_vacuum= incremal; PRAGMA auto_vacuum= incremeBncremal; PRAGMA auto_vacuum= inLE t1(F^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); @]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; \'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""); 4c)CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE -0 AND b=? AND c AND b=? AND c=? AND d=? AND e=? AND d=? AND e=B; bbICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf( trim(1,1),b,c) FROM t1 ORDER BY 00001; baICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%n0% ',a,b,c) FROM t1 ORDER BY 00001; of u|vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$     ~~ }{ |x {t zp yl xh we v` u[ b a ` _ \} Y| Xz Wv Vt Ks Jm Ig Hd Ga F] EY DV CR BN AJ @E ?A >= =: <7 ;3 :, 9% 8 7 6 5 4 3 2 1 0 / - + *y )u (r 'n &l %i $g "c !` [ Z Y V Q O L I F C @ = 9 4 sO rL qH pE oD nC m@ l< k8 j5 i1 h- g' f# e d c 1 . + & "          tU | x u q n m l k j i h e _ \ Y n[ATE='ab0/, b; ?kSELECT likelihood(NULL, 0.5);SELECT likelihood(NULL, 0.5); j9CREATE TABLE t0t0000(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0000 VALUES('ab00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000');REPLACE INTO t0t0000 VALUES('AB000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000OF0000000000000000000000000000000'); SELECT DISTINCT+a FROM t0t0000; GnG#nKCREATE TABLE t15(a INTEGER PRIMARY KEY, b); INSERT INTO t15(a,b)VALUES(10,'0'),(20,'000'),(30,'000'); ALTER TABLE t15 ADD COLUMN c; CREATE INDEX t000 ON t15(c); INSERT INTO t15(a,b) VALUES(5,'000'),(15,'000'),(25,'000'),(35,'000'); UPDATE t15 SET a=printf("0% ",a) WHERE c IS NULL; SEa; m!CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, nullif(?,1) b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32,b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; PgP?rSELECT 1 UNION SELECT 2,3 UNION SELECT 4,5 ORDER BY a.ba.bCq PRAGMA encoding=UTF16be; SELECT hex(ltrim(~ "a","b")) "a","b"; pCREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, RTRIM(1)b FROM t1; INSERT INTO t1 SELECT a+64,b FROM t1; ANALYZE; o/CREATE TABLE t1(a,b); CREATE INDEX t0a ON t1(a); CREATE INDEX t0b ON t1(b); INSERT INTO t1 VALUES(1,NULL); INSERT INTO t1 SELECT a+1, b FROM t1; INSERT INTO t1 SELECT a+2, b FROM t1; INSERT INTO t1 SELECT a+4, b FROM t1; INSERT INTO t1 SELECT a+8, b FROM t1; INSERT INTO t1 SELECT a+16,b FROM t1; INSERT INTO t1 SELECT a+32, upper(1)b FROM t1; INSERT INTO t1 SELECT a+64, trim(1,1)b FROM t1; ANALYZE; *.*auGSELECT 10 INTERSECT SELECT 20 ORDE INTERSECT SELECT 20 ORDERRT0 INTERSECT SELECT 20 ORD BY 1 t=PRAGMA main.cache_size= 10; PRAGMA temp.cache_size =310; CREATE TABLE temp.tt(a, b); INSERT INTO tt VALUES(randomblob(500), randomblob(600)); INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(52001-01-9100), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; INSERT INTO tt SELECT randomblob(500), randomblob(600) FROM tt; Ns!CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS p, x2.b AS q FROM x AS x1, x AS x2 WHERE NOT NOT(Q)=x2.a; CREATE VIEW z AS SELECT y1.p, y2.p FROM y AS y1, y AS y2 WHERE y1.q=y2.q; SELECT * from z; =wxyuBEGIN TRANSACTION; CREATE TABLE t1(a,b); CREATE TABLE t0(x,y); CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.a = 0 BEGIN INSERT INTO 'a''b' VALUES(new.rowid,1); INSERT INTO ANALYZE 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.rowid;SELECT END; INSERT INTO t1(a,b) VALUES(0,0);SELECT CO; bxICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[^ [-] *@'; Bw CREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN 1=1+( 0 AND ?120) THEN raise(rollback, '00') END; END; INSERT INTO foo(bar) VALUES (0) ?vCREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN 1=1+( 0 AND :0) THEN raise(rollback, '00') END; END; INSERT INTO foo(bar) VALUES (0) ~t ~/CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,a,d,e,c,d,b,e,c,d,b,c,d,e,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=NOT? AND d=? AND e=?; ~CREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,f,c,d,e,b),UNIQUE(a,b,c,d,e,f)); I(5,10000); INSERT INTO t5 VALUES(2,3,4,5,6,20000);REINDEX g}SWITH i(x) AS ( VALUES( 1=11) UNION SELECT randomblob(12001-01-01)FROM i) SELECT x FROM i LIMIT 20; g|SWITH i(x) AS ( VALUES( 1=11) UNION SELECT randomblob(2001-01-011)FROM i) SELECT x FROM i LIMIT 20; J{SELECT avg( ?18)LIKE $00s0 LIKE $::0 LIKE $::0000003; IKE $::000003; ;z{CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 'remove_diacritics=1'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('0'); INSERT INTO t0 VALUES('\0');VACUUM ('W0000'MATCH'sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet w e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); j=&QSELECT 1000000%00000300000101000000%00800000060060001000000%0080000006000101000000101000000%008000001000000%00800000060060001000000%06000000000008000060000; 3CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS [a]OR+NULL; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT *a CREATE VIRTUAL TABLE t2 USING fts4(prefix='02,3'); INSERT INTO t2 VALUES('00 02 S00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VA . CREATE VIRTUAL TABLE t2 USING fts4(prefix='0,2,3'); INSERT INTO t2 VALUES('00 02 S00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES ,LUES('0'MATCH'sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet w e000, w00 he'); INSERT INTO t2 VALUES('0u0 0 p00 w000 0a00 f0r a b000 o0'); INSERT INTO t2 VALUES('0p00. 0r00 the0 he r00 th0 h000'); INSERT INTO t2 VALUES('and wa00 f00 0ol0''s 0u00 0r00 0h0 nort0.'); INSERT INTO t2 VALUES('00 10 September 0h0 wi00 d00 tu0000 an0'); INSERT INTO t2 VALUES('Wi00000''0 0le0t 0l00. A sto00 b000 u0 and 0he'); INSERT INTO t2 VALUES('fleet was f000 to 0a0e 0e0 00'); INSERT INTO t2 VALUES('Sain0-V00000-sur-Somme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2 VALUES('000 000 000 000 i0 E00 a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); N^N BEGIN; CREATE TABLE Re00T000e(T00000INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT-char(1)tSt FROM TempT000e LIMIT 9; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; ADROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INT0000); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(1); INSERT INTO t1 VALUES(2); INSERT INTO t1 VALUES(3); INSERT INTO t1 VALUES(1); CREATE TABLE t2(x); INSERT INTO t2 SELECT DISTINCT CASE@a WHEN A THEN randomblob(92001E01-01)WHEN A THEN zeroblob(5)ELSE '000' END FROM t1; SELECT quote(x) FROM t2 ORDER BY 1; 6sSELECT sqlite_rename_parent( "X'a",'000','000'); BEGIN; CREATE TABLE Re00T000e(T00000,INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(Te0tSt00n0) SELECT-char(1)tSt FROM TempT000e LIMIT9; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; COMMIT; SELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; _CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob($00)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x | random()-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; _ CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(406)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x | random()-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; HHQ 'CREATE TABLE t41(a,b,c); INSERT INTO t41 VALUES(1,2,3), ( ?14,5,6); CREATE TABLE t42(d,e,f); INSERT INTO t42 VALUES(3,6,9),( ?14,8,10); SELECT * FROM t41 AS x LEFT JOIN t42 AS y ON (y.d=x.c) OR (y.e=x.b); _ CPRAGMA page_size=512; CREATE TABLE t1(x INTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(500)FROM t1; INSERT INTO t1 SELECT x | random()-01-01,randomblob(40 -10)FROM t1; INSERT INTO t1 SELECT@x+64, randomblob(400) FROM t1 WHERE x<10; CREATE TRIGGER r0 AFTER INSERT ON t1 WHEN new.x=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length(y) FROM t1 ORDER BY x; VzyCREATE VIRTUAL TABLE t0 USING fts4(com relsz0p, uncompress=mpre0p, uncompress=ucom relsz0p, uncompress=m0000u0000); fQWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(X-11)FROM i GROUP BY 1) SELECT x FROM i LIMIT 509 fQWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper(X-91)FROM i GROUP BY 1) SELECT x FROM i LIMIT 109 ) WCREATE TABLE t1(a, b, c); CREATE TABLE t0(x PRIMARY KEY, y, z); CREATE TRIGGER r0 AFTER INSERT ON t1 BEGIN SELECT * FROM t0 WHERE 0 BETWEEN 00 AND 00; END; WITH d(x)AS(SELECT 1 UNION ALL SELECT ~ randomblob(1)+1 AS n FROM d WHERE n<=100) INSERT INTO t0 SELECT randomblob(1) x,x*0, x*3 FROM d; z yCREATE TABLE t14(a,b,c); INSERT INTO t14 VALUES( lower(1),5,6) INTERSECT VALUES( lower(8+88881),3,1),( total(1),1,3); kkCREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,c,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=E AND d=? AND e= strftime(0e+21,1)?; %CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rRENCES jumNCES jumping'); ping'skCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "00000E"< "n00b00" FROM "0000" ORDER BY "a","b""a","b", "a","b" LIMIT 1) IS ""; naCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t2.i0 IN t102 JOIN t102 AS t2 ON(t2.i0=+t0.i0 AND(t0.i0<>500 AND t2.i0=t1.i0)); HSELECT sqlite_rename_trigger(' >=?; n'aCREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(2001-01-010000.000, '02 ;001-01-010'); INSERT INTO t0(docid, x) VALUES(0, '02001-01-01b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid DESC; n&aSELECT NULL,"a","a","b" UNION SELECT"b" U UNION SELECT 1 UNION SELECT 2'x' ORDER BY NULL,"a","a","b","a"; pPhU3/CREATE TABLE F6I AS SELECT 4 ASFOR, 5 CURRENTFOR, 5 CUOATE, 5 CUREILTE SEX I2CREATE TABLE FIL AS SELECT 4 ANTFOR,@5 CUODATE, 5CD;CREATE TABLE t0(a, b); SeLECT DISTINCT "a","b""""a","ba","b",oid,"b""a","ba","b", *, julianday(1,1,1)FROM (SELECT "ba","b""FFFFFFFFFFFFFFFFFFFFFFFFFFa","ba","b",cou"b""a","ba","b", *, julnt(*)a FROM t0) WHERE a==0; qbEICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%302c',?/b,c) FROM t1 ORDER BY rowid; bDICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%f0%c', -1,c) FROM t1 ORDER BY rowid; ?CCREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND b=3 ORDER BY b, c, d,e DESC, "a","b"b,"b" BCREATE TABLE x(a,b); CREATE VIEW y AS SELECT 'a''b' ; SeLECT total(A) "a",total(A) "a", a,b FROM y A, y ASy1, y AS1, x A, y AAS y; 771JgCREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,c,d,e,c,d,e,f)); INSERT INTO t5 VALUES(1,1,1,?,1,10000); INSERT INTO t5 VALUES(2,2,?,2,2,20000); INSERT INTO t5 VALUES(1,2,?,4,5,1f)) ICREATE TABLE t00a(a,b); INSERT INTO t00a VALUES(0,0); CREATE TABLE t00b(n); CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN SELECT 0 FROM t0,a, "a","b"n0000 UNION ALL SELECT 0 FROM t00a WHERE 0>new>x ORDER BY 0 LIMIT 0; END; INSERT INTO t00b VALUES(6); 4HmWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -11) i ORDER BY 1) SELECT x FROM i LIMIT 10;WITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( -11) i ORDER BY 1) SELECT x FROM ipGeSELECT sqlite_rename_trigger(' [a] [a>>>)>R ] [a>>>)>R [a]T/>>>>>) r0 O[{]T/>>>>>) r0 ON x00 WHEN',NULL); bFICREATE TABLE t1(a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%005c',?/b,c) FROM t1 ORDER BY rowid; ||NSELECT strftime(1,1,1,1) NOT IN (10 IN (10 IN (10 IN (10,:0),10),1) NOT IN (10 IN (10 IN (10 IN (10,10),10),10),10-9010),10-90000); MCREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid;EXPLAIN CREATE UNIQUE INDEX i0000 ON t0e01(a,a);REPLACE INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGNTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,a);2; gLSCREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,a);REPLACE INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGNTEGER PRIMARY KEY, b) WITHOUT rowid;ANALYZE UNIQUE IN2; KCREATE TABLE t0e01(a INTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX 0000 ON t0e01(a,a);REPLACE INTO t0e01 VALUES(100,200); CREATE TABLE t0e02(w, x, y, FOREIGNTEGER PRIMARY KEY, b) WITHOUT rowid; CREATE UNIQUE INDEX i0000 ON t0e01(a,a);2; t\!RGSELECT strftime(1,1,1,1) NOT IN (70 IN (10 IN (10 IN (10,10),10),1) NOT IN (10 IN (10 IN (10 IN (10,10),10),10),10-10 IN (10 IN (10,10),10),9010),10-90000); QSELECT strftime(1,1,1,1) NOT IN (10 IN (10 IN (10 IN (10,10),10),1) NOT IN (10 IN (10 IN (MATCH (10,10),10),10),10-9010),10-90000); PSELECT strftime( 1=11,1) NOT IN (10 IN (10 IN (10 IN (10,10),10),1) NOT IN (10 IN (10 IN (10 IN (10,10),10),10),10-9010),10-90000); OSELECT group_concat(1,1) NOT IN (10 IN (10 IN (10 IN (10,10),10),1) NOT IN (10 IN (10 IN (10 IN (10,10),10),10),10-9010),10-90000); TT>VCREATE TABLE t3(a,I,TEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT * FROM t3 WHERE b=2 AND c=3 GROUP BY d COLLATE DESC, e COLLATE C; kU[WITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT time(1.,11) x FROM i LIMIT 18; kT[WITH i(x) AS ( VALUES(1) UNION ALL SELECT +1 FROM i ORDER BY 1) SELECT time(1 ,11) x FROM i LIMIT 183 SPRAGMA mmap_size =""; PRAGMA page_size = 1024; PRAGMA cache_size =AL00;TABLE t1(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX ; ;hYUCREATE TABLE t0000(a NTEGERPRIMARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) VALUES('-0E'); INSERT INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); ^XACREATE TABLE t0000(a INARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00$000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); sWkCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000000000.000, '002001-01ESC); INSER-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid,(x) , x) V; \}u]oCREATE TABLE t4(a,b,c,d,e,f,g,h,i); CREATE INDEX t4all ON t4(b,b,b,b,b,b,g,h); INSERT INTO t4 VALUES(1,2,3,4,5,6,7,8,9); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1 VALUES('t4','t4all','000010 160000 40000 10000 2000 600 100 40 10'); ANALYZE sqlite_master; SELECT i FROM t4 WHERE a=1; SELECT i FROM t4 WHERE b=2; SELECT i FROM t4 WHERE c=3; SELECT i FROM t4 WHERE d=4; SELECT i FROM t4 WHERE e=5; SELECT i FROM t4 WHERE f=6; SELECT i FROM t4 WHERE g=7; SELECT i FROM t4 WHERE h=8; O\#CREATE TABLE 07b AS SELECT 41,11,1,1)', 6,1)', 6'; zELECI * FRFM t00b; [CREATE TABLE t102 (i0 TEXT UNIQUE NULL); INSERT INTO t102 SELECT ('0'IN t102 IN t102 )R SELEC7 * FROS t0 LEFT JOIN t102 N tES ('0'I ZECREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 SELECT ('0'IN t102 IN t102 IN t102 )R SEN t102 )R SELECT *3FROS t0 LEFT JOIN t102 N tES ('0'I M-.M]a?CREATE TABLE t102 (ASCi0 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AS LEFT JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB 'a0'NATURAL JOIN(t102 AS t2 LEFT JOIN t102 ON t1.i0 GLOB A0)); ` SELECT * FROM (t0), (t0), (t0, (t0t0, ( t05, (t0, (SELECT a,b a,bt0), tE), (t0)a,bt0), tE), (t0) WH), (t0) WtE), (t0) WH),s_kCREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n00b00" FROM (SELECT "-0000 "< "n00b00" FROM "0000" ORDER BY "000000", "n00b00" LIMIT 2) AS "0000"; O^#CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'run jum replace( "a","b"1,",1)p'; MMkd[CREATE TABLE "0000" ("000000" V0 "a","b" PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000"< "n00b00" FROM "0000" GROUP BY (1),"b", "a","b"HAVING 1) OR ""; acGDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBt0ꪪ0ꪪ ftsUaut ftsUautne0002A0'); CREATE V\b=PRAGMA encoding=UTF16le; CREATE TABLE t0t0t(_TIMESTAMtRIPPRIMARY Y); t0t pzpgCREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 -1 JOIN t102 AS t2 ON(t2.i0= t0.i0 OR (t0.i0<>500 AND t2.i0=t1.i0)); f CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t2.i0=t1.i0)); {e{CREATE TABLE "0000" ("000000" V00CHAR(1) PRIMARY KEY, "n00b00" INT0000 NOT NULL); INSERT INTO "0000" ("000000", "n00b00") VALUES('b', 1); INSERT INTO "0000" ("000000", "n00b00") VALUES('0', 2); INSERT INTO "0000" ("000000", "n00b00") VALUES('c', 2); SELECT DISTINCT "n0"WHERE (SELECT "000000", "n00b00" FROM "0000" GROUP BY (1), "a","b""a","b""b", "a","b"HAVING 1) OR ""; ~qY~dmMWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO, a.b,* ,Ii ORDER BY 1) SELECT x FROM i ,I,I? 0leCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'DRR3(cEd BLEd jumpiEFERR3(cEd jumpiED(1,ABLEd jumpiES(1, ng'); SEum 'a']!?PRAGMA legacy_file_format (1); CREATE TABLE t1(a INTEGER PRIMARY KEY, b INT); INSERT INTO t1 VALUES(8,1); INSERT INTO t1 VALUES(1,1); INSERT INTO t1 VALUES(2,1); CREATE INDEX i0 ON t1(b); SELECT * FROM t1 WHERE b> 'a' CREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a,b,ba,ba ON t10 BEGIN UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r0000; END; INSERT INTO t10(a)VALUES('000');; CREATE TRIGGER t00000 BEFORE UPDATE OF a,ba,ba ON t10 BEGIN UPDER 6qCREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (12001,01-1111111111111111111111111101,A) OR changes() KmyK*'YPRAGMA encoding=UTF16le; CREATE TABLE t0t0006(a COLLATE nocase PRIMARY KEY); INSERT INTO t0t0006 VALUES(' slite_compileoption_used(1) -1'); INSERT INTO t0t0006 VALUES('ABX');REINDEX DISTINCT sq; p&ePRAGMA king=6; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUM5 b INT0000 DEFAULT '900' ;ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD OLUMN AL DEFAd TEXT DEFAUL------------- t1 SET x=x;1; % CREATE TABLE t1(x, y DEFAULT( time( 1=11,1, time(1,1,1),1,1))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1;VACUUM $PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-' -19e99/; ALTER ABLE t1 ADD COLUMN d TEXT oding=UTF16;00'; UPDATE t1 SET x=c+1; SELECT* FROM t1; ')'--_CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' [a] FROM t1 UNION SELECT b,a, 1=2001-01-011 COLLATE'000' FROM t1 ORDER BY 3,3,a, '000', 3,a, '000' &,QCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' [a] FROM t1 UNION SELECT b,a,NOT 1=1 COLLATE'000' FROM t1 ORDER BY 3,3,a, '000', 3,a, '000' #+KCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' [a] FROM t1 UNION SELECT b,a, 1=1 COLLATE'000' FROM t1 ORDER BY 3,3 a, '000', 3,a, '000' #*KCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' [] FROM t1 UNION SELECT b,a, 1=1 COLLATE'000' FROM t1 ORDER BY 3,3,a, '000', 3,a, '000' L)SELECT NULL "autob" 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 UNIO. SE](?CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,c,d,e,c,d,e,e,e));REINDEX rtrim)??; ~~G1CREATE 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='CRI)' WHERE name='t1a'; UPDATE sqlite_master SET sql=' || T TA/#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 imeomname;ANALYZE'TEMP';END; v=qCREATE TABLE t102 (i0 BEXT UNIQUEANDT NULL); INSERT INTO T102 VALUES ('0'); SELECT 2 FROM t102 AFT JOIN t102 OAFT JOIN t102 ON 0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a"NATURAL JOIN t102 DE JOIN t102 tANDE JOIN t102 FT JOIN t102 gNEFT JIN t); GGRC)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 total_changes()=E AND e O; RB)CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a,b,c,d,e)); SELECT * FROM t0 WHERE a= /* */b=C AND c=? AND d=e AND b=? AND c=? AND /* */ ~~~ ~~~~~d=E AND e OR ~~~~~~~~~~~~~d=E AND e OR ~~~~~~~~~~~~~~~d=E AND e O; ACREATE 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 d=? AND e OR?AND c=? AND e OR?AND c=? AND c=? AND d=? AND e OR?AND c=? AND c=? AND e OR?; ttDDROP 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 ttEDROP 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 WHECURRENT_TIMESTAMP; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(c FROM EN 1H/CREATE VIRTUAL TABLE x USING fts4(y'bbb 000'); SELECT * FROM x where y MATCH 'bbb N`AR N`AR/6 0:::/6 0::R N`AR/6 0:::/6 0::::G "a"::G fts4(y,'; =GCREATE 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, b, a, b, a, d, e); FPRAGMA 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,A)c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1, b||c||a, c||a||b FROM abc; IO c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; oH/LcPRAGMA Lum=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;gr-K_CREATE TABLE x(a,b); CREATE VIEW y AS SELECT x1.b AS q, count(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, yy1, rJiCREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' 1=1d_extension(1)', ' @1foo'); 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 ICREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(e,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 ]1]PO%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=1(1)a''b''c'; hNUCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('C random()URREN 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; _MCCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('CU glob(1,1)es()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; ][y] UWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(?,1, -1555555555555555.00 || -81) x FROM i LIMIT 30; TWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1,X-1555555555555555.00 || -81) x FROM i LIMIT 30; SWITH 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 3 ; RWITH 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 30; BQ CREATE TABLE t000(c a,b0 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; !PGCREATE TABLE t000(c0 a,ba,b,, 'a''b'I, a,,,I000); SELECT c000.* FROM t000 NATURAL JOIN t000 AS c00 NATURAL JOIN t000 AS c000; rV:[1WITH 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 90; ZWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -155555555555 || .00 || -81) x FROM i LIMIT 30; YWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -1555555555555555.00 || -.1) x FROM i LIMIT 30; XWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -1555555555555555.00 ||1-81) x FROM i LIMIT 30; WWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -155555555/555555.00 || -81) x FROM i LIMIT 30; VWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -1/55555555555555.00 || -81) x FROM i LIMIT 30; f2N`!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_1WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, 55555.00 || 00255555555555555.00 || -81) x FROM i LIMIT 10; ^1WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, 55555.00 || sqlite_compileoption_get(1)) x FROM i LIMIT 10; ]1WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,CURRENT_TIME|| -1555555555555555.00 || -81) x FROM i LIMIT 10; \1WITH 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 30; .w}eCREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(e,b,c,a,b,c,d,e,e)); SELECT DISTINCT* FROM t0 ; SELECT DISTINCT* FROM t0 WHEdt1.i0 AND t0.i0t1.i0 AND t0.i0>t2.i0) AND t2.i00 OR Te0tId>0;REINDEX=2; CEFROM Re00T000e ORDER BY 1;  CREATE TABLE x(a,b); CREATE VIEW y AS SELECT 'a''b' ; SeLECT total(A) "a",total(A) "a", a,b FROM y A, y ASy1, y AS1, x A, y AAS,y; 1gCREATE VIRTUAL TABLE t0st USING fts3 (k00000d sqpileoption_get(1)'000'); SELECT * FROM t0st WHERE k00000d MATCH '" t "a""a"t "a","b"1,1 "a"N "a"LL,"b"(1,1,1,1)ime(1,1,")"'; 5CREATE TABLE t102 (i00t000 UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURQL JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 ASANDE JOIN t102 EANDE JOIN t102 JOIN t102 FT JOIN t102 ONNDE JOIN t102 FTLEFT JOIN t102 t JOIN t102 A0)); 5CREATE TABLE t102 (in00b00 UNIQUEANOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 NATURQL JOIN(t102 ONt0 LEFT JOIN t102 t1 ON t1.i0 GLOB "a" JOIN t102 ASANDE JOIN t102 EANDE JOIN t102 JOIN t102 FT JOIN t102 ONNDE JOIN t102 FTLEFT JOIN t102 t JOIN t102 A0)); =:1SELECT strftime(1,1,1,1) NOT IN (10 IN (10 IN (10)ISNULL NOT IN (10 )))d10 IN UCDATE (10,10)10) IN UCDATE (1,0)010-90 time(1,1,1)CREATE TABLE t00a(a,b); INSERT INTO t00a VALUES(0,0); CREATE TABLE t00b(n); CREATE TRIGGER r00 AFTER INSERT ON t00b BEGIN SELECT 0 FROM t0,a, "a","b"n0000 UNION ALL SELECT 0 FROM t0,a WHERE 0>new>x ORDER BY 0 LIMIT 0; END; INSERT INTO t00b VALUES(6); ?CREATE TABLE t3(a NTEGER PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(b, c, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND b=3 ORDER BY b, c, d,e DESC, b, c, a b, a,b ^ACREATE TABLE t0000(a,INARY KEY ,UTOINCREMENT, b); CREATE TRIGGER t000001 BEFORE INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('000');REPLACE INTO t0000(b) VALUES('000'); END; CREATE TRIGGER t000000 AFTER INSERT ON t0000 BEGIN INSERT INTO t0000(a) SELECT('00$000'); INSERT INTO t0000(b) VALUES('00'); END; INSERT INTO t0000(b) VALUES('0000'); PRAGMA mmap_size =" -1"; PRAGMA page_size = 1024; PRAGMA cache_size =AL t1(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX ssQ'CREATE VIRTUAL TABLE t0 USING fts4(tokenize=simple t000=s0~0 00); =CREATE TABLE t01(x, y); CREATE TABLE t02(x, y); CREATE VIEW v0 as SELECT x, y FROM t01 UNION ALL SELECT x, y FROM t01 UNION ALL SELECT x, y F UNION ALL SELECT x, y FROM ROM t02; CREATE INDEX t000 ON t01(x); CREATE t02(x, y); CREAT2(x); EXPLAIN QUERYPLAN SELECT * FROM v0 SELECT &QSELECT randomblob(1) -10>>00060.015000>>00000000600060.010000>>00%0.00>>0-10>>00*0-10>>00> last_insert_rowid()>>0050060.015000>>0000000>>00>>00-10>>00>>000000; k[CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( ifnull(1,1))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y, y y1, y S1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y , y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y y1, y  $G SELECT sqlite_rename_parent( "REFERENCES 0@s",'000' *NULL,'000'); eOCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VICATing Gnnning a VICATing Gnnningng GnticATing Gntent MATi VICATing Gnnningng Gnt MATing Gnt jumping'); CCH eOCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruent EATE VICATing Gnnning a VICATing Gnnningng Gnt MATiON Gntent MATi VICATing Gnnningng Gnt MATing Gnt jumping'); CCH CREATE TABLE t102 (i0 TEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT DISTINCT* FROM t102 AS t0 JOIN t102 ON t2.i0 NATURAL JOIN t102 AS LEFT JOIN t102 t1 ON t1.i0 IN t102 -1 JOIN t102 AS t2 ON(t2.i0= t0.i0 AND(t0.i0<>500 AND t2.i0=t1.i0)); +Qw]$?CREATE TABLE t102 (i0 TEXT _NIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 JOIN t102 PtT JOIN t102 t1 ON t1.i0 GLOB 'a0' LEFT JOIN t102 t2 ON(t1.i0=+t0.i0 OR t1.i0= t2.i0 OR t2.i0=t1.oid); V#1CREATE TABLE t3(a INTEGR PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(a, a, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, b, c, b, a,b, b, c, b, c, b, a,d bb b V"1CREATE TABLE t3(a INTEGR PRIMARY KEY, b, c, d, e, f); CREATE INDEX t00000 ON t3(a, a, d, e); EXPLAIN QUERY PLAN SELECT a FROM t3 WHERE b=2 AND c=3 ORDER BY b, c, b, b, c, b, c, b, c,b, b, c, b, c, b, a,b bb b Q!'DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtϽڽ̥ϽڽĽνν00'); INSERT INTO t0 VAL qm|)}CREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a|NOT CAST(a AS clob000 blob)< CAST(a AS clob000) FROM t0; FROM w(sCREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT a|NOT-CAST(a AS clob000)< CAST(a AS clob000) FROM t0; FROM i'WCREATE TABLE t102 (i0 wEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('E'); SELECT * FROM t102 AS t0 NATURAL JOIN t102 A2 JOIN t102 AS tT JOIN t102 t1 ON t1.i0 IN t102 JOIN t102 AS t2 ON(t1.i0= t0.i0 OR tT.i0= t2.i0=t1.oid); &CREATE TABLE t102 (i0 wEXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 NATURAL JOIN t102 AS LEF102 NATURAL JOIN t102 AS tT JOIN t102 t1 ON t1.i0 IN (1) JOIN t102 AS t2 ON(t1.i0= t0.i0 OR tT.i0= t1.i0 OR t2.i0=t1.oid); %CREATE VIRTUAL TABLE x USING fts4(y,A UES00S@00,0,bbb REGEXP'bbb 000'); SELECT * FROM x where y MATCH 'bbb N`AR/6 A::::G6 A::::G'; G.-aCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rujlllllYYYYYYYALLYYYYYALLY;YYYYALLY'); SELECT rowid FR N,!SELECT NULL, "a","b""a","a","","a","a","b" UNION SELECT"b" UNI UNION SELECT"b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2'x' ORDER BY "a","b""a","a","b"; N+!SELECT NULL, "a","b""a","b""a","a","","a","a","b" UNION SELECT"b" UNI UNION SELECT"b" UNION SELECT "b"LL UNION SELECT 1 UNION SELECT NULL UNNULL UNION SELECT 1 UNION SELECT 2'x' ORDER BY "a","a","b"; *'CREATE TABLE t10(a, u00000000 DEFAULT 0); CREATE TRIGGER t00000 BEFORE UPDATE OF a,b,ba,ba ON t10 BEGIN UPDATE t00 SET u0= u0000+1 WHERE r00000= o00.r0000; END; INSERT INTO t10(a)VALUES('000');VACUUM; CREATE TRIGGER t00000 BEFORE UPDATE OF a,ba,ba ON t10 BEGIN UPDER ^Ftn^ 1CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower( zeroblob(12001-01-01))q FROM x AS x1, x AS x2 WHERE x1.a=x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y y1, y0 CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)OR lower( zeroblob(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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, y S1, y y1, yN/!CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower( zeroblob(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 Sy1, y A, y AS1, y y1, y S1, yyy6.qCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower( zeroblob(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 Sy1, y A,y LLF3CREATE VIRTUAL TABLE ft USING fts3(o00, t0o); INSERT INTO ft VALUES(' load_extension(1,1)', 'foo'); INSERT INTO ft VALUES('xtension(1,1)', 'foo'); INSERT INTO ft VALUES(' l1)', 'foo'); INSERT INTO ft VALUES('foo', ' @1');VALUES('foo', ' @1'); SELECT offsets(ft) FROM ft WHERE ft MATCH ' strftime(1,1,1,1) 1=1 @11*1';f g2SWITH i AS ( 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; tt4DROP 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+877775777772001-01-017,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(a);REINDEX; SELECT(c FROM EN tt5DROP 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 WHECURRENT_TIMESTAMP; CREATE INDEX t0b ON t1(a);REINDEX; SELECT(c FROM EN "r8iCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('CU glob(, b); INSERT INTO x1,1)es()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; _7CCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('CU glob(11)es()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('CURcENT_TIME0 b c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM a0; INSERT INTO x0 SELECT * FROM x0; x6uCREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(a,bi,bI,bI,c,p,a,ba,b,c,d,e,d,a,bI,c)) WITHOUT ROWID+R TT,:]CREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('CU glob(1 x0 SELECT * FROM x0; INSERTx0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT IN c', 'd e f'); INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; INSERT INTO x0 SELECT * FROM x0; x9uCREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('CU glob(1,1)es(RTUAL TABLE x0 USING fts4)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; H<BHv=qCREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDNOTNULL /* */OR 01; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ONT JOIN t0b ON (x<99)AND (x=99) ORDER BY x;VACUUM v<qCREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDNOTNULL /* */OR 01; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ONT JOIN t0b ON (x=99) OR (x=99) ORDER BY x;VACUUM @;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, randomblob(1) c FROM t1o0d; DROP TABLE t1o0d; %|%BCCREATE TABLE x(,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 ,b1, x1, x , xa,ba,q);SEL; C0AeCREATE TABLE x(,b a, a,b1, x1, x , xa,ba,q);SELECT total(q)p, *,ba AS ba,ba,b1, x1, x , xa q , *,ba AS q FROM x AS K, x AS x2 USING ( ba,ba,b1, x1, x , xa,ba,q);SEL; C@;CREATE TABLE x(,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,b1, x1, x , xa,ba,q);SEL; Ci?WCREATE TABLE t1(x INTEGER PRIMA z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,b,ba,ba, b; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3)t>mCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3) J"JQG'DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtϽڽ̥Ͻڽ̥ϽڽĽ ν00'); INSERT INTO t0 VAL FCREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000000000.000, '002001-01ESC); INSER-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid,(x) , "a","b""a","b"V; wEsCREATE VIRTUAL TABLE t0 USING fts4(x, "a","b"SC); INSERT INTO t0(docid, x) VALUES(10000000000000.000, '002001-01ESC); INSER-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid,(x) , "a","b"V; D-CREATE TABLE t102 (ADDA1020 TEXT UNIQUE NOT NULL); INSERT INTO T102 VALUES ('0'); SELECT * FROM t102 AST JOIN(t102 ONt0 LEFT JOIN t102 t)ON t1HCSELECT sqlite_rename_trigger('-2001-01-01@@@@@@@@@0 TWHEN',NULL); ]~[K;ATTACH''AS nooname; ATTACH':ry:' AS naname; ATTACH':memory:' AS oname; ATTACH':memory:' AS nanamname; ATTACH'me:' AS me; ATTACH'me:' AS m;ANALYZE'TEMP';VACUUM; ATTACH':my:' AS imeomname;ANALYZE/TEMP';END; [J;ATTACH''AS nooname; ATTACH':ry:' AS naname; ATTACH':memory:' AS oname; ATTACH':memory:' AS nanamname; ATTACH'me:' AS me; ATTACH'me:' AS m;ANALYZE'TEMP';VACUUM; ATTACH':my:' AS i-eomname;ANALYZE'TEMP';END; -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; {X{CREATE VIRTUAL TABLE x0 USING fts4(0, b); INSERT INTO x0 VALUES('CU glob sqlite_compileoption_get(1)(1,1)es()c', 'dAS 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; P&<HPt]mCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1,y=a002.m WHERE t1.x IN a002,3)p\eCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 ORDER BY a,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.x=a002.m WHERE t1.x IN a002,3)f[QCREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDNOTNULL /* */OR 01; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ONT JOIN t0b ON (x<99)AND (1)99) M VZ1CREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDNOTNULL /* */OR 01; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0a ONT JOIN t0b ON?(M G aPRAGMA mmap_size =" ;a"RAGMA page_size = 1024; PRAGMA cache_size =AL00;TABLE t1(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX Z`9SELECT sqlite_rename_trigger('-2 strftime(1,1,1,1)001-01-01@@@@@@@@@0 TWHEN',NULL); H_SELECT sqlite_rename_trigger('-2-01-01-01@@@@@@@@@0 TWHEN',NULL); 5^oCREATE TABLE x(,b a, a,b1, x1, x , xa,ba,q);SELECT t(q)p, *,ba AS q , *,baotaP(q)p, *,ba AS q , *,ba AS q FROM x AS 1, x AS x2 USING ( ba,ba,ba ,b1, x1, x , xa,ba,q);SEL; C  bPRAGMA mmap_size =" >=a"RApage_size = 1024; PRAGMA cache_size =AL00;TABLE t1(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX  cPRAGMA mmap_size =" -1a"RApage_size = 1024; PRAGMA cache_size =AL00;TABLE t1(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX dPRAGMA mmap_size =" -1t(1)"; PRAGMA page_size = 1024; PRAGMA cache_size =AL00& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX  ePRAGMA mmap_size =" -1nt(1)";ARAGMA page_size = 1024; PRAG^A cac|e_size =AL001(x)& CREATE TA>LE t2(x); CREATE)TABLE t3andomblob(100) FROMt3; INSERTINTO t3 SELECT randomblob(100EM t3; INvERT INTO t3 SELECT rINTO t3 SaNTO t3 SELECT ra0) FROM t3; INSERT INTO t3 SELECSERT INTO tdombloj201-01-0100) FROM t1; INSERT INTO?t3 SELECT lst_ins r`_roXid() t3SERT INT t3 SELECT randomblob8 00) FROM t3;INSERT INTO t3 SEt3 SELECT llob(200) FROM t3;REINDEX ]h?DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtϽڽ̥Ͻڽ̥ϽeatwoBtϽڽ̥Ͻڽ̥Ͻ00'); INSERT INTO t0 VAL Qg'DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneE̥Ͻڽ̥Ͻڽ̥ϽڽĽ ν00'); INSERT INTO t0 VAL ,f]PRAGMA mmap_size =" -1nt(1)"; PRAGMA page_size = 1024; PRAGMA cache_size =AL001(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 zzSELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;I>SERT INTO t3 SELECT randomblob200) FROM t3;REINDEX :flQCREATE TABLE t0a(x); CREATE TABLE t0b(y); INSERT INTO t0a(x)VALUES(1); CREATE INDEX t000 ON t0a(x) WHERE 0XADDNOTNULL /* * /* */; PRAGMA automatic_index=OFF; SELECT * FROM t0a LEFT JOIN t0b ONT JOIN t0b ON (x<99)AND (1)99) M pkeATTACH''AS nooname; ATTACH':ry:' AS nanamZ;ANALYZE'TEMP';VACUUM'TEMP';VACUUM; ATTACH':name;ANALYZE'TEMP';E_jCCREATE TABLE t3(a INTEGR 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, c, b, a,b, b,b, b, c, b, c, abs(1), b, c, b, c, b, A b _iCCREATE TABLE t3(a INTEGR 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, c, b, c,b, b,b, b, c, b, c, b, a,b, b, c, b, c, b, A b  xouCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,ba,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1,y=a002.m WHERE t1.x IN a002,3)xnuCREATE TABLE t1(x INTEGER PRIMARY KEY, y z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,ba,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3)tmmCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS b FROM t2 ORDER BY a,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3)of |vpjd^XRLFztnhb\VPJD>82,& ~xrlf@:4.(" `ZTNHB<60*$ j g d a ] Y U Q M L I B > : 8 p k g a ^ ߽] ޽\ ݽ[ ܽW ۽P ڽJ ٽD ؽ> ׽= ֽ: ս9 Խ8 ӽ5 ҽ2 ѽ. Ͻ- ͽ+ ̽* ˽& ʽ% ɽ" Ƚ ǽ ƽ Ž Ľ ý ½     } { w t r q p o l h e d c b a ] Y W U S R O K 4 1 + & %       | x v t s G B = : 8 5 4 3 1 - ) $   6      ~~ }{ |x {t zp yl xh we v`  pPRAGMA mmap_size =" -1-1a"RApage_size = 1024; PRAGMA cache_size =AL00;TABLE t1(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(100) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT randomblob(200) FROM t3;REINDEX  qPRAGMA mmap_size =" +"a"Rze = 1024; PRAGMA cache_size =AL00;TABLE t1(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(1M0) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT ran^omblob(200) FROM t3;REINDEX  rPRAGMA mmap_size =" - +"a"Rze = 1024; PRAGMA cache_size =AL00;TABLE t1(x)& CREATE TA>LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 SELECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECT randomblob(200ndomblob(1M0) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0100) FROM t1; INSERT INTO t3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSERT INTO t3 SELECT ran^omblob(200) FROM t3;REINDEX wtsCREATE VIRTUAL TABLE t0 USING fts4(x, "a","b"SC); INSERT INTO t0(docid, x) VALUES(10000000000000.000, '002001-01ESC); INSER-01'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docid, a,b, a,b,"b"V; sPRAGMA mmap_size =" +"a"Rze = 1024; P^AGMA cache_size =AL=0;TABLE t1NSERT INTTE TA>LE t2(x); CREATE TABLE t3andomblobNSERT INTO t3 SELECT!randomblob(100)BOM t3; INSERT INTO t3 SELECT raNTO t3 SELECT0ndomblob(1M0) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01e_size =AL00;TABLE t1(x)& Ct3 SELECT last_inser`_rowid() t3SERT INT t3 SELECT randomb sqlite_compileoption_get(1)O t3 SELECT ran^ISb200) FROM t3;REIN |w}CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,ba,b,ba,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3)xvuCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,b,ba,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1,y=a002.m WHERE t1.x IN a002,3)xuuCREATE TABLE t1(x INTEGER PRIMARY KEY, y z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,b,ba,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3) |{}CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(1,1)AS m FROM t2 GROUP BY a,ba,b,ba,ba,b,ba,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1,y=a002.m WHERE t1.x IN a002,3)mz_CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(B,1)AS m FROM t2 GROUP BY a,b,ba; EXPLAIN QUERY PLAN SELECT t1.z, a002.m FROM t1 JOIN a002 ON t1.y=a002.m WHERE t1.x IN a002,3)xyuCREATE TABLE t1(x INTEGER PRIMARY KEY, y, z); CREATE TABLE t2( a,ba, b); CREATE VIEW a002 AS SELECT instr(B,1)AS m FROM t2 GROUP BY a,b,baLE t2(x); CREATE TABLE t3andomblobNSERT INTO t3 SELECT!randomblob(100)BOM t3; INSERT INTO t3 SELECT raNTO t3 SELECT0ndomblob(1M0) FROM t3; INSERT INTO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01e_size =AL00;TAB +"alast_inser`_rowid() t3SERT INT t3 SELECT randomb sqlite_compileoption_get(1)O t3 SELECT ran^ISb200) FROM t3;REIN 6qPRAGMA ing=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00',1); INSERT INTO t1 VALUES(2,'00','e0',5); INSERT INTO t1 VALUES(3,'000','0',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr('a000e0',b)OR a='0' OR trim(A,B) =CREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '0000000000000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT nullif(?,1) idx, stat FROM sqlite_stat1 ORDER BY idx; vqCREATE TABLE t1(x, y DEFAULT(datetime(' -1 E1/now'))); INSERT INTO t1(x)VALUES(1); SELECT x, length(y) FROM t1; xuCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; CREATE TABLE t AS SELECT tabC.a, txyZ.x, last_insert_rowid() FROM tabc, txyz, tb0th ORDER BY 1 LIMIT 1; xuCREATE TABLE tabc(a,r,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; CREATE TABLE t AS SELECT tabC.a, txyZ.x, tb0Th.a, tb0tH.x, * FROM tabc, txyz, tb0th ORDER BY 1 LIMIT 1; O_O PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT-'90OTNULL'; ALTER TABLE t1 ADD COLT0000 DEFAULT-'90NOTN99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; @ SELECT 10 EXCEPT SELECT 20 ORDER BY+33333333332,331 COLLCTE 'UPRAGMA auto_vacuum=9999999999 1000; O#CREATE TABLE t0 (a INTEGER PRIMARY KEY); CREATE TABLE t2 (a INTEGER PRIMARY KEY, b INT0000); CREATE TABLE t2x (b INTEGER PRIMARY KEY); SELECT t0. *FROM ((t0 JOCa) AS x JOIN t2 /* */x ON x.b=t2x.b) as00; ]?CREATE TABLE t0(a, b); CREATE TABLE log(x); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); INSERT INTO t0 VALUES(0,0); CREATE TRIGGER t00000 AFTER UPDATE ON t0 BEGIN INSERT INTO log VALUES(old.b | lower(1)| julianday(1.1E1) || '0' || changes() ); END; CREATE TABLE t2(a); INSERT INTO t2 VALUES(0), (2), (0); UPDATE t0 SET b= changes();  PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT-'90NOTNULL'; ALTER TABLE t1 ADD COLT0000 DEFAULT-'90NOTN99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT-'00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; PRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT-'90NOTNULL'; ALTER TABLE t1 ADD COLT0000 DEFAULT-'9NOTN99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULT '00000'; UPDATE t1 SET x=x+1; SELECT* FROM t1; /BEGIN; CREATE TABLE A000(ISSUEID text(50)not null, OB0ECTID text(50) not null, PARTICIPANTID text( skCREATE TABLE t0(a TEXT, b TEXT); CREATE VIEW v0 AS SELECT glob(1,1) "a","b" t0; CREATE TRIGGER t0001 INSTEAD OF DELETE ON v0 BEGIN SELECT 0; END;CREATE TRIGGER t0001 INSTEAD OF DELON v0 BEGIN SELECT 0; END; DELETE FROM DELETE FROM v0  PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a &b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b|~c -1, b||c||a, c||a||b FROM abc; IO abcb, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; 50) not null,E0000000000 int not null, constraint P000000 primary key (ISSUEID, OB0ECTID, PARTICIPANTID)); CREATE TABLE A00000000000000000(L0 UNIQUE, Q00 int not null, N000000 text(50)UNIQUE not null, P00000000000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int00000, P0000000000000M int00000, L000000 int00000, L0000000000000000 int00000, U000000000000000 text(300) null, L00000000000000D text(50) null, F00000000000 text(100) not null, R0000000 int not null, S00000000 text(30) not null, L0000000 text(200) not null, A00000000000000000 int not null, R00000 int not null, N000000000000 text(1) null, N0000000000000 text(1) null, N00000000 text(1) null, N0000000000000000 text(1) null, N00000000000000000 text(1) null, C00000000000000 text(1) not null, constraint P00000000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE T00(C00 int00000,S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U000 int00000, P00000000000000 int00000, L000000 int00000, L00000000 int00000, U0000000 text(300) null, L000000D text(50) null, R0000000 int not null, L0000 text(200) not null, I00000000000 text not null, E00000000 text null, A00000000000000 text not null, I000000000000 text(100) not null, C00000000000000 text(1) not null, A00000000000000000 int not null, constraint P00000000000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE A0000000000(TQUNID text(30) not null, O0 text(50) null, I000000 text(50) null, D00000000 text(50) null, C0000000000000 text(50) null, C0000000000 text(100) null, C00000000 text(100) null, C00000000000000 text(100) null, C000000000E text(100) not null, constraint P0000000000000 primary key (TQUNID)); CREAT E 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 int000004 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, I SSUEID 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, S00 0005 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 te xt(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 nul l, 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 blobnot null, P000000000000 blob not null, constraint P00000 primar y key (TQUNID)); CREATE TABLE O0(INVITATIONID text(50) not null, RECIPIENTNODEID text not null, D0000000000 text(20) , constraint P000000000 primary key (INVITATIONID, RECIPIENTNODEID)); CREATE TABLE I0(O000 text null, S0000000 text(50) not null, R000000000 text0 null, R00000000000000 text(50) null, R00000 text null, I000000 text(50) not null, E0000000 text not null, M0000000000 blob not null, I00000000000000 int not null, T00000 text null, D00 text(20) not null); CREATE TABLE I0000(C00000 int0, S00 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, C000000000000 text(300) null, C00000000000 text null, I000000000000 text(1) null, B000 text null, I00000000000E text(1) not null, I0000000E int not null, A0000000000000 text(50) null, I00000000000 text(1) not null, constraint P00000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE I000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C000 text(20) null, L0000000 text(20) null, U00000000000 int null, PR00000 int null, L000000 int null, L00000000 int null, U0000000 text(300) null, L000000D text(50) null, I00000000 text0 null, I0000000 text not null, I00000000000 text(20) null, I0000 int null, I0000000000 int null, D0000000000 text(1) null, I000E text(1) not null, A000000000000000 int0, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE K00(MSGID integer not null, S00000 text(50) null, R000000 text not null, constraint P000000000 primary key (MSGID)); CREATE TABLE D00(N0 text(50) not null, M00 int not null, R00000000000 text(20 ) not null, S00000000 int not null); CREATE TABLE K0000(MSGID integer not null, S0 text(50) null, R00 text not null, I000000 text0, M0000000000 int not null, E0000000 text null, M000000000B blob not null, constraint P0000000 primary key (MSGID)); CREATE TABLE L000000(C000000 int null, S0000 int not null, L00000000000000 text null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R00 int not null, C00 text(50) not null, A0000000 text(50) , C000 text(20) null, U000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L000000000000000 text(50) null, P0000000000000 text(50) null, B000 text null, B00000000000000 text(100) null, I000000000 text(1) null, A000000000 int not null, A00 text null, O0000000000 text null, N0000000000 text null, O000000000000 text null,constraint P000000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE L0(TQUNID text(30) not null, I000000 text(50) not null, T0000000000 text(50) null, T000000000D text(50) null, T0000000 int null, T000000000000000 text(50) null, T000000000 int null, D00000000000 text null, S000000 text(1) null, E0000000000000 text null, U00000000000 int not null, constraint P00000 int not null, S00000000 int not null, L0000000000 text(20) null, constraint P000000 primary key (TQUNID)); CREATE TABLE M00(TQUNID text(30) not null, S0000 text(50) not null, T000000000000000 text(50) null, M000000000000 text(60) null, D00000000 int null, N00000 text(50) null, T00000000000000 int null, T0000000000000 int null, N0000000000000000 text(20) null, T000000000000000000000 int null, constraint P00000 primary key (TQUNID)); CREATE TABLE N00(N0 text(50) not null, U0 text(50) null, C000000000 text(20) not null, T00000 text(30) not null); CREATE TABLE N0(N0 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null, L00000000000 text(20) null, L0000000000000 text(20) null, L000000000 text(10) nu ll, N000000S int not null, N00000D0 int not null, N00000L0 int not null, N00000V0 int not null); CREATE TABLE P00(I00 text null, O0000000 text(50) not null, N00000 text(50) not null, U00000 text(50) null, N00000000 int not null, N0000000 text null, K0000000000 int not null, K00000000 text(30) not null, T00000 text(30) not null); CREATE TABLE P00000000000(C0000 int null, S0000 int not null, L00000000000000 text(50) not null, P000000 text(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not null, R0000000000 int not null, C0000000000 text(50) not null, A0000000 text(50) not null, C00000000000 text(20) null, L000000000000000 text(20) null, U00000000000 int null, P00000000000000 int null, L000000 int null, L0000000000000000 int null, U000000000000000 text(300) null, L00000000000000D text(50) null, P000000000000000 int not null, PA0000000000000 int not null, P0000000000000M int not null, I000000000000000 text(1) null, U00000 text(50) null, I000000 text(1) null, N000 text(100) not null, E00000000000 text(200) not null, I0000000000 text(1) not null, I000000000 text null, A0000000000000000 int null, A000000000000000000 text(20) null, A000000000000000000000 text(50) null, constraint P00000000000000 primary key (ISSUEID, OB0ECTID));REINDEX TABLE P0(50) null, ISSUEID text(50) not null, OB0ECTID text(50) not nulll, constraint P0 primary key (ISSUEID, OB0ECTID)); CREATE TABLE P000(P00 text(50) not null, N0 text(100) not null, L0 text(300) not null, S00000000000 text(50) not null, T00000 text(30) not null); CREATE TABLE P000ext not null, I0000000000000 text(1) null, D00000000000 int null, R0000000000 text(500) null, R00000000E int null, R000000000P text(300) null, constraint P0000000 primary key (ISSUEID, OB0ECTID)); CREATE TABLE U0(U00 text(50) not null, U000000 text(100) not null, E000000000 text(1) not null, U000000000000000 text(200) null, E0000000000000 text(1) null, V000000000000000 text(50) null, C000000000 text(20) not null, T00000 text(30) not null, P0000000000 text(50) null); 0 Y<YHCREATE TABLE t1(a,b); CREATE INDEX t1a ON t1(a); INSERT INTO t1 VALUES(1,0),(2,0),(3,0),(2,0),(NULL,0),(NULL,0); PRAGMA writable_schema=ON; UPDATE sqlite_master SET sql='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='ABLE!00(a NOT NULL,b)' WHERE name='t1'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO sql t%_+CREATE TABLE t4(a TGXT); INSERT INTO t4 VALUES(''); INSERT INTO t4 VALUES('102'); INSERT INTO t4 VALUES('04'); SELECT min(a), mIN(a) FROM t4; @PRAGMA auto_vacuum=INCREMENTAL; PRAGMA page_size=0000; PRAGMA cache_size=00; CREATE TABLE t0(x); INSERT INTO t0 VALUES(zeroblob(990)); INSERT INTO t0 VALUES(zeroblob(900)); INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; INSERT INTO t0 SELECT x FROM t0; DELETE FROM t0 WHERE rowid/CURRENT_TIME @CREATE VIRTUAL TABLE t0 USING fts4(prefix=?-01-01-01-01""); eOBEGIN; CREATE TABLE Re00T000e(t00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT009e(Te0tID IfTEGER PRIMARYIfTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000 AFTER UPDATE ON TempT000e BEGIN INSERT INTO Re00T000e(T0) SELECT new.Te00n0 FROM TempT000e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2');ANALYZE TempT000eS ywDROP 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, '0p00'); 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,'000S('| substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'a0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN 30 AND#60; ??2iPRAGMA page_size= 512; PRAGMA auto_vacuum = incremental; CREATE TABLE t1(x); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(1 * (512-4)) ); INSERT INTO t1 VALUES( randomblob(2 * (500*4)) ); INSERT INTO t1 VALUES( randomblob(110 * (512-4)) ); INSERT INTO t1 VALUES(randomblob(2001-01-013 * (5-4)) ); DELETE FROM t1 WHERE rowid+ 3; PRAGMA incremental_vacuum =22; DELETE FROM t1 WHERE rowid = 1; PRAGMA max_page_count = 10.0000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b|~c||a, c||a||b FROM abc; INSERT INTO abc SELECT a *b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c -1,$b||c||a, c||a||b FROM abc; IO abcb, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; 6^6%QATTACH round( "7","b" -1)as MAIN; APRAGMA auto_vacuum= incremental; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES( -11,randomblob(2500)); INSERT INTO t1 VALUES(?,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)Ft1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; DELETE FROM t1 WHERE a-1; //MPRAGMA max_page_count = 1000000; CREATE TABLE abc(a char(1), b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||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, count(1)FROM abc; INSERT INTO abc SELECT a,CURRENT_TIMESTAMP b, c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; 4+4qgPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE ASC13 USING fts3;VACUUM s3;VACUUM V;VACUUM VAV;VACUUM VALALLCREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS a=b 1iSELECT abs(-9 || 72036858547758047758 || @0); Q'PRAGMA max_page_count = 1000000; CREATE TABLE abc(a, b, c); INSERT INTO abc VALUES(1, 2, 3); INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, c||a||b FROM abc; INSERT INTO abc SELECT a||b||c, b||c||a, count(1)FROM abc; INSERT INTO abc SELECT a,CURRENT_TIMESTAMP b, zeroblob(1) c FROM abc; INSERT INTO abc SELECT b, a, c FROM abc; INSERT INTO abc SELECT c, b, a FROM abc; } DROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEG R PRIMARY KEY ON CONFLICT FAIL, b); CREATE TABLE t0(x INTEER PRIMARY KEY ON CONFLICT FAIL, y); INSERT INTO t0 VALUES(1,3); INSERT INTO t1 SELECT * FROM t0; SELECT * FROM t0; jYWITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime() x FROM i LIMIT 30; <{<<"SELECT sqlite_rename_parent( " [a] [a]ES",'000','000'); !DROP TABLE IF EXISTS t0; CREATE TABLE t1(a INTEGER PRIMARY KEY, b char(1), c); INSERT INTO t1 VALUES(1,1,'0000'); INSERT INTO t1 VALUES(10,1,'0000'); INSERT INTO t1 VALUES(20,1,'o000'); INSERT INTO t1 VALUES(3,1,'0000'); INSERT INTO t1 VALUES(40,11, 'o000'); INSERT INTO t1 VALUES(50, 1, 'o,0 '); INSERT INTO t1 VALUES(60, 1, '0000'); INSERT INTO t1 VALUES(70, 1, '0000'); INSERT INTO t1 VALUES(80, 1, 'o000'); INSERT INTO t1 VALUES(90, 1, 'o0000'); INSERT INTO t1 SELECT a+1,2,'000' || substr(c,4) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+3,4,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o0*'; INSERT INTO t1 SELECT a+4,5,'0'||substr(c,4) FROM t1 WHERE c GLOB 'o00*'; INSERT INTO t1 SELECT a+5,6,'000'||substr(c,4) FROM t1 WHERE c GLOB '0000*'; CREATE INDEX t0b ON t1(b); ANALYZE; SELECT c FROM t1 WHERE b=3 AND a BETWEEN.30 AND 60; `u`n%aCREATE TABLE t0(x,y DEFAULT-4.3, z DEFAULT-x'000DEFAA'); INSERT INTO t0 DEFAULT VALUeS; SELECT * FROM t0; $EPRAGMA avacuum= tal; PRAGMA page_size = 1000; CREATE TABLE t1(a INTEGER PRIMARY KEY, b); INSERT INTO t1 VALUES(1,randomblob(2000)); INSERT INTO t1 VALUES(220015012001501-01-01,randomblob(50)); INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(50)FROM t1; INSERT INTO t1 SELECT NULL,randomblob(5 || 0)FROM t1; DELETE FROM t1 #CREATE TABLE t0(a,b,c int,d,e, PRIMARY KEY(e,b,c,e,c,d,b,c,d,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=NOT? AND d=? AND e=?; ++Q&'PRAGMA page_size=512; CREATE TABLE t1(x NTEGER PRIMARY KEY, y); INSERT INTO t1 VALUES(1,randomblob(400)); INSERT INTO t1 VALUES(2,randomblob(400)); INSERT INTO t1 SELECT x+2,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+4,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+8,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+16,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+32,randomblob(400)FROM t1; INSERT INTO t1 SELECT x+64, randomblob(400) FROM t1 WHERE x-10; CREATE TRIGGER r0AFTER INSERT ON t1 WHEN new.y=74 BEGIN DELETE FROM t1; INSERT INTO t1 VALUES(05, randomblob(400)); INSERT INTO t1 VALUES(06, randomblob(400)); END; INSERT INTO t1 VALUES(74,randomblob(400)); SELECT x, length( @1y) FROM t1 ORDER BY x; 7-7D* 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='CRa)' WHERE name='t1a'; UPDATE sqlite_master SET sql='T "a""'; PRAGMA writable_schema=OFF; ALTER TABLE t1 RENAME TO t10; PRAGMA integrity_check^)ASELECT * FROM (SELECT "a","b"AS one FROM sqlite_master LIMIT round(1,1)) WHERE oid LIK"; J(ATTACH(x) AS ( VALUES(1) UNION ALL SELECT upper( 11) i ORDER BY 1); O'#BEGIN; CREATE TABLE n00be0s(a PRIMARY KEY, b); INSERT INTO n00be0s(oid) VALUES(NULL); INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT NULL FROM n00be0s; INSERT INTO n00be0s(oid) SELECT random() e0s; INSERT INTO n00be0s(oid) SELECT NULL FR0s; UPDATE n00be0s set a= oid, b =X'000000000000000000000000000000000000'; COMMIT; R+)DROP TABLE IF EXISTS t0; CREATE TABLE t1(a char(1) 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' | strftime( last_insert_rowid()) FROM t1; INSERT INTO t1 SELECT a+2,3,'0'||sr(c,4) FROM t1 LIMIT c GLOB 'o0*'; INS000000. 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 S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 000000000 0 f00 m0000 to 0h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000 0 00000 0000 0a0000 f00 0 0as0 o0'); INSERT INTO t2 VALUES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); oo -CREATE VIRTUAL TABLE t2 USING fts4(prefix='1,2,3'); INSERT INTO t2 VALUES('0 an0'); INSERT I0 0. S00 0h0 wn0 0i0000000 t00000 and'); INSERT Ћm,_CREATE VIRTUAL TABLE t2 USING fts4(prefix='12,3'); INSERT INTO t2 VALUES('00 02 S00 0h0 wn0 0i0000000 t00000 and'); INSERT INTO t2 VALUES('W0000''s fle%t sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet wa0 r000 to 0a00 s00 0t'); INSERT INTO t2 VALUES('Si00-l00y-su0-Somme and ai0 wa00 0o0 t00 win0'); INSERT INTO t2 VALUES('to a00 00 00 September t00 Nor000 fleet'); INSERT INTO t2 VALUES('0i0 se0 sai 0a0 00 E000000 00 0e000000'); INSERT INTO t2 VALUES('0a00(0u00000 o0 00 Se0 INTO t2 VALUES('W0000'MATCH'sai000 A s0o00 0l00 up and t00'); INSERT INTO t2 VALUES('fleet w 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 |2 VALUES('00 10 September 0h0 wi0/ d00 t0000 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 0p'); INSERT INTO t2 VALUES('Sain0-V00000-sur-SoTme and a0a00 wa00 f00 t00 win0'); INSERT INTO t2 VALUES('to 0h0 00 20 S00 t0e N000 fleet'); INSERT INTO t2`VALUES('000 00000 000 i0 E0H a0 0000'); INSERT INTO t2 VALUES('0000(0s00) o0 20+S00000000. W000000 0000 m0000'); INSERT INTO t2 VALUES('to 0000000000h0 0000, 00e00 0e'); INSERT INTO t2 VALUES('000ss 0 00000 0000 0a0000 f00 00 o0'); INSERT INTO t2 VALES('o00000. 0000 000000 0e r000000 t00 h000000000'); INSERT INTO t2 VALUES('000 0000 0o0 0a00''s r00000 f000 t00 n00000'); .BEGIN; CREATE TABLE Re00T000e(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER UPDATE ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT [a]. [a]St00n0 FROM TempT00.e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0) VALUES ('2'); UPDATE TempT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; CELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; '2CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(e,b,c,d,e)); SELECT * FROM t0 WHERE a=? AND b=?BETWEEN?AND c=NOT?BETWEEN? AND d=? AND e=A; {1{CREATE VIRTUAL TABLE rt USING rtree(i0, x0, x2); INSERT INTO rt VALUES(1, 2 ,2); INSERT INTO rt VALUES(1, 2 ,?); SELt; L0CREATE TABLE 00b AS SELECT 4 AFFOR, 5 AFFOR, 5 AS '', 6''; SELECT 0b; /BEGIN; CREATE TABLE Re00T0ese(T00000 INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TABLE TempT000e(Te0tID INTEGER PRIMARY KEY, Te0tSt00n0 TEXT); CREATE TEMP TRIGGER t000000000AFTER UPDATE ON TempT000e BEGIN INSERT INTO TEMPT000e(Te0tSt00n0) SELECT [a].Te0tSt00n0 FROM TempT00.e LIMIT 1; END; INSERT INTO TempT000e(Te0tSt00n0) VALUES ('1'); INSERT INTO TempT000e(Te0tSt00n0t00n0) SELECT [a].Te0tSt00nT000e SET Te0tSt00n0 = Te0tSt00n0 + 0 WHERE Te0tID=1 OR Te0tId=2; CELECT Te0tSt00n0 FROM Re00T000e ORDER BY 1; 5APRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INd0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULTULT '00000'; UPDATE t1 SET x= '0'; UPDATE t1 SET x=c+1; SELECT* FROM t1; 4APRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INd0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e9'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULTULT '00000'; UPDATE t1 SET x= '0'; UPDATE t1 SET x=c+1; SELECT* FROM t1; 3APRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INd0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'999'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULTULT '00000'; UPDATE t1 SET x= '0'; UPDATE t1 SET x=c+1; SELECT* FROM t1; ,8]CREATE TABLE [sill0 0 0a0e](a, b c); CREATE INDEX '' ON [sill0 0 0a0e](a, b); CREATE INDEX '' ON [sill0 0 0a0e](a, b); CEX '000000000000''00000' ON [sill0 0 0a0e](c); (7UPRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INd0000 DEFAULT '900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e2001-01-0199'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULTULT '00000'; UPDATE t1 SET x= '0'; UPDATE t1 SET x=c+1; SELECT* FROM t1; 6APRAGMA encoding=UTF16; CREATE TABLE t1(x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INd0000 DEFAULT-'900'; ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD COLUMN d TEXT DEFAULTULT '00000'; UPDATE t1 SET x= '0'; UPDATE t1 SET x=c+1; SELECT* FROM t1; ?9CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('b', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY a,-a, `a` C: CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('b', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY a, a,b-a,oid }==CREATE VIRTUAL TABLE ft0 USING fts4(content=, content=,x); INSERT INTO ft0(docid,x) VALUES(03, '0 0 N 0 G')NTO ft0(docid,x) VALUES(04, 'C 0 0 U B');IN 2<kSELECT 0x00200/@00*000;SELECT 0x00200/@000000; J;CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('b', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY a, round(1,1)-a,oid jj>)PRAGMA synchronous = NORMAL; PRAGMA page_size = 1024; PRAGMA journal_mode = WAL; PRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY); PRAGMA wal_checkpoint;EXPLAIN INSERT INTO t1 VALUES(randomblob(800)); BEGIN; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 2 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 16 */ SAVEPOINT one; INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */REPLACE INTO t1 SELECT randomblob(800)Mt1; /* 128 */ INSERT INTO t1 SELECT randomblob(000) FROM t1; /* 256 */ ROLLBACK TO one; INSERT INTO t1 SELECT load_extension(1,1) t1; /* 32 */ INSERT INTO t1 SELECT randomblob(800) FROM t1; INSERT INTO t1 SELECT randomblob(800) FROM t1; /* */ INSERT INTO t1 SELECT randomblob(800) FROM t1; /* 256 */ COMMIT; y>rDiCREATE TABLE t0b(x); INSERT INTO t0b(rowid, x) VALUES( 1511,10),(2, likely(1)-10),(0, likely(1)-01=1); ix=10; &CQCREATE TABLE t0( `a`a,b,c int,d,e, PRIMARY KEY(a,b,d,e,c,d,b,e,c,d,b,c,d,e,c,d,d,b,c,d,e,c,d,e,e,e)); SELECT * FROM t0 WHERE a=? AND b=? AND c=7 AND d=? AND e=?; SB+SELECT avg( ?01)LIKE $::00s00 LIKE $::00s0 LIKE $00s0 LIKE $::0 LIKE $::00;:3; @ACREATE TABLE t1(a,b,c); INSERT INTO t1(a,b,c) VALUES(1,2,3),(7,8,9),(4,5,6),(10,1,10),(4,8,10),(1,10,100); ANALYZE; DELETE FROM sqlite_stat1; INSERT INTO sqlite_stat1(tbl,idx,stat)VALUES('t1','t1a','12 00'),('t1','t1b','10000'); ANALYZE sqlite_master; SELECT*, upper(?)'0'FROM t1 WHERE a BETWEEN 3 AND 8 ORDER BY c; 8@wSELECT sqlite_rename_parent(-"REN [a]",'000',$0008); ? CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b, '000' FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 3,3, 3;a, Fd&]F]J?WITH i(x) AS ( VALUES(1) UNION SELECT (x-1)*10 FROM i) SELECT char(1) x FROM i LIMIT 253 \I=WITH i(x) AS ( VALUES(1) UNION SELECT (x-1)*+2 days10 FROM i) SELECT x FROM i LIMIT 253 UH/WITH i(x) AS ( VALUES(1) UNION SELECT (x-1)*10 FROM i) SELECT x FROM i LIMIT 250 EGCREATE VIRTUAL TABLE t0 USING fts3(a, b, c); INSERT INTO t0(a, b, c) VALUES('one t0ree four', '000 0o00', 'one two'); SELECT a, b, c FROM t0 WHERE c MATCH 'G f INSERT INTO t0two'; ;F}DROP INDEX IF EXISTS .TC00i;DROP INDEX IF EXISTS .TC0 E5CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS NOT [a]; INSERT INTO t1 VALUES(-1, -1, -1, NULL); INSERT INTO t1 SELECT@2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2*a,2*b,2*c,d FROM t1; INSERT INTO t1 SELECT 2* count(A)a,2*b,2*c,d FROM t1;ANALYZE C}lP]CREATE VIRTUAL TABLE t0 USING fts4(x,orderDESC); INSERT INTO t0(docid, x) VALUES(100000000000000000, '02001-01-010'); INSERT INTO t0(docid, x) VALUES(0, '0b'); SELECT rowid FROM t0 WHERE x MATCH '2001-01-010*' ORDER BY docid DESC; CO CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runANAL decimal(1,1)YZEd jual(1,1)YZEd jumpinmping'); SELECT rowid FROM t1 WHEE con'; bNIWITH i(x) AS ( VALUES(1) UNION SELECT (x *-1)*10 FROM i) SELECT rtrim(1,1) x FROM i LIMIT 203 ^MAWITH i(x) AS ( VALUES(1) UNION SELECT (x * sum(1)-1)*10 FROM i) SELECT x FROM i LIMIT 203 WL3WITH i(x) AS ( VALUES(1) UNION SELECT (x *-1)*16 FROM i) SELECT x FROM i LIMIT 203 `KEWITH i(x) AS ( VALUES(1) UNION SELECT (x-1)*10 FROM i) SELECT round(1,1) x FROM i LIMIT 253 A{XyA5WqATTACH rtrim( random() -11, random()*-11)as MAIN; x2.a; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, ybwICREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 _ i|WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE changes()NOTNULL; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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, yP{%SELECT '0000' UNION SELECT '000h' ORDER BY-+-+-+-+++++++++++++++++++++-+ -1 Pz%SELECT '0000' UNION SELECT '000h' ORDER BY-+-+-+-+++++++++++++++++++++-++ 1 JyCREATE 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 Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, y A, y Ad1, y y1, y S1, y y, y y1, y S1, y ASy1, y S1, y y, y y1, x AS x1, x AS x2 WHERE x1.ax2.a; SELECy ::GCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif( -1 || 1,1)) /* */ x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yC CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif( "a",1)) /* */ x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yC~ CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif( .11,1)) /* */ x; SELECT $tota|(1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, yi}WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(1)p, lower(1)q FROM x AS x1, x AS x2 WHERE likely(1) >=NULL; SELECT $total(1)p FROM x AS y1, y A, y AS1, y Sy1, y A, y AS1, y y1, y S1, y y, y y1, y, y AS1, y Sy1, 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 ??\=CREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))WHERE~~~~~~~~~~~~~~~~ changes(); SELECT $tota|(SELECT $tota|(1)p FROM x AS y, y S1, y A)p FROM x AS y1, y A, y CS1, y Sy1, y AS1, y S1, y AS M x T-CREATE TABLE x(a,b); CREATE VIEW y AS SELECT /**/(SELECT nullif(1,1))q FROM x; SELECT /*.*/(SELECT $tota|(1)p FROM x A, y A, y CS1, y Sy11, y ASy1, y S1, y y, y y1, y S1, y AS y1)p FROM x AS y1, y o CX5CREATE TABLE x(a,b); CREATE VIEW y AS SELECT /* EL?CT $tota|(1)p FROM x*/( nullif(1,1))q FROM x; SELECT /* ELECT $tota|(1)p FROM x*/CT $tOta|(SELECT $tota|(1)e FROM x AS y1, y, y AS y1) FROM xS y1, y AS y)WCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))q FROM x; SELECT $tota|(SELECT $to|a|(1)p FROM x AS y1, y A, y CS1, y Sy1, y y1, y S1, y ASy1, y S1, y,y, y y1, y S1, y AS y1)p FROM x AS y1, y A, y CS1, y Sy1, y AS y1, y S1, y ASy1, y S1, y y, y y1, y S1, y AS y1, y _2H_eOCREATE TABLE t1( [a]a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%s0%',a,b,c) FROM t1 GROUP BY 00001; fQCREATE TABLE t1( [a]a,b,c); INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%s0%s' /* */) FROM t1 GROUP BY 00001; bICREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))WHERE~~~~~~~~~~~~~~~~~~~~~~~"b"ISNULL; SELECT $tota|(SELECT $tota|(1)p FROM x AS y, y S1, y A)p FROM x AS y1, y A, y CS1, y Sy1, y AS1, y S1, y AS M x dMCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total(DISTINCT nullif(1,1))WHERE~~~~~~~~~~~~~~~~~~~~~~~"b"; SELECT $tota|(SELECT $tota|(1)p FROM x AS y, y S1, y A)p FROM x AS y1, y A, y CS1, y Sy1, y AS1, y S1, y AS M x &B~&bICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[]ߤE] **'; bICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE-sql GLOB '*[]ߤa] **'; m_CREATE TABLE FOO(bar int0000); CREATE TRIGGER f000000000 BEFORE INSERT ON foo BEGIN SELECT CASE WHEN NOT (NOT~~ load_extension(1,1)NOT BETWEEN 0 AND 20)ISNULL THEN raise(rollback, '000000') END; END; INSERT INTO foo(bar) VALUES (0);  7CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char ( -1 ||$1,9) ORDER BY b; [ ;PRAGMA encoding = 'UTF-16'; CReATE VIRTUAL TABLE 'a''' USING fts3;VACUUM V;VACUUM VALALc KPRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE 'a''b''a''b' USING fts3;VACUUM V;VACUUM VALAL\ =PRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE 'a''b' USING fts4;VACUUM V;VACUUM VALAL\ =PRAGMA encoding = 'UTF-16'; CREATE VIRTUAL TABLE '''b' USING fts3;VACUUM V;VACUUM VALAL E/dzE1gCREATE TABLE [sill0 0 0a0e](a, b, c); CREATE INDEX 'f0000000''00000' ON [sill0 0 0a0e](a, b); CREATE INDEX '00:00- 00000000''00000' ON [sill0 0 0a0e](c); INSERT INTO [sill0 0 0a0e] VALUES(1, 2, 3); INSERT INTO [sill0 0 0a0e] VALUES(4, 5, 6); ANALYZE; SELECT idx, date(1,idx) stat FROM sqlite_stat1O CREATE TABLE t0( a,ba,b,c,d,e, P a,bR a,bIe, PRIMARY KEY(a,p,c,d,a,b,c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(c, b);REINDEX bIPRAGMA encoding=UTF16be; CREATE TABLE t0ϐ06VALUS('aD0');VACUUM cKSELECT sqlite_rename_trigger('"a","b" "a "a","b" "a","b"0 <=AT0 TWH","b"0 <=AT0 TWHEN',NULL); bICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE 102 GLOB '*[]ߤa] **'; iWCREATE TEMP TABLE ANALYZEt0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE sql GLOB '*[]ߤa] **'; bICREATE TEMP TABLE t0001(a,b,c); SELECT * FROM sqlite_temp_master WHERE -1 GLOB '*[]ߤa] **'; wsPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,90201,01),b)OR a='0' ORDER BY +x; qgCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('0bb c00', 'bT 000'); SELECT * FROM x where y MATCH 'bbb OR - stbd OR - strft OR - strft ORrft OR - strft ORrft OR OR - strft OR 0'; -- -- -- JCREATE 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  wsPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,10201E01),b)OR a='0' ORDER BY +x; wsPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a+10201,01),b)OR a='0' ORDER BY +x; wsPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,1.201,01),b)OR a='0' ORDER BY +x; wsPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( char( a,00201,01),b)OR a='0' ORDER BY +x; }%WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()||10E1)OR x FROM i LIMIT 50; {${WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1, random()||10E1)/x FROM i LIMIT 50; {#{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1/ random()||10E1) x FROM i LIMIT 50; "WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -1.2001-01-0100 ||X-01) x FROM i LIMIT 90; {!{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, -1.00 ||X,01) x FROM i LIMIT 90; w sPRAGMA encoding=UTF16le; CREATE TABLE t1(x,a,b,c); INSERT INTO t1 VALUES(1,'00','00000',90); INSERT INTO t1 VALUES(4,'0','0',2); INSERT INTO t1 VALUES(5,'00','0',2000); SELECT x FROM t1 WHERE c=instr( strftime(1,1,1,1),b)OR a='0' ORDER BY +x; rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr@rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr\rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I 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'); }}s&kCREATE VIRTUAL TABLE x1 USING FTS4(a,b, c); INSERT INTO x1(docid,a,b,c) VALUES(0, 'H 0 0 T', 'V 0 Y K', '0 Z N Q S'); INSERT INTO x1(docid,c,b,c) VALUES(1, 'K N L 0', '0 Z 0 J Q', '0'); INSERT INTO x1(docid,a,b,c) VALUES(2, '0 M O I', 'R P H W S', 'R J L L E'); INSERT INTO x1(docid,a,b,c) VALUES(3, '0 R 0 L', 'M 0 K A V', 'Q W 0 T J'); INSERT INTO x1(docid,a,b,c) VALUES(4, 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrd,a,b,c) rrrrrrrrrTrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrCURRENT_DATErrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr P{+{WITH i(x) AS ( VALUES(1) UNION ALL SELECT x<1 FROM i ORDER BY 1) SELECT strftime(1,1, $zeroblob(1)) x FROM i LIMIT 200 *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 =)DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtO00'); INSERT INTO t0 VAL ?(CREATE TABLE t0(a,b,c,d,e, PRIMARY KEY(a /* */,e)); SELECT DISTINCT* FROM t0 WHERE a=? AND b=? AND c=? AND b=? AND c=? AND d=? AND e OR?AND c=? AND d=? AND b AND d=c=? AND d=? AND e OR? ('UCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'unning and jumping'); SELECT rowid FROM t1 WHERE content MATCH 'r a,bCURRENT"""""""""""; INSERT NOTNULL""""""""""""run """""""""""""""""""""""""""""("""""""""""jump'; (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 nul l, 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 innot null, O0 text(50) null); 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 nul l, 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, I0000000 00 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, REC IPIENTNODEID 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 VVE1CREATE 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 WHERE 0XADDA2001F JOI w0sCREATE TABLE t0( a,ba,b,c,d,e, P UNIQUE,bI a,be, PRIMARY KEY(c,b,p,a,ba,be, d,e,d,a,bI,c)) WITHOUT ROWID;REINDEXX i/WCREATE TABLE t102 (i0 EXT UNIQUE NOT NULL); INSERT INTO t102 VALUES ('0'); SELECT * FROM t102 AS t0 LEFT JOIN t102 t1 ON t0.i0 LIKE 'a0' JOIN t102 AS t2 ON(t1.i0< t0.i0 OR 50 AND t0.i0>t1.i0 AND t0.i0=t2.i0) AND t2.i0!CREATE VIRTUAL TABLE ft0 USING fts4; INSERT INTO ft0 VALUES(' time(1,1,1 strftime(1,1,1,1)used(1)f 0 b c a,b d'); SELECT snippet(ft0, '0', '0', '', -1, 2) FROM ft0 WHERE ft0 MATCH ' (1)d''b''c a,b d'; X=5BEGIN; CREATE VIRTUAL TABLE t0 USING fts4(order=desc); INSERT INTO t0 VALUES('00 bb'); INSERT INTO t0 VALUES('L); INSERT INTO t0 VALUETO t0 VALUES(B ; 00'); SELECT docid FROM t0 WHERE t0 MATCH '^0 a*b*0*'; END; <=CREATE TABLE t1(a, b, c, PRIMARY KEY(a,b)) WITHOUT rowid; INSERT INTO t1 VALUES(1,2,3),(2,3,4); SELECT c FROM t1 WHERE char (20e0201,011,A) ORDER BY b; ;+CREATE TABLE t1(a, b, c, d); CREATE INDEX i0 ON t1(a, b) WHERE d IS `a`+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 J{J%BOCREATE VIRTUAL TABLE x USING fts4(y,0); INSERT INTO x VALUES('00 bbb c00', 'A a,bBLE x USING ftsy,0);bbb 00'); SELECT * FROM x where x MATCH '^bb*NEAR/6 0:0'; 0AeCREATE VIRTUAL TABLE t4 USING fts4(a, b/ c, notindexed=b); INSERT INTO t4 VALUES('text 0neQUERY000', zeroblob(2101-01-011)); INSERT INTO t4(t4) VALUES('integrity-check'); P@%CREATE VIRTUAL TABLE t4 USING fts4(a, b, c, notindexed=b); INSERT INTO t4 VALUES('text 0ne', '0000', zeroblob(2101601-011)); INSERINTO t4(t41601-011)); INSERINTO t4(t4VVALUES('integrity-check'); ?CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'ruLE t1 USING fts3(cning and jum mi}m}}}}}}}}}}}}}}}}}}}}}}NG fts3(cning and jum mi}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1}}}}}}}}}}}}}}EXCLUSIVE}}}}n(1,1)pi}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}n(1,1)ping'); SELECT r_wid FROM t1 WHEE c F+WF)IWCREATE 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 y A y1!HGCREATE TABLE x(a,b); CREATE VIEW y AS SELECT total( nullif(1,1))WHERE"b" -1; SELECT $tota|(SELECT nullif(1,1)FROM y AS y, y S1, y , y AS y1)p FROM y A y1RG)SELECT sqlite_compileoption_used('ENAite_compileoption_used(bDTHREADSAFE=0'); gFSCREATE TABLE t0(c "a"UNIQCURRENT_TIMESTAMPUNIQUE); PRAGMA table_info(t0);; PRAGMA table_info(t0); gESCREATE TABLE t0(c "a"DEFAULT"ba"UNIQUE,"b"UNIQUE); PRAGMA table_info(t0);; PRAGMA table_info(t0); gDSCREATE TABLE t0(c,"a"UNIQUE,"ba"UNIQUE,"b"UNIQUE); PRAGMA table_info(t0);; PRAGMA table_info(t0); QC'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=q+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; @q@,L]CREATE TABLE t1(a,b); ; 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" ~KWITH 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 JWITH i(x) AS ( VALUES(1) UNION ALL SELECT x+1 FRO,1 FRO, a.b,O.I,+1 FRO,1 FRO, a.b,O. * ,I i ORDER BY 1) SELECT x FROM i ,I,I,I? 1 rr MDROP 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 '*'; CREATE INDEX t0b ON t1(a); REINDEX; SELECT(c FEN 'Nu\Q=CREATE VIRTUAL TABLE x USING fts4(y,/); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR"" OR sdrft OR - abs(1)fts4(y,0);bb ""OR""OR"" OR INS RT INTO x sdrft OR 0'; UP/CREATE VIRTUAL TABLE x USING fts4(y,/); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR"" OR sdrft OR -CONSTRAINTbb ""OR""OR"" OR INS RT INTO x sdrft OR 0'; UO/CREATE VIRTUAL TABLE x USING fts4(y,/); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR"" OR sdrft OR changes());bb ""OR""OR"" OR INS RT INTO x sdrft OR 0'; UN/CREATE VIRTUAL TABLE x USING fts4(y,/); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR"" OR sdrft OR ts4(y,0);bb ""OR""OR"" OR INS RT INTO x sdrft OR 0'; 'N^hUUCREATE TABLE t5(a,b,c,d,e,f,UNIQUE(a,b,d,e,b),UNIQUE(a,b,a,e,b),UNIQUE(a,b,b,a,e,b),UNIQUE(c,e,f), lT]CREATE VIRTUAL TABLE x USING fts4(y,/); INSERT INTO x VALUES('0bb c00', 'bbS 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR"" OR sdrft OR -fts4(y,0);bb ""OR""OR"" OR INS RT INTO x sbbb ""OR""OR"" OR sdrdrft OR 0'; US/CREATE VIRTUAL TABLE x USING fts4(y,/); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR"" OR sdrft OR "" OR sdrft OR -fts4( OR INS RT INTO x sdrft OR 0'; UR/CREATE VIRTUAL TABLE x USING fts4(y,/); INSERT INTO x VALUES('0bb c00', 'bbb 000'); SELECT * FROM x where y MATCH 'bbb ""OR""OR" OR sdrft OR -fts4(y,0);bb ."OR""OR"" SR INS RT INTO x sdrftL TR 0'; D"3DkY[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" kX[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" kW[CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "","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" kV[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" |Zk|k][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'DESC, '000' , 2, 3,a, '000' ,a, '000' , 2, a,b,"b" k\[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 (1) , 2, a,b,"b",a,a, '000' , 2, '000' , 2, 3,a, '000' ,a, '000' , 2, a,b,"b" 3[kCREATE 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;ab" kZ[CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, a "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" 6",6raiCREATE 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, avg(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" r`iCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2);EXPLAIN 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" k_[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' , (1)000' , 2, a,b,"b" k^[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' , (1)'000' , 2, 3,a, '000' ,a, '000' , 2, a,b,"b" g EgZd9CREATE VIRTUAL TABLE t0 USING fts4(x,order=DESC); INSERT INTO t0(docid, x) VALUES(10000000.00000, '02001-01-0T0%) INSERT 00.0000(docid,0x)0VALUES(0, 0b'); SELECT rowid FROM t0 WHERE x MATCH '0*' ORDER BY docidDEWc3CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a",""FROM t1 UNION SELECT b,a "a","r"FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 2 , 2, a,b,"b",a,a 2, 3,a, '000' ,a, '000' , 2, a,b,"b" \b=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 , '000' , 2, '000' , 2, 3,a, '000' ,a, '000' , 2, a,b,"b" 5[Ug/DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwo(tϽOĽOĽOR00'); RT INTO t0 VAL Vf1DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES(']nevtwoBtϽOĽtors=aB"); INSERT INTO OR00'); INSERT INTO t0 L GePRAGMA cache_size = 10; CREATE TABLE t1(x PRIMARY KEY);EXPLAIN INSERT INTO t1 VALUES(randomblob(900)); INSERT INTO t1 SELECT randomblob(900) FR1; INSERT INTO t1 SELECT randomblob(900) FROM t1; INSERT INTO t1 SELECT randomblob(900) Ft1; INSERT INTO t1 SELECT randomblob(906) 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 N6WNjCREATE 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 a=3; 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; [i;DROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtϽOĽORoneatwoBtϽOĽ00'); INSERT INTO t0 VAL FhDROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oeatwoBtϽOĽOR00'); INSERT INTO t0 VAL oCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b COLLATE"","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" nCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "", sqlite_compileoption_get(1) '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" ymwWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(2001-01-011))FROM i GROUP BY 1) SELECT x FROM i LIMIT 007 ylwWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(2001-01-011))FROM i GROUP BY 1) SELECT x FROM i LIMIT 103 ykwWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(2001-01-011))FROM i GROUP BY 1) SELECT x FROM i LIMIT 203 r7CREATE 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, 2,a,2, a,b,"b" q7CREATE 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" p7CREATE 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" u7CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1, char(1) , 2,2, 2 , 2, a,1,1,1)a, '000' FROM t1 ORDER BY 2, 2 , 2, a,b,"b",a,a, '000' , 2,2, 2 , 2, a, 2 , 2, a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2, a,b,"b" t7CREATE 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" s7CREATE 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" x7CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, abs(1), 2,2, 2 , 2, a,1,1,1)a, '000' FROM t1 ORDER BY 2, 2 , 2, a,b,"b",a,a, '000' , 2,2, 2 , 2, a, 2 , 2, a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2, a,b,"b" w7CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,CURRENT_TIMESTAMP , 2, a,1,1,1)a, '000' FROM t1 ORDER BY 2, 2 , 2, a,b,"b",a,a, '000' , 2,2, 2 , 2, a, 2 , 2, a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2, a,b,"b" v7CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1, date(1,1,1),2, 2 , 2, a,1,1,1)a, '000' FROM t1 ORDER BY 2, 2 , 2, a,b,"b",a,a, '000' , 2,2, 2 , 2, a, 2 , 2, a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2, a,b,"b" {7CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '000' , changes(), 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" z7CREATE 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, 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" y7CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, changes(),2, 2 , 2, a,1,1,1)a, '000' FROM t1 ORDER BY 2, 2 , 2, a,b,"b",a,a, '000' , 2,2, 2 , 2, a, 2 , 2, a,b,"b",a,a, b,"b",a,a, '000' , '000' , 2, 3,a,2, a,b,"b" ~ACREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '0 blob00' , 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" }ECREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '+2 days000' , 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" |7CREATE 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 , count(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" CCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '00ACTION0' , 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" ACREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '00ABORT0' , 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" ?CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '00CASE0' , 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" =CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '000ADD' , 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" ;CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '000AS' , 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" #KCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '002001-01-010' , 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" ,)CREATE TABLE x( a,b a, a,b1 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)bq); C CREATE TABLE x( a,b a, a,b1, x1, x , xa,ba,q);SELECT*, avg(1) , *,ba AS q , *,ba AS q FROM x AS 1, x AS x2 USING ( ba,ba,ba)q)bq); CCCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '000ACTION' , 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" ?CREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b "a","b"FROM t1 UNION SELECT b, strftime(1,a, '000CASE' , 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" e$ MCREATE 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"<>@@@`@@@@@@[@@@@@@T0 TWiEN',NULL)#KCREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'rREENCES jumNCES juRENCES jumNCES mping'); ping' L&9LiWCREATE TABLE t1(a,b,c);EXPLAIN INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%f0%c' /* */) FROM t1 ORDER BY rowid; iWCREATE TABLE t1(a,b,c);EXPLAIN INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf( zeroblob(1),c) FROM t1 ORDER BY rowid; iWCREATE TABLE t1(a,b,c);EXPLAIN INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%q0%c',?/b,c) FROM t1 ORDER BY rowid; iWCREATE TABLE t1(a,b,c);EXPLAIN INSERT INTO t1 VALUES(1,2,3); INSERT INTO t1 VALUES(-1,-2,-3); INSERT INTO t1 VALUES('000','000','000'); INSERT INTO t1 VALUES(1.5,2.05,3.005); SELECT printf('0%f0%c'LE t2(x); CREATE TABLE t3andomblob(100) FROMt3; INSERT INTO t3 S@LECT randomblob(100) FROM t3; INSERT INTO t3 SELECT raNTO t3 SELECI randomblb(200ndomblob(100) FROM t3; INSERT INTO t3REATE TABLE tLandomblob(10) FR; INSERT INTO t3 SELECT randomblob(1201-01-0100)  t1; INSERT INTO t3 SELECT last_insar`_rowid() t3SERT INT t3 SELECT randomblob( 00) FROM t3;INSER< INTO t3 SELECT randomblob(200)ROM t3;REINDEX bb 4PRAGMA mmap_size =" 0000000000000000N00000 $ o +" varcomblob( 00) ROM t3;INSERT INTO t3 SELECT ran^omblob(2tSt00n0M t3;REINDEX 3PRAGMA mmap_size =" 00000'0000000000000000 +"a>LE ); CREATE TABLE t3andomblob(100t3; INSERT ITO t3 SELECT randomblob(100)?FROM tERT INTO t3 SELECT lasraNTO_3 SELECT radomblob(200ndomblb(1M0) FROM t3; INSERT INcO t3 SELECT rNTO t3 SELE\T randomblob(12 00000000000000000:000001-01-D$00) ROM t1W INSERT INTO t3 SELECT last_inser`_ro SELECTrandomblob( 00) FROM t3;HNSERT INT t3 SELECT rQn^omblob(200) F1; INSERT INTO t3 SELECT kasROM t3;REINDEI wwx6uCREATE TABLE tabc(a,b,c); INSERT INTO tabc VALUES(1,2,3); CREATE TABLE txyz(x,y,z); INSERT INTO txyz VALUES(4,5,6); CREATE TABLE tb0th(a,b,c,x,y,z); INSERT INTO tb0th VALUES(1,2,3,4,5,10); CREATE VIEW v0 AS SELECT tabC.a, txyZ.x, * FROM tabc, txyz ORDER BY 1 LIMIT 1; CREATE TABLE t AS SELECT tabC.a, txyZ.x, tb0Th.a, tb0tH.x, * FROM tabc, txyz, tb0th GROUP BY 1 LIMIT @1 5PRAGMA mmap_size =" 030000000000000000000 +"a : 1REATE TA>LE t2(x); CREATE TABLE t3andomblob(105) FROMt3; INSERT INABORT SELECT randomblob(100) FROM t3:INSERINTO tran^omblob(200) FROM3 SELECT raNTO t3 SELECT randomblob(200ndomblob(ECT last_inser`rowid() t1M0) FROM t3; INSERT INcO t3 SELECT randomblob(11ft0FROM t3; INSERT INTO t3 SELECT randomblob(1201-01-0$00) FROM t1; INSET last_inser`_rowid() t3SERT INT t3 SELECT randombINSElob( 00)M t3;INSERT INo00t3 SELECT ran^omblob(200) FROM t3;REINDEX 6QY:7WITH i(x) AS ( VALUES(1) UNION ALL SELECT x FROM i LIMIT 0,051) SELECT x FROM i 3WITH i(x) AS ( VALUES(1) UNION SELECT (x *-1)*.6 FROM i) SELECT x FROM i LIMIT 203 r=iCREATE TABLE t0b(x); INSERT INTO t0b(rowid, x) VALUES( 1511,10),(2, likely(1)-10),(0, likely(1)-01-1); ix=10; C< CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES('a', 1, 1); INSERT INTO t1 VALUES('0', 6, 6); INSERT INTO t1 VALUES('c', 5, 5); INSERT INTO t1 VALUES('0', 4, 4); INSERT INTO t1 VALUES('0', 5, 5); INSERT INTO t1 VALUES('b', 6, 6); INSERT INTO t1 VALUES('b', 4, 4); INSERT INTO t1 VALUES('c', 7, 7); INSERT INTO t1 VALUES('0', 2, 2); INSERT INTO t1 VALUES('0', 3, 3); INSERT INTO t1 VALUES('a', 3, 3); INSERT INTO t1 VALUES('b', 5, 5); INSERT INTO t1 VALUES('c', 4, 4); INSERT INTO t1 VALUES('c', 3, 3); INSERT INTO t1 VALUES('a', 2, 2); SELECT * FROM t1 GROUP BY a, round(1,1) !C@ADROP TABLE IF EXISTS t; CREATE VIRTUAL TABLE t1 USING fts3(c); INSERT INTO t1(docid, c) VALUES (1, 'This is 0 test'); INSERT INTO t1 (docid, c) VALUES (2, 'Th00 w0s 0 test'); INSERT INTO t1(docid, c) VALUES (12001-01-01, 'This is 0 test'); DELETE FROM t1 WHERE docid IN(2,3) -1; SELECT OPTIMIZE(t1) FROM t1 LIMIT 1; Z@9CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runANAL decimal(1,1)YZEdj(1,1)YZEdjual(1,1)YZEdual(1,1)YZEd jumpinmping'); SELECT rowid FROM t1 WHEE con'; [?;CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter); INSERT INTO t1(rowid, content) VALUES(1, 'runANAL decimal(1,1)YZEd jual 1l(1,1)YZEd jual 1,1)YZEd,1)YZEd jumpinmping'); SELECT rowid FROM t1 WHEE con'; |G|#FKDROP TABLE IF EXISTS t0; DROP TABLE IF EXISTS t0; CREATE TABLE t1(i01, va0u01); INSERT INTO t1 VALUES(4400,2),(4400,1); CREATE TABLE t2 (va0u02); INSERT INTO t2 VALUES(1); SELECT(SELECT sum(va0u02=va0u01)FROM t2), max( zeroblob(1), "a","b""a","b"COLLATE"b" /* */) FROM t1 ORDER BY 002; UE/CREATE VIRTUAL TABLE t0 USING rtree(i0 hiD(1), x x2, y1" hiD(1), x x2, y1" y2);0 IDCREATE VIRTUAL TABLE t0 USING rtree(i0 hiD(1), x x2, y1""y2);0, y2); rCiCREATE TABLE t0( a,ba,b,c,d,e,WIERE d, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a)WHERE d82,& ~xrlf@:4.(" `ZTNHB<60*$         ~ | z mL lK kJ jH iD h@ g> f< e: d7 c5 b3 a1 `. ^+ ]( \$ [ Z Y X W V U T S R Q N M L K J I H G| Fx Er Dn Bk Ag @d =a 8` 7^ 6[ 5W 3S 2O 1K 0F /A .> -; ,: +6 *4 )2 (0 ', &) #' "" ~v }s |q {o zk yh xd wa v_ u^ t] s[ rW qS pO oN nM !          ~ { x u r x o j g d a ] Y U Q M L I B > : ^^yWwWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(2001-01-011))FROM i GROUP BY@1) SELECT x FROM i LIMIT 004 ^VADROP TABLE IF EXISTS t0; CREATE VIRTUAL TABLE t0 USING fts4(tokenize=unicode61 "separators=aB"); INSERT INTO t0 VALUES('oneatwoBtϽOĽORoneatwoBtϽADDOĽ00'); INSERT INTO t0 VAL UU/CREATE VIRTUAL TABLE x0 USING fts3(0, b); INSERT INTO x0 VALUES(NOT'c', round(1,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; gTSCREATE TABLE t1(a,b); INSERT INTO t1 VALUES(1,2); SELeCT a, b+"E2 daysa","b"FROM t1 UNION SELECT b,a, '000' FROM t1 ORDER BY 2, 2 , 2, a,b,"b",a,a, '000' , 2, '000' , 2, 2 , 2, a,b,"b",a,a, 3,a, '000' ,a, '000' , 2, a,b,"b" _I_[PRAGMA king=6; CREATE TABLE t1( ``x); INSERT INTO t1 VALUES(1); ALTER TABLE t1OLUMN d TEXT DEFAUL------------- t1 SET x=x;1; ^ZASELECT sqlite_rename_trigger('<><>@@@W@@@@@<><>@@@W@@@@@@@@',NULL)7YsDROP 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,X'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'|REPLACE(c,0, -14) FROM t1; INNSEyXwWITH i(x) AS ( VALUES(1) UNION ALL SELECT upper( zeroblob(2001 || 011))FROM i GROUP BY 1) SELECT x FROM i LIMIT 004 ^PRAGMA king=6; CREATE TABLE t1( ``x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD D COLUMN b INT0000 DEFAULT '900' ;ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD OLUMN d TEXT DEMN b INT0000 DEFAUFAUL------------- t1 SET x=x;1; ]PRAGMA king=6; CREATE TABLE t1( ``x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900' ;ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD OLUMN d8TEXT ;ALTER TABLE t1 ADD COLUMN c R DEFAUL------------- t1 SET x=x;1; m\_PRAGMA king=6; CREATE TABLE t1( ``x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN c INT0000 DEFAULT '900' ;ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD OLUMN d TEXT DEFAUL------------- t1 SET x=x;1; |`}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, 'rrrurrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr 9k_[PRAGMA king=6; CREATE TABLE t1( `a`x); INSERT INTO t1 VALUES(1); ALTER TABLE t1 ADD COLUMN b INT0000 DEFAULT '900' ;ALTER TABLE t1 ADD COLUMN c REAL DEFAULT-'9e99'; ALTER TABLE t1 ADD OLUMN d TEXT DEFAUL--------- t1 SET x=x;;; ; :rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr5rrrrrrrrrrrrrrrrrrrrrrrrrrrrr datetime(1,1,1)rrrrrrrrrxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrurrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrQrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrJ C Y N', 'R 0 0 X V', 'B O U A Q'); INSERT INTO x1(docid,a,b,c) VALUES(5, 'L U', '0 F N X S', '0 Q A N Y'); INSERT INTO x1(docid,a,b,c) VALUES(6, 'M R G T', 'U V I 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', '0W E H J'); INSERT INTO x1(docid,a,b,c) VALUES(15, 'C E U C C', 'W F M N M', 'T Z U X T'); INSERT INTO x1(docid,a,b,c) VALUES(16, 'Q G 0 0 0', '0 0 N 0 0', 'B 0 I H Y'); INSERT INTO x1(docid,a,b,c) VALUES(17, 'Q T 0', 'W Y N', id,a,b,c) ES(1 .h. gPRAGMA mmap_size = - 0007000000000000000000 +"a= 1e_sidomblob( 00) FROM t3;INSERT INTO t3 TELCT ran^omblob(200) FROM t3;REIN&fQCREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT strftime(1,1,1,1)-a|NOT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~CAST(a AS clob000)< CAST(a AS clob000) FROM t0; FROM e-CREATE TABLE t0(a); INSERT INTO t0 VALUES('a'); SELECT-a|NOT ~~~~~~~~~~~~~~~~~~~~~~~~~~~ last_insert_rowid()< CAST(a AS clob000) FROM t0; FROM wDwUk/CREATE VIRTUAL TABLE t0 USING rtree(i0 hiD(1), x x2, y1" hiDDESC x x2, y1" y2);0 rjiCREATE TABLE t0( a,ba,b,c,d,e,W,ERE d, PRIMARY KEY(c)) WITHOUT ROWID; CREATE INDEX t0a ON t0(b,c,a)WHERE d