## Summary
<!--Explain briefly what goes wrong and explain why you believe this is a bug and not the intended behavior of SQLite (if it is not a crash).-->**No review yet**

## Minimized query

```sql
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (if((timediff(strftime('%s', 0), 0) + 0), 1, 0, 1, 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
PRAGMA secure_delete = TRUE;
BEGIN IMMEDIATE TRANSACTION;
PRAGMA empty_result_callbacks = NO;
.exit
SAVEPOINT sp2294;
SAVEPOINT sp2529;
CREATE TABLE T (
  a CLOB,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',x'ebec9b64b7864ced718e97a7adefdc' -> '$.key',power(json_tree(unistr_quote(jsonb_array(x'85ca913e6816'))), 2.0)), ('a',2,-3.0), ('b',1,4.5);
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
PRAGMA parser_trace = TRUE;
.show
.print
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(asin(strftime(('%Y-%m-%d' || ''), -(-(timediff(NULL, concat('a', 'b', 'c'))timediff(NULL, NULL))))), CAST(NULL AS BLOB), -(-(3909990648987131367)));
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE NOT NOT NOT (NOT NOT (t0.a=t1.a OR t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789)) ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a LEFT JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0; /**/ ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',100.0), ('b',-200.5), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, /* PRAGMA query_only = 1; */ t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
PRAGMA empty_result_callbacks = 1;
SELECT * FROM tx;
UPDATE tx SET id = CURRENT_TIMESTAMP WHERE 1;
ALTER TABLE tx RENAME COLUMN a TO a_r2198;
REINDEX;
CREATE TRIGGER IF NOT EXISTS trg_tx_8857 BEFORE DELETE ON tx FOR EACH ROW BEGIN INSERT INTO tx(id) VALUES (NULL); END;
UPDATE tx SET b = 'x' WHERE b BETWEEN 0 AND 100 RETURNING *;
ALTER TABLE tx RENAME COLUMN a TO a_r5453;
ALTER TABLE tx ADD COLUMN extra_6717 ANY DEFAULT CURRENT_TIMESTAMP;
DROP VIEW IF EXISTS tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_3967 ON tx(b COLLATE NOCASE) WHERE b > 0;
SELECT STRING_AGG(b, '|') FROM tx;
ANALYZE tx;
INSERT INTO tx SELECT * FROM tx;
SELECT * FROM T WHERE b NOT IN (SELECT b FROM T);
VACUUM;
UPDATE tx SET a = -38 WHERE rowid = 1;
VACUUM;
ROLLBACK TRANSACTION TO SAVEPOINT sp2529;
RELEASE SAVEPOINT sp2529;
ALTER TABLE T DROP COLUMN a;
SELECT b FROM tx UNION SELECT b FROM (SELECT * FROM tx) AS sub;
SELECT * FROM T;
SELECT TOTAL(a) FROM T;
RELEASE sp2294;
INSERT INTO T VALUES (NULL, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
INSERT INTO tx VALUES ('x', NULL, 1) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
COMMIT;
INSERT INTO tx SELECT * FROM tx;
ALTER TABLE tx ADD COLUMN extra_2792 CLOB DEFAULT (random());
WITH cte AS (SELECT b, LAG(b) OVER (ORDER BY b) AS prev FROM tx) SELECT * FROM cte;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
SELECT GROUP_CONCAT(a) FROM tx;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_tx_7770 AFTER UPDATE OF b ON tx BEGIN SELECT RAISE(FAIL, 'no'); END;
UPDATE tx SET b = '' WHERE b IS NOT NULL RETURNING *;
SELECT 0x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_926 AS SELECT a FROM T;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, NULL, NULL);
ALTER TABLE tx ADD COLUMN extra_1775 CLOB UNIQUE;
INSERT INTO tx VALUES ('x', 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
ALTER TABLE tx RENAME COLUMN a TO a_r4656;
SELECT LEAD(b, 2, b) OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM tx;
DELETE FROM T WHERE 0 RETURNING *;
SELECT * FROM tx;
ALTER TABLE T RENAME COLUMN b TO b_r6715;
SELECT * FROM T;
PRAGMA reverse_unordered_selects = OFF;
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (if(0, 1, 0, 1, 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
PRAGMA secure_delete = TRUE;
BEGIN IMMEDIATE TRANSACTION;
PRAGMA empty_result_callbacks = NO;
.exit
SAVEPOINT sp2294;
SAVEPOINT sp2529;
CREATE TABLE T (
  a CLOB,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',x'ebec9b64b7864ced718e97a7adefdc' -> '$.key',power(json_tree(unistr_quote(jsonb_array(x'85ca913e6816'))), 2.0)), ('a',2,-3.0), ('b',1,4.5);
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
PRAGMA parser_trace = TRUE;
.show
.print
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(asin(strftime(('%Y-%m-%d' || ''), -(-(timediff(NULL, concat('a', 'b', 'c'))timediff(NULL, NULL))))), CAST(NULL AS BLOB), -(-(3909990648987131367)));
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE NOT NOT NOT (NOT NOT (t0.a=t1.a OR t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789)) ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a LEFT JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0; /**/ ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',100.0), ('b',-200.5), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, /* PRAGMA query_only = 1; */ t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
PRAGMA empty_result_callbacks = 1;
SELECT * FROM tx;
UPDATE tx SET id = CURRENT_TIMESTAMP WHERE 1;
ALTER TABLE tx RENAME COLUMN a TO a_r2198;
REINDEX;
CREATE TRIGGER IF NOT EXISTS trg_tx_8857 BEFORE DELETE ON tx FOR EACH ROW BEGIN INSERT INTO tx(id) VALUES (NULL); END;
UPDATE tx SET b = 'x' WHERE b BETWEEN 0 AND 100 RETURNING *;
ALTER TABLE tx RENAME COLUMN a TO a_r5453;
ALTER TABLE tx ADD COLUMN extra_6717 ANY DEFAULT CURRENT_TIMESTAMP;
DROP VIEW IF EXISTS tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_3967 ON tx(b COLLATE NOCASE) WHERE b > 0;
SELECT STRING_AGG(b, '|') FROM tx;
ANALYZE tx;
INSERT INTO tx SELECT * FROM tx;
SELECT * FROM T WHERE b NOT IN (SELECT b FROM T);
VACUUM;
UPDATE tx SET a = -38 WHERE rowid = 1;
VACUUM;
ROLLBACK TRANSACTION TO SAVEPOINT sp2529;
RELEASE SAVEPOINT sp2529;
ALTER TABLE T DROP COLUMN a;
SELECT b FROM tx UNION SELECT b FROM (SELECT * FROM tx) AS sub;
SELECT * FROM T;
SELECT TOTAL(a) FROM T;
RELEASE sp2294;
INSERT INTO T VALUES (NULL, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
INSERT INTO tx VALUES ('x', NULL, 1) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
COMMIT;
INSERT INTO tx SELECT * FROM tx;
ALTER TABLE tx ADD COLUMN extra_2792 CLOB DEFAULT (random());
WITH cte AS (SELECT b, LAG(b) OVER (ORDER BY b) AS prev FROM tx) SELECT * FROM cte;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
SELECT GROUP_CONCAT(a) FROM tx;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_tx_7770 AFTER UPDATE OF b ON tx BEGIN SELECT RAISE(FAIL, 'no'); END;
UPDATE tx SET b = '' WHERE b IS NOT NULL RETURNING *;
SELECT 0x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_926 AS SELECT a FROM T;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, NULL, NULL);
ALTER TABLE tx ADD COLUMN extra_1775 CLOB UNIQUE;
INSERT INTO tx VALUES ('x', 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
ALTER TABLE tx RENAME COLUMN a TO a_r4656;
SELECT LEAD(b, 2, b) OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM tx;
DELETE FROM T WHERE 0 RETURNING *;
SELECT * FROM tx;
ALTER TABLE T RENAME COLUMN b TO b_r6715;
SELECT * FROM T;
PRAGMA reverse_unordered_selects = OFF;
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (if(0, 1, 0, 1, 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
PRAGMA secure_delete = TRUE;
BEGIN IMMEDIATE TRANSACTION;
PRAGMA empty_result_callbacks = NO;
.exit
SAVEPOINT sp2294;
SAVEPOINT sp2529;
CREATE TABLE T (
  a CLOB,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',x'ebec9b64b7864ced718e97a7adefdc' -> '$.key',power(json_tree(unistr_quote(jsonb_array(x'85ca913e6816'))), 2.0)), ('a',2,-3.0), ('b',1,4.5);
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
PRAGMA parser_trace = TRUE;
.show
.print
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(asin(strftime(('%Y-%m-%d' || ''), -(-(timediff(NULL, concat('a', 'b', 'c'))timediff(NULL, NULL))))), CAST(NULL AS BLOB), -(-(3909990648987131367)));
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE NOT NOT NOT (NOT NOT (t0.a=t1.a OR t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789)) ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a LEFT JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0; /**/ ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',100.0), ('b',-200.5), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, /* PRAGMA query_only = 1; */ t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
PRAGMA empty_result_callbacks = 1;
SELECT * FROM tx;
UPDATE tx SET id = CURRENT_TIMESTAMP WHERE 1;
ALTER TABLE tx RENAME COLUMN a TO a_r2198;
REINDEX;
CREATE TRIGGER IF NOT EXISTS trg_tx_8857 BEFORE DELETE ON tx FOR EACH ROW BEGIN INSERT INTO tx(id) VALUES (NULL); END;
UPDATE tx SET b = 'x' WHERE b BETWEEN 0 AND 100 RETURNING *;
ALTER TABLE tx RENAME COLUMN a TO a_r5453;
ALTER TABLE tx ADD COLUMN extra_6717 ANY DEFAULT CURRENT_TIMESTAMP;
DROP VIEW IF EXISTS tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_3967 ON tx(b COLLATE NOCASE) WHERE b > 0;
SELECT STRING_AGG(b, '|') FROM tx;
ANALYZE tx;
INSERT INTO tx SELECT * FROM tx;
SELECT * FROM T WHERE b NOT IN (SELECT b FROM T);
VACUUM;
UPDATE tx SET a = -38 WHERE rowid = 1;
VACUUM;
ROLLBACK TRANSACTION TO SAVEPOINT sp2529;
RELEASE SAVEPOINT sp2529;
ALTER TABLE T DROP COLUMN a;
SELECT b FROM tx UNION SELECT b FROM (SELECT * FROM tx) AS sub;
SELECT * FROM T;
SELECT TOTAL(a) FROM T;
RELEASE sp2294;
INSERT INTO T VALUES (NULL, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
INSERT INTO tx VALUES ('x', NULL, 1) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
COMMIT;
INSERT INTO tx SELECT * FROM tx;
ALTER TABLE tx ADD COLUMN extra_2792 CLOB DEFAULT (random());
WITH cte AS (SELECT b, LAG(b) OVER (ORDER BY b) AS prev FROM tx) SELECT * FROM cte;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
SELECT GROUP_CONCAT(a) FROM tx;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_tx_7770 AFTER UPDATE OF b ON tx BEGIN SELECT RAISE(FAIL, 'no'); END;
UPDATE tx SET b = '' WHERE b IS NOT NULL RETURNING *;
SELECT 0x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_926 AS SELECT a FROM T;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, NULL, NULL);
ALTER TABLE tx ADD COLUMN extra_1775 CLOB UNIQUE;
INSERT INTO tx VALUES ('x', 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
ALTER TABLE tx RENAME COLUMN a TO a_r4656;
SELECT LEAD(b, 2, b) OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM tx;
DELETE FROM T WHERE 0 RETURNING *;
SELECT * FROM tx;
ALTER TABLE T RENAME COLUMN b TO b_r6715;
SELECT * FROM T;
PRAGMA reverse_unordered_selects = OFF;
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (if(0, 1, 0, 1, 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
PRAGMA secure_delete = TRUE;
BEGIN IMMEDIATE TRANSACTION;
PRAGMA empty_result_callbacks = NO;
.exit
SAVEPOINT sp2294;
SAVEPOINT sp2529;
CREATE TABLE T (
  a CLOB,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',x'ebec9b64b7864ced718e97a7adefdc' -> '$.key',power(json_tree(unistr_quote(jsonb_array(x'85ca913e6816'))), 2.0)), ('a',2,-3.0), ('b',1,4.5);
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
PRAGMA parser_trace = TRUE;
.show
.print
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(asin(strftime(('%Y-%m-%d' || ''), -(-(timediff(NULL, concat('a', 'b', 'c'))timediff(NULL, NULL))))), CAST(NULL AS BLOB), -(-(3909990648987131367)));
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE NOT NOT NOT (NOT NOT (t0.a=t1.a OR t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789)) ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a LEFT JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0; /**/ ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',100.0), ('b',-200.5), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, /* PRAGMA query_only = 1; */ t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
PRAGMA empty_result_callbacks = 1;
SELECT * FROM tx;
UPDATE tx SET id = CURRENT_TIMESTAMP WHERE 1;
ALTER TABLE tx RENAME COLUMN a TO a_r2198;
REINDEX;
CREATE TRIGGER IF NOT EXISTS trg_tx_8857 BEFORE DELETE ON tx FOR EACH ROW BEGIN INSERT INTO tx(id) VALUES (NULL); END;
UPDATE tx SET b = 'x' WHERE b BETWEEN 0 AND 100 RETURNING *;
ALTER TABLE tx RENAME COLUMN a TO a_r5453;
ALTER TABLE tx ADD COLUMN extra_6717 ANY DEFAULT CURRENT_TIMESTAMP;
DROP VIEW IF EXISTS tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_3967 ON tx(b COLLATE NOCASE) WHERE b > 0;
SELECT STRING_AGG(b, '|') FROM tx;
ANALYZE tx;
INSERT INTO tx SELECT * FROM tx;
SELECT * FROM T WHERE b NOT IN (SELECT b FROM T);
VACUUM;
UPDATE tx SET a = -38 WHERE rowid = 1;
VACUUM;
ROLLBACK TRANSACTION TO SAVEPOINT sp2529;
RELEASE SAVEPOINT sp2529;
ALTER TABLE T DROP COLUMN a;
SELECT b FROM tx UNION SELECT b FROM (SELECT * FROM tx) AS sub;
SELECT * FROM T;
SELECT TOTAL(a) FROM T;
RELEASE sp2294;
INSERT INTO T VALUES (NULL, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
INSERT INTO tx VALUES ('x', NULL, 1) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
COMMIT;
INSERT INTO tx SELECT * FROM tx;
ALTER TABLE tx ADD COLUMN extra_2792 CLOB DEFAULT (random());
WITH cte AS (SELECT b, LAG(b) OVER (ORDER BY b) AS prev FROM tx) SELECT * FROM cte;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
SELECT GROUP_CONCAT(a) FROM tx;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_tx_7770 AFTER UPDATE OF b ON tx BEGIN SELECT RAISE(FAIL, 'no'); END;
UPDATE tx SET b = '' WHERE b IS NOT NULL RETURNING *;
SELECT 0x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_926 AS SELECT a FROM T;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, NULL, NULL);
ALTER TABLE tx ADD COLUMN extra_1775 CLOB UNIQUE;
INSERT INTO tx VALUES ('x', 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
ALTER TABLE tx RENAME COLUMN a TO a_r4656;
SELECT LEAD(b, 2, b) OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM tx;
DELETE FROM T WHERE 0 RETURNING *;
SELECT * FROM tx;
ALTER TABLE T RENAME COLUMN b TO b_r6715;
SELECT * FROM T;
PRAGMA reverse_unordered_selects = OFF;
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (if(0, 1, 0, 1, 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
PRAGMA secure_delete = TRUE;
BEGIN IMMEDIATE TRANSACTION;
PRAGMA empty_result_callbacks = NO;
.exit
SAVEPOINT sp2294;
SAVEPOINT sp2529;
CREATE TABLE T (
  a CLOB,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',x'ebec9b64b7864ced718e97a7adefdc' -> '$.key',power(json_tree(unistr_quote(jsonb_array(x'85ca913e6816'))), 2.0)), ('a',2,-3.0), ('b',1,4.5);
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
PRAGMA parser_trace = TRUE;
.show
.print
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(asin(strftime(('%Y-%m-%d' || ''), -(-(timediff(NULL, concat('a', 'b', 'c'))timediff(NULL, NULL))))), CAST(NULL AS BLOB), -(-(3909990648987131367)));
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE NOT NOT NOT (NOT NOT (t0.a=t1.a OR t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789)) ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a LEFT JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0; /**/ ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',100.0), ('b',-200.5), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, /* PRAGMA query_only = 1; */ t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
PRAGMA empty_result_callbacks = 1;
SELECT * FROM tx;
UPDATE tx SET id = CURRENT_TIMESTAMP WHERE 1;
ALTER TABLE tx RENAME COLUMN a TO a_r2198;
REINDEX;
CREATE TRIGGER IF NOT EXISTS trg_tx_8857 BEFORE DELETE ON tx FOR EACH ROW BEGIN INSERT INTO tx(id) VALUES (NULL); END;
UPDATE tx SET b = 'x' WHERE b BETWEEN 0 AND 100 RETURNING *;
ALTER TABLE tx RENAME COLUMN a TO a_r5453;
ALTER TABLE tx ADD COLUMN extra_6717 ANY DEFAULT CURRENT_TIMESTAMP;
DROP VIEW IF EXISTS tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_3967 ON tx(b COLLATE NOCASE) WHERE b > 0;
SELECT STRING_AGG(b, '|') FROM tx;
ANALYZE tx;
INSERT INTO tx SELECT * FROM tx;
SELECT * FROM T WHERE b NOT IN (SELECT b FROM T);
VACUUM;
UPDATE tx SET a = -38 WHERE rowid = 1;
VACUUM;
ROLLBACK TRANSACTION TO SAVEPOINT sp2529;
RELEASE SAVEPOINT sp2529;
ALTER TABLE T DROP COLUMN a;
SELECT b FROM tx UNION SELECT b FROM (SELECT * FROM tx) AS sub;
SELECT * FROM T;
SELECT TOTAL(a) FROM T;
RELEASE sp2294;
INSERT INTO T VALUES (NULL, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
INSERT INTO tx VALUES ('x', NULL, 1) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
COMMIT;
INSERT INTO tx SELECT * FROM tx;
ALTER TABLE tx ADD COLUMN extra_2792 CLOB DEFAULT (random());
WITH cte AS (SELECT b, LAG(b) OVER (ORDER BY b) AS prev FROM tx) SELECT * FROM cte;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
SELECT GROUP_CONCAT(a) FROM tx;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_tx_7770 AFTER UPDATE OF b ON tx BEGIN SELECT RAISE(FAIL, 'no'); END;
UPDATE tx SET b = '' WHERE b IS NOT NULL RETURNING *;
SELECT 0x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_926 AS SELECT a FROM T;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, NULL, NULL);
ALTER TABLE tx ADD COLUMN extra_1775 CLOB UNIQUE;
INSERT INTO tx VALUES ('x', 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
ALTER TABLE tx RENAME COLUMN a TO a_r4656;
SELECT LEAD(b, 2, b) OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM tx;
DELETE FROM T WHERE 0 RETURNING *;
SELECT * FROM tx;
ALTER TABLE T RENAME COLUMN b TO b_r6715;
SELECT * FROM T;
PRAGMA reverse_unordered_selects = OFF;
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (if(0, 1, 0, 1, 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
PRAGMA secure_delete = TRUE;
BEGIN IMMEDIATE TRANSACTION;
PRAGMA empty_result_callbacks = NO;
.exit
SAVEPOINT sp2294;
SAVEPOINT sp2529;
CREATE TABLE T (
  a CLOB,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',x'ebec9b64b7864ced718e97a7adefdc' -> '$.key',power(json_tree(unistr_quote(jsonb_array(x'85ca913e6816'))), 2.0)), ('a',2,-3.0), ('b',1,4.5);
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
PRAGMA parser_trace = TRUE;
.show
.print
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(asin(strftime(('%Y-%m-%d' || ''), -(-(timediff(NULL, concat('a', 'b', 'c'))timediff(NULL, NULL))))), CAST(NULL AS BLOB), -(-(3909990648987131367)));
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
CREATE TABLE T (
  a TEXT,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',1,2.0), ('a',2,-3.0), ('b',1,4.5);
SELECT a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE NOT NOT NOT (NOT NOT (t0.a=t1.a OR t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789)) ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a LEFT JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE TABLE T1 (
  A VARCHAR(15) PRIMARY KEY,
  B VARCHAR(30) NOT NULL UNIQUE
);
CREATE TABLE [T2] (
  A VARCHAR(10) PRIMARY KEY,
  X VARCHAR(15) NOT NULL,
  C BIGINT,
  FOREIGN KEY (X) REFERENCES T1(A)
);
INSERT INTO T1 VALUES ('p', 'x');
INSERT INTO T1 VALUES ('q', 'y');
INSERT INTO T2 VALUES ('a', 'p', 9223372036854775807);
INSERT INTO T2 VALUES ('b', 'q', -9223372036854775808);
SELECT X, SUM(C) AS D, COUNT(*) AS E FROM T2 GROUP BY X;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0; /**/ ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',100.0), ('b',-200.5), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, /* PRAGMA query_only = 1; */ t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
PRAGMA empty_result_callbacks = 1;
SELECT * FROM tx;
UPDATE tx SET id = CURRENT_TIMESTAMP WHERE 1;
ALTER TABLE tx RENAME COLUMN a TO a_r2198;
REINDEX;
CREATE TRIGGER IF NOT EXISTS trg_tx_8857 BEFORE DELETE ON tx FOR EACH ROW BEGIN INSERT INTO tx(id) VALUES (NULL); END;
UPDATE tx SET b = 'x' WHERE b BETWEEN 0 AND 100 RETURNING *;
ALTER TABLE tx RENAME COLUMN a TO a_r5453;
ALTER TABLE tx ADD COLUMN extra_6717 ANY DEFAULT CURRENT_TIMESTAMP;
DROP VIEW IF EXISTS tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_3967 ON tx(b COLLATE NOCASE) WHERE b > 0;
SELECT STRING_AGG(b, '|') FROM tx;
ANALYZE tx;
INSERT INTO tx SELECT * FROM tx;
SELECT * FROM T WHERE b NOT IN (SELECT b FROM T);
VACUUM;
UPDATE tx SET a = -38 WHERE rowid = 1;
VACUUM;
ROLLBACK TRANSACTION TO SAVEPOINT sp2529;
RELEASE SAVEPOINT sp2529;
ALTER TABLE T DROP COLUMN a;
SELECT b FROM tx UNION SELECT b FROM (SELECT * FROM tx) AS sub;
SELECT * FROM T;
SELECT TOTAL(a) FROM T;
RELEASE sp2294;
INSERT INTO T VALUES (NULL, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
INSERT INTO tx VALUES ('x', NULL, 1) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
COMMIT;
INSERT INTO tx SELECT * FROM tx;
ALTER TABLE tx ADD COLUMN extra_2792 CLOB DEFAULT (random());
WITH cte AS (SELECT b, LAG(b) OVER (ORDER BY b) AS prev FROM tx) SELECT * FROM cte;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
SELECT GROUP_CONCAT(a) FROM tx;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_tx_7770 AFTER UPDATE OF b ON tx BEGIN SELECT RAISE(FAIL, 'no'); END;
UPDATE tx SET b = '' WHERE b IS NOT NULL RETURNING *;
SELECT 0x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_926 AS SELECT a FROM T;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, NULL, NULL);
ALTER TABLE tx ADD COLUMN extra_1775 CLOB UNIQUE;
INSERT INTO tx VALUES ('x', 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
ALTER TABLE tx RENAME COLUMN a TO a_r4656;
SELECT LEAD(b, 2, b) OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM tx;
DELETE FROM T WHERE 0 RETURNING *;
SELECT * FROM tx;
ALTER TABLE T RENAME COLUMN b TO b_r6715;
SELECT * FROM T;
PRAGMA reverse_unordered_selects = OFF;
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (if(0, 1, 0, 1, 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
PRAGMA secure_delete = TRUE;
BEGIN IMMEDIATE TRANSACTION;
PRAGMA empty_result_callbacks = NO;
.exit
SAVEPOINT sp2294;
SAVEPOINT sp2529;
CREATE TABLE T (
  a CLOB,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',x'ebec9b64b7864ced718e97a7adefdc' -> '$.key',power(json_tree(unistr_quote(jsonb_array(x'85ca913e6816'))), 2.0)), ('a',2,-3.0), ('b',1,4.5);
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
PRAGMA parser_trace = TRUE;
.show
.print
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(asin(strftime(('%Y-%m-%d' || ''), -(-(timediff(NULL, concat('a', 'b', 'c'))timediff(NULL, NULL))))), CAST(NULL AS BLOB), -(-(3909990648987131367)));
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE NOT NOT NOT (NOT NOT (t0.a=t1.a OR t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789)) ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a LEFT JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0; /**/ ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',100.0), ('b',-200.5), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, /* PRAGMA query_only = 1; */ t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
PRAGMA empty_result_callbacks = 1;
SELECT * FROM tx;
UPDATE tx SET id = CURRENT_TIMESTAMP WHERE 1;
ALTER TABLE tx RENAME COLUMN a TO a_r2198;
REINDEX;
CREATE TRIGGER IF NOT EXISTS trg_tx_8857 BEFORE DELETE ON tx FOR EACH ROW BEGIN INSERT INTO tx(id) VALUES (NULL); END;
UPDATE tx SET b = 'x' WHERE b BETWEEN 0 AND 100 RETURNING *;
ALTER TABLE tx RENAME COLUMN a TO a_r5453;
ALTER TABLE tx ADD COLUMN extra_6717 ANY DEFAULT CURRENT_TIMESTAMP;
DROP VIEW IF EXISTS tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_3967 ON tx(b COLLATE NOCASE) WHERE b > 0;
SELECT STRING_AGG(b, '|') FROM tx;
ANALYZE tx;
INSERT INTO tx SELECT * FROM tx;
SELECT * FROM T WHERE b NOT IN (SELECT b FROM T);
VACUUM;
UPDATE tx SET a = -38 WHERE rowid = 1;
VACUUM;
ROLLBACK TRANSACTION TO SAVEPOINT sp2529;
RELEASE SAVEPOINT sp2529;
ALTER TABLE T DROP COLUMN a;
SELECT b FROM tx UNION SELECT b FROM (SELECT * FROM tx) AS sub;
SELECT * FROM T;
SELECT TOTAL(a) FROM T;
RELEASE sp2294;
INSERT INTO T VALUES (NULL, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
INSERT INTO tx VALUES ('x', NULL, 1) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
COMMIT;
INSERT INTO tx SELECT * FROM tx;
ALTER TABLE tx ADD COLUMN extra_2792 CLOB DEFAULT (random());
WITH cte AS (SELECT b, LAG(b) OVER (ORDER BY b) AS prev FROM tx) SELECT * FROM cte;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
SELECT GROUP_CONCAT(a) FROM tx;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_tx_7770 AFTER UPDATE OF b ON tx BEGIN SELECT RAISE(FAIL, 'no'); END;
UPDATE tx SET b = '' WHERE b IS NOT NULL RETURNING *;
SELECT 0x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_926 AS SELECT a FROM T;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, NULL, NULL);
ALTER TABLE tx ADD COLUMN extra_1775 CLOB UNIQUE;
INSERT INTO tx VALUES ('x', 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
ALTER TABLE tx RENAME COLUMN a TO a_r4656;
SELECT LEAD(b, 2, b) OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM tx;
DELETE FROM T WHERE 0 RETURNING *;
SELECT * FROM tx;
ALTER TABLE T RENAME COLUMN b TO b_r6715;
SELECT * FROM T;
PRAGMA reverse_unordered_selects = OFF;
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (if(0, 1, 0, 1, 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
PRAGMA secure_delete = TRUE;
BEGIN IMMEDIATE TRANSACTION;
PRAGMA empty_result_callbacks = NO;
.exit
SAVEPOINT sp2294;
SAVEPOINT sp2529;
CREATE TABLE T (
  a CLOB,
  b INTEGER,
  c REAL
);
INSERT INTO T VALUES ('a',x'ebec9b64b7864ced718e97a7adefdc' -> '$.key',power(json_tree(unistr_quote(jsonb_array(x'85ca913e6816'))), 2.0)), ('a',2,-3.0), ('b',1,4.5);
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m a,b,c,
SUM(c) OVER (
  PARTITION BY a
  ORDER BY b
) AS d
FROM T;
PRAGMA parser_trace = TRUE;
.show
.print
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(asin(strftime(('%Y-%m-%d' || ''), -(-(timediff(NULL, concat('a', 'b', 'c'))timediff(NULL, NULL))))), CAST(NULL AS BLOB), -(-(3909990648987131367)));
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE NOT NOT NOT (NOT NOT (t0.a=t1.a OR t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789)) ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a LEFT JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0; /**/ ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
CREATE TABLE T (
  a TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',100.0), ('b',-200.5), ('c',9e999);
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
.check
BEGIN EXCLUSIVE;
.width
BEGIN IMMEDIATE;
PRAGMA table_xinfo(users);
PRAGMA count_changes = likelihood(3909990648987131367, 0.5, 3909990648987131367);
PRAGMA full_column_names = 1;
.timer off
DROP TABLE IF EXISTS tx;
CREATE TABLE tx(id NONE PRIMARY KEY, a, b);
INSERT INTO tx(a,b) VALUES(33,456);
INSERT INTO tx(a,b) VALUES(33,789);
SELECT DISTINCT t0.id, t0.a, t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=456 UNION SELECT DISTINCT t0.id, t0.a, /* PRAGMA query_only = 1; */ t0.b FROM tx AS t0, tx AS t1 WHERE t0.a=t1.a AND t1.a=33 AND t0.b=789 ORDER BY 1;
PRAGMA case_sensitive_like = 0;
SELECT COUNT(*) FROM tx;
WITH cte AS (SELECT * FROM tx LIMIT 1) DELETE FROM tx WHERE id IN (SELECT id FROM cte) AND 1=0;
INSERT INTO tx VALUES (NULL, NULL, NULL);
COMMIT TRANSACTION;
SELECT * FROM tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_2074 ON tx(lower(id)) WHERE id > 0;
ROLLBACK;
ANALYZE;
REINDEX;
PRAGMA reverse_unordered_selects = YES;
SELECT * FROM tx AS a RIGHT OUTER JOIN tx AS b ON a.rowid = b.rowid;
INSERT INTO tx VALUES (NULL, NULL, NULL);
PRAGMA empty_result_callbacks = 1;
SELECT * FROM tx;
UPDATE tx SET id = CURRENT_TIMESTAMP WHERE 1;
ALTER TABLE tx RENAME COLUMN a TO a_r2198;
REINDEX;
CREATE TRIGGER IF NOT EXISTS trg_tx_8857 BEFORE DELETE ON tx FOR EACH ROW BEGIN INSERT INTO tx(id) VALUES (NULL); END;
UPDATE tx SET b = 'x' WHERE b BETWEEN 0 AND 100 RETURNING *;
ALTER TABLE tx RENAME COLUMN a TO a_r5453;
ALTER TABLE tx ADD COLUMN extra_6717 ANY DEFAULT CURRENT_TIMESTAMP;
DROP VIEW IF EXISTS tx;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_tx_3967 ON tx(b COLLATE NOCASE) WHERE b > 0;
SELECT STRING_AGG(b, '|') FROM tx;
ANALYZE tx;
INSERT INTO tx SELECT * FROM tx;
SELECT * FROM T WHERE b NOT IN (SELECT b FROM T);
VACUUM;
UPDATE tx SET a = -38 WHERE rowid = 1;
VACUUM;
ROLLBACK TRANSACTION TO SAVEPOINT sp2529;
RELEASE SAVEPOINT sp2529;
ALTER TABLE T DROP COLUMN a;
SELECT b FROM tx UNION SELECT b FROM (SELECT * FROM tx) AS sub;
SELECT * FROM T;
SELECT TOTAL(a) FROM T;
RELEASE sp2294;
INSERT INTO T VALUES (NULL, 'x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
INSERT INTO tx VALUES ('x', NULL, 1) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
COMMIT;
INSERT INTO tx SELECT * FROM tx;
ALTER TABLE tx ADD COLUMN extra_2792 CLOB DEFAULT (random());
WITH cte AS (SELECT b, LAG(b) OVER (ORDER BY b) AS prev FROM tx) SELECT * FROM cte;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
SELECT GROUP_CONCAT(a) FROM tx;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_tx_7770 AFTER UPDATE OF b ON tx BEGIN SELECT RAISE(FAIL, 'no'); END;
UPDATE tx SET b = '' WHERE b IS NOT NULL RETURNING *;
SELECT 0x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_926 AS SELECT a FROM T;
SELECT * FROM T;
INSERT INTO tx VALUES (NULL, NULL, NULL);
ALTER TABLE tx ADD COLUMN extra_1775 CLOB UNIQUE;
INSERT INTO tx VALUES ('x', 1, NULL) ON CONFLICT(id) DO UPDATE SET id = excluded.id, a = excluded.a, b = excluded.b;
ALTER TABLE tx RENAME COLUMN a TO a_r4656;
SELECT LEAD(b, 2, b) OVER (ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM tx;
DELETE FROM T WHERE 0 RETURNING *;
SELECT * FROM tx;
ALTER TABLE T RENAME COLUMN b TO b_r6715;
SELECT * FROM T;
PRAGMA reverse_unordered_selects = OFF;
ANALYZE tx;
```

## Actual output

```sql
1
```

## Expectation

```sql

```

## Flag

```

```

