## 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
.output blablabla.whatever
BEGIN;
PRAGMA compile_options;
ATTACH DATABASE ':memory:' AS aux73;
CREATE TABLE T (
  a INTEGER,
  b REAL
);
INSERT INTO T VALUES (jsonb_extract(1, '$.key'),1.5), (2,-7.25), (3,0.0);
SELECT a,b FROM T WHERE +a >= 2 ORDER BY b;
DETACH DATABASE aux73;
SELECT LAG(a, 2, a) OVER (PARTITION BY a ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM T;
ALTER TABLE T DROP COLUMN a;
SELECT * FROM T AS a RIGHT OUTER JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE T RENAME COLUMN b TO b_r6043;
INSERT INTO T SELECT * FROM T;
COMMIT TRANSACTION;
```

## Actual output

```sql
Parse error near line 9: no such function: jsonb_extract
  INSERT INTO T VALUES (jsonb_extract(1, '$.key'),1.5), (2,-7.25), (3,0.0);
                        ^--- error here
```

## Expectation

```sql

```

## Flag

```

```

