## 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
.version
ATTACH DATABASE ':memory:' AS aux56;
CREATE TABLE `T` (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES ((4574120676221259120 * 1),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
INSERT INTO T SELECT * FROM T;
DETACH DATABASE aux56;
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_4076 AS SELECT c FROM T;
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;
INSERT INTO T1 VALUES (NULL, NULL);
ANALYZE;
SELECT LAG(a, 2, a) OVER (ORDER BY a RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING) FROM T;
WITH a AS (SELECT * FROM T WHERE b IS NOT NULL), b AS (SELECT * FROM a WHERE b > 0), c AS (SELECT * FROM b LIMIT 10) SELECT * FROM c;
ANALYZE T;
DELETE FROM T2 WHERE 0;
```

## Actual output

```sql
SQLite 3.39.0 2022-05-10 23:28:12 764b71267e0b31ff7eaf2a0def7526a1a02dce4d5b456dea060d97ed342ealt1
gcc-14.2.0
3|-Inf|30.0
2|-2.5|20.0
4574120676221259120|1.5|10.0
a|c,d
b|
2
2
2
2
3
3
4574120676221259120|1.5|10.0
4574120676221259120|1.5|10.0
```

## Expectation

```sql
SQLite 3.51.1 2025-11-28 17:28:25 281fc0e9afc38674b9b0991943b9e9d1e64c6cbdb133d35f6f5c87ff6af38a88
zlib version 1.3.1
gcc-11.4.0 (64-bit)
3|-Inf|30.0
2|-2.5|20.0
4574120676221259120|1.5|10.0
a|c,d
b|
2
2
2
2
3
3
4574120676221259120|1.5|10.0
4574120676221259120|1.5|10.0
```

## Flag

```

```

