## 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
.timer on
.explain
.restore emplyeee.db
PRAGMA read_uncommitted = ON;
CREATE TABLE t0(c0 REAL, c1 REAL GENERATED ALWAYS AS (c0));
INSERT INTO t0(c0) VALUES (1);
SELECT * FROM t0 GROUP BY c0;
CREATE TABLE t1(a, b);
CREATE TABLE t2(c, d);
SELECT max(t1.a), (SELECT 'xyz' FROM (SELECT * FROM t2 WHERE 0) WHERE t1.b=1) FROM t1;

SELECT MIN(c0) FROM t0;
ANALYZE;
```

## Actual output

```sql
Run Time: real 0.000 user 0.000000 sys 0.000061
Run Time: real 0.000 user 0.000000 sys 0.000216
Run Time: real 0.000 user 0.000000 sys 0.000018
c0    c1           
----  -------------
1.0   1.0
Run Time: real 0.000 user 0.000000 sys 0.000044
Run Time: real 0.000 user 0.000000 sys 0.000058
Run Time: real 0.000 user 0.000000 sys 0.000043
max(  (SELECT 'xyz'
----  -------------
      
Run Time: real 0.000 user 0.000000 sys 0.000050
MIN(
----
1.0
Run Time: real 0.000 user 0.000000 sys 0.000017
Run Time: real 0.000 user 0.000000 sys 0.000085
```

## Expectation

```sql
Run Time: real 0.000028 user 0.000043 sys 0.000000
Run Time: real 0.000155 user 0.000156 sys 0.000000
Run Time: real 0.000012 user 0.000013 sys 0.000000
c0    c1           
----  -------------
1.0   1.0
Run Time: real 0.000031 user 0.000031 sys 0.000000
Run Time: real 0.000031 user 0.000032 sys 0.000000
Run Time: real 0.000020 user 0.000021 sys 0.000000
max(  (SELECT 'xyz'
----  -------------
      
Run Time: real 0.000042 user 0.000042 sys 0.000000
MIN(
----
1.0
Run Time: real 0.000008 user 0.000009 sys 0.000000
Run Time: real 0.000045 user 0.000046 sys 0.000000
```

## Flag

```

```

