## 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
);
INSERT INTO T VALUES (x'916fcdc96e9a',1.5), (2,-7.25), (3,0.0);
SELECT a,b FROM T WHERE NOT NOT (a >= 2) ORDER BY b;
.progress 0
SAVEPOINT sp8258;
CREATE TABLE "T" (
  a TEXT,
  b TEXT,
  c REAL
);
INSERT INTO "T" VALUES ('a','b',(1.0 + 0.0)), ('a','c',-1.0), ('b','d',0.0);
SELECT
COALESCE(a,'e') AS d,
COALESCE(b,'f') AS e,
SUM(c) AS f
FROM T
GROUP BY a,b;
RELEASE sp8258;
INSERT INTO T DEFAULT VALUES;
INSERT INTO T SELECT * FROM T;
SELECT MIN(b) FROM T;
VACUUM;
SELECT LEAD(c, c) OVER (PARTITION BY c ORDER BY c) FROM T;
ALTER TABLE T ADD COLUMN /* PRAGMA journal_size_limit; */ extra_1686 NCHAR(55) DEFAULT (abs(random()) % 1000);
DELETE FROM T WHERE b > (SELECT AVG(b) FROM T);
ALTER TABLE T RENAME TO T_r9158;
SELECT * FROM T;
DELETE FROM T WHERE 1;
UPDATE T SET b = 88 WHERE b BETWEEN 0 AND 100;
UPDATE T SET b = 77 WHERE b IS NOT NULL;
ANALYZE T;
ALTER TABLE T DROP COLUMN a;
VACUUM;
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;
```

## Actual output

```sql
3.39.0 2022-05-10 23:28:12 764b71267e0b31ff7eaf2a0def7526a1a02dce4d5b456dea060d97ed342ealt1
```

## Expectation

```sql
3.51.1 2025-11-28 17:28:25 281fc0e9afc38674b9b0991943b9e9d1e64c6cbdb133d35f6f5c87ff6af38a88 (64-bit)
```

## Flag

```
-version
```

