## 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
.imposter off
CREATE TABLE main.T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (concat('a', 'b', 'c'),'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
WITH cte AS (SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE a > 0)) SELECT * FROM cte;
PRAGMA short_column_names = NO;
INSERT INTO T VALUES (NULL, NULL, NULL);
SELECT * FROM T NATURAL JOIN T;
SELECT * FROM (SELECT b FROM T WHERE b IS NOT NULL) AS sub;
```

## Actual output

```sql
Parse error near line 7: no such function: concat
  INSERT INTO T VALUES (concat('a', 'b', 'c'),'a',3.14), (1,'b',-7.75), (2,'c',-
                        ^--- error here
```

## Expectation

```sql

```

## Flag

```

```

