## 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 TEXT,
  b REAL
);
INSERT INTO T VALUES ('a',json_valid(cos(json_array()), 4)), ('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;
SELECT MAX(a) FROM T;
INSERT OR FAIL INTO T VALUES (NULL, 0);
REINDEX T;
SELECT * FROM T;
INSERT INTO T VALUES (NULL, NULL);
DROP TRIGGER IF EXISTS T;
DROP TRIGGER IF EXISTS T;
SELECT * FROM T WHERE a IN (SELECT a FROM T);
SELECT COUNT(*) FROM T;
INSERT OR IGNORE INTO T VALUES ('x', 0);
INSERT INTO T SELECT * FROM T;
INSERT OR ABORT INTO T VALUES ('x', '');
PRAGMA query_only = NO;
ALTER TABLE T RENAME COLUMN b TO b_r1653;
WITH cte AS (SELECT * FROM T WHERE a IN (SELECT a FROM T LIMIT 5)) SELECT * FROM cte;
```

## Actual output

```sql
|0.0
2
x|0.0
x|0.0
x|
```

## Expectation

```sql

```

## Flag

```

```

