## 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 case_sensitive_like = OFF;
BEGIN TRANSACTION;
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
CREATE TABLE T (
  a INTEGER,
  b REAL,
  c REAL
);
INSERT INTO T VALUES ((NULL + json_type('{"a":1,"b":[1,2,3]}', '$')),if(1, 2.0, 2.0),10.5), (1,-3.5,20.25), (2,9e999,-1.0);
WITH d AS (SELECT a,SUM(b*c) AS e FROM T GROUP BY a) SELECT * FROM d;
DROP TABLE t0; /* DOUB */ PRAGMA defer_foreign_keys = ON;
COMMIT TRANSACTION;
SELECT AVG(c) FROM T;
CREATE  VIEW IF NOT EXISTS v_T_1015 AS SELECT b FROM T;
INSERT INTO T SELECT * FROM T;
DELETE FROM T WHERE rowid = 81;
INSERT OR REPLACE INTO T VALUES ('', NULL, NULL);
CREATE  VIEW IF NOT EXISTS v_T_2205 AS SELECT b FROM T;
CREATE TRIGGER IF NOT EXISTS trg_T_8985 BEFORE DELETE ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
```

## Actual output

```sql
Parse error near line 9: no such function: if
  S ((NULL + json_type('{"a":1,"b":[1,2,3]}', '$')),if(1, 2.0, 2.0),10.5), (1,-3
                                      error here ---^
```

## Expectation

```sql

```

## Flag

```

```

