## 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 short_column_names = ON;
.headers on
CREATE TABLE [T] (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (instr('hello', 'lo'),lower(1.5),10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE NOT NOT NOT (b < 2.0) ORDER BY b;
SELECT * FROM T;
CREATE TRIGGER IF NOT EXISTS trg_T_5279 AFTER UPDATE OF a ON T BEGIN INSERT INTO T(a) VALUES (NULL); END;
SELECT AVG(c) OVER (PARTITION BY c ORDER BY c ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM T;
INSERT INTO T VALUES (NULL, NULL, NULL);
CREATE TRIGGER IF NOT EXISTS trg_T_7734 AFTER INSERT ON T FOR EACH ROW BEGIN SELECT RAISE(FAIL, ('no' || '')); END;
PRAGMA optimize(0x00002);
```

## Actual output

```sql
a|b|c
4|1.5|10.0
2|-2.5|20.0
3|-Inf|30.0
AVG(c) OVER (PARTITION BY c ORDER BY c ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW)
```

## Expectation

```sql

```

## Flag

```

```

