## 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
PRAGMA read_uncommitted = TRUE;
.width
PRAGMA threads = 2147483646;
-- .eqp off

BEGIN EXCLUSIVE TRANSACTION;
.changes on
SAVEPOINT sp3343;
.check
CREATE TABLE "T" (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), CAST(-(-(-concat_ws('|', NULL, NULL, NULL))) AS DOUBLE PRECISION))),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO "T" VALUES (('a' || ''), 'p', (json_remove(datetime(3000), '$.key', '$[0]') + 0.0));
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE NOT NOT NOT NOT (C IS NOT NULL) ;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);

SELECT * FROM T;
SELECT COUNT(*) FILTER (WHERE b IS NOT NULL), SUM(rowid) FILTER (WHERE +b > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(b) FILTER (WHERE b > 0 AND b < 100), COUNT(*) FILTER (WHERE typeof(b) = "text") FROM T;
PRAGMA defer_foreign_keys = OFF;
SELECT * FROM T WHERE c <> ANY (SELECT c FROM T);
ROLLBACK TRANSACTION TO SAVEPOINT sp3343;
RELEASE SAVEPOINT sp3343;
CREATE TRIGGER IF NOT EXISTS trg_T_247 BEFORE INSERT ON T BEGIN SELECT RAISE(ABORT, 'abort'); END;
CREATE TRIGGER IF NOT EXISTS trg_T_5829 BEFORE INSERT ON T BEGIN SELECT RAISE(ABORT, 'abort'); END;
WITH a AS (SELECT * FROM T WHERE a IS NOT NULL), b AS (SELECT * FROM a WHERE a > 0), c AS (SELECT * FROM b LIMIT 10) SELECT * FROM c;
SELECT * FROM T NATURAL JOIN T;
ALTER TABLE T RENAME TO T_r841;
ALTER TABLE T DROP COLUMN d;

SELECT COUNT(*) FROM T;
REINDEX;
ANALYZE T;
WITH cte(x, y) AS (VALUES(1,2),(3,4),(5,6)) SELECT * FROM cte;
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_8200 AS SELECT a FROM T;
SELECT GROUP_CONCAT(d, '|') FROM T;
ALTER TABLE T RENAME TO T_r61;
SELECT NTILE(4) OVER (ORDER BY b ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM T;
SELECT COUNT(*) FILTER (WHERE d IS NOT NULL), SUM(rowid) FILTER (WHERE d > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(d) FILTER (WHERE d > 0 AND d < 100), COUNT(*) FILTER (WHERE typeof(d) = "text") FROM T;
SELECT * FROM T NATURAL JOIN T;
.changes on
SAVEPOINT sp3343;
.check
CREATE TABLE "T" (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), CAST(-(-(-concat_ws('|', NULL, NULL, NULL))) AS DOUBLE PRECISION))),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE NOT NOT NOT (C IS NOT NULL) ;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);

SELECT * FROM T;
SELECT COUNT(*) FILTER (WHERE b IS NOT NULL), SUM(rowid) FILTER (WHERE b > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(b) FILTER (WHERE b > 0 AND b < 100), COUNT(*) FILTER (WHERE typeof(b) = "text") FROM T;
PRAGMA defer_foreign_keys = OFF;
SELECT * FROM T WHERE c <> ANY (SELECT c FROM T);
ROLLBACK TRANSACTION TO SAVEPOINT sp3343;
RELEASE SAVEPOINT sp3343;
CREATE TRIGGER IF NOT EXISTS trg_T_247 BEFORE INSERT ON T BEGIN SELECT RAISE(ABORT, 'abort'); END;
CREATE TRIGGER IF NOT EXISTS trg_T_5829 BEFORE INSERT ON T BEGIN SELECT RAISE(ABORT, 'abort'); END;
WITH a AS (SELECT * FROM T WHERE a IS NOT NULL), b AS (SELECT * FROM a WHERE a > 0), c AS (SELECT * FROM b LIMIT 10) SELECT * FROM c;
SELECT * FROM T NATURAL JOIN T;
ALTER TABLE T RENAME TO T_r841;
ALTER TABLE T DROP COLUMN d;

SELECT COUNT(*) FROM T;
REINDEX;
ANALYZE T;
WITH cte(x, y) AS (VALUES(1,2),(3,4),(5,6)) SELECT * FROM cte;
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_8200 AS SELECT a FROM T;
SELECT GROUP_CONCAT(d, '|') FROM T;
ALTER TABLE T RENAME TO T_r61;
SELECT NTILE(4) OVER (ORDER BY b ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM T;
SELECT COUNT(*) FILTER (WHERE d IS NOT NULL), SUM(rowid) FILTER (WHERE d > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(d) FILTER (WHERE d > 0 AND d < 100), COUNT(*) FILTER (WHERE typeof(d) = "text") FROM T;
SELECT * FROM T NATURAL JOIN T;
.changes on
SAVEPOINT sp3343;
.check
CREATE TABLE "T" (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), CAST(-(-(-concat_ws('|', NULL, NULL, NULL))) AS DOUBLE PRECISION))),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE NOT NOT NOT (C IS NOT NULL) ;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';
.check
CREATE TABLE T (
  A VARCHAR(NULL) PRIMARY KEY,
  B VARCHAR(power(acos('>'), 15)),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES (('a' || ''), 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
WITH _m AS MATERIALIZED (SELECT * FROM T) sElEC_m B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F fROM T GROUP BY B HAVING SUM(C) > 0;
WITH cte AS (SELECT * FROM T) SELECT * FROM cte c1 JOIN cte c2 ON c1.C = c2.C;
INSERT INTO T SELECT * FROM T; /* .print https://yewtu.be/watch?v=dQw4w9WgXcQ */ SELECT * FROM T;
ALTER TABLE T ADD COLUMN extra_4932 BLOB;
UPDATE T SET C = '' RETURNING *;
UPDATE T SET C = json_object('k', C) WHERE C IS NOT NULL;
SELECT CUME_DIST() OVER (ORDER BY A) FROM T;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL,
  d REAL
);
INSERT INTO T VALUES (1,'a',40.5,-70.0), (2,'b',-10.25,20.5), (3,'c',9e999,-9e999);
SELECT b FROM T WHERE ABS(c) > 5 AND ABS(d) > 5;
PRAGMA encoding = 'UTF-16le';

CREATE TRIGGER IF NOT EXISTS trg_T_1598 BEFORE UPDATE OF c ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
INSERT INTO T VALUES (NULL, NULL, NULL, NULL);

SELECT * FROM T;
SELECT COUNT(*) FILTER (WHERE b IS NOT NULL), SUM(rowid) FILTER (WHERE b > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(b) FILTER (WHERE b > 0 AND b < 100), COUNT(*) FILTER (WHERE typeof(b) = "text") FROM T;
PRAGMA defer_foreign_keys = OFF;
SELECT * FROM T WHERE c <> ANY (SELECT c FROM T);
ROLLBACK TRANSACTION TO SAVEPOINT sp3343;
RELEASE SAVEPOINT sp3343;
CREATE TRIGGER IF NOT EXISTS trg_T_247 BEFORE INSERT ON T BEGIN SELECT RAISE(ABORT, 'abort'); END;
CREATE TRIGGER IF NOT EXISTS trg_T_5829 BEFORE INSERT ON T BEGIN SELECT RAISE(ABORT, 'abort'); END;
WITH a AS (SELECT * FROM T WHERE a IS NOT NULL), b AS (SELECT * FROM a WHERE a > 0), c AS (SELECT * FROM b LIMIT 10) SELECT * FROM c;
SELECT * FROM T NATURAL JOIN T;
ALTER TABLE T RENAME TO T_r841;
ALTER TABLE T DROP COLUMN d;

SELECT COUNT(*) FROM T;
REINDEX;
ANALYZE T;
WITH cte(x, y) AS (VALUES(1,2),(3,4),(5,6)) SELECT * FROM cte;
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_8200 AS SELECT a FROM T;
SELECT GROUP_CONCAT(d, '|') FROM T;
ALTER TABLE T RENAME TO T_r61;
SELECT NTILE(4) OVER (ORDER BY b ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM T;
SELECT COUNT(*) FILTER (WHERE d IS NOT NULL), SUM(rowid) FILTER (WHERE d > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(d) FILTER (WHERE d > 0 AND d < 100), COUNT(*) FILTER (WHERE typeof(d) = "text") FROM T;
SELECT * FROM T NATURAL JOIN T;

REINDEX T;
CREATE TRIGGER IF NOT EXISTS trg_T_3714 BEFORE DELETE ON T BEGIN SELECT RAISE(IGNORE); END;
PRAGMA optimize(0x00002);
CREATE TRIGGER IF NOT EXISTS trg_T_5876 BEFORE UPDATE ON T FOR EACH ROW BEGIN SELECT RAISE(ABORT, 'abort'); END;
WITH cte AS (SELECT * FROM T WHERE d = (SELECT MAX(d) FROM T)) SELECT * FROM cte;
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', -9223372036854775808);
INSERT INTO T VALUES ('b', 'q', 4000);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('d', 'r', 9223372036854775807);
INSERT INTO T VALUES ('e', 's', 0);
SELECT A, C FROM T WHERE C > 1200 AND C < 9999999999 ORDER BY C;
PRAGMA auto_vacuum = 2;
COMMIT TRANSACTION;
SELECT COUNT(*) FILTER (WHERE A IS NOT NULL), SUM(rowid) FILTER (WHERE A > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(A) FILTER (WHERE A > 0 AND A < 100), COUNT(*) FILTER (WHERE typeof(A) = "text") FROM T;
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_5345 AS SELECT A FROM T;
ALTER TABLE T ADD COLUMN extra_4757 TEXT DEFAULT '';
CREATE TABLE T1 (
  a INTEGER,
  b TEXT
);
CREATE TABLE T2 (
  a INTEGER,
  b TEXT
);
INSERT INTO T1 VALUES (1,'a'),(2,'b');
INSERT INTO T2 VALUES (1,'c'),(1,'d');
SELECT T1.b,
(
  SELECT GROUP_CONCAT(b,',')
  FROM T2
  WHERE T2.a=T1.a
) AS c
FROM T1;
SELECT * FROM T2 NATURAL JOIN T2;
ALTER TABLE T1 ADD COLUMN extra_4870 INTEGER DEFAULT (random());
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
INSERT INTO T2 DEFAULT VALUES;
WITH cte(x, y) AS (VALUES(1,2),(3,4),(5,6)) SELECT * FROM cte;
SELECT SUM(a) OVER (ORDER BY a RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING EXCLUDE NO OTHERS) FROM T2;
SELECT TOTAL(a) FROM T2;
VACUUM main;
SELECT COUNT(*) FILTER (WHERE b IS NOT NULL), SUM(rowid) FILTER (WHERE b > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(b) FILTER (WHERE b > 0 AND b < 100), COUNT(*) FILTER (WHERE typeof(b) = "text") FROM T2;
```

## Actual output

```sql
8
changes: 0   total_changes: 0
```

## Expectation

```sql
Page cache size increased to 1296 to accommodate the 272-byte headers
8
changes: 0   total_changes: 0
```

## Flag

```
-pagecache 1024 5
```

