## 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
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (CAST(nullif(1, NULL) AS CHAR(10)), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
.dump
CREATE TABLE T (
  a INTEGER,
  b REAL
);
INSERT INTO T VALUES (cosh(1),1.5), (2,-2.5), (3,0.0);
CREATE INDEX c
ON T(b);
SELECT * FROM T WHERE NOT NOT (NOT b >= -2.5 AND b < 2.0) ;
REINDEX T;
UPDATE T SET b = CURRENT_TIMESTAMP WHERE 1 RETURNING *;
INSERT INTO T SELECT * FROM T;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE a > 0);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', -9223372036854775808);
INSERT INTO T VALUES ('b', 'q', 4000);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('d', 'r', 9223372036854775807);
INSERT INTO T VALUES ('e', 's', 0);
SELECT A, C FROM T WHERE C > 1200 AND C < 9999999999 ORDER BY C;
WITH m AS MATERIALIZED (SELECT * FROM T) SELECT m.a FROM m JOIN m AS m2 ON m.a = m2.a;
ALTER TABLE T ADD COLUMN extra_7396 FLOA COLLATE NOCASE;
ALTER TABLE T ADD COLUMN extra_5763 BIGINT DEFAULT NULL;
SELECT * FROM T WHERE a IN (SELECT DISTINCT a FROM T);
DELETE FROM T WHERE rowid = 52;
DELETE FROM T WHERE 1;
SELECT STRING_AGG(b) FROM T;
CREATE UNIQUE  INDEX IF NOT EXISTS idx_T_150 ON T((a + 1));
ALTER TABLE T RENAME COLUMN B TO B_r1410;
```

## Actual output

```sql
CREATE TABLE "t2"("b","c","_ROWID_",PRIMARY KEY("b","c","_ROWID_"))WITHOUT ROWID;
WARNING: writing to an imposter table will corrupt the "t1bc" index!
Braun|30|3
Wernher|10|1
von|20|2
Braun|30
Wernher|10
von|20
```

## Expectation

```sql
CREATE TABLE "t2"("b","c","_ROWID_",PRIMARY KEY("b","c","_ROWID_"))WITHOUT ROWID;
Braun|30|3
Wernher|10|1
von|20|2
Braun|30
Wernher|10
von|20
```

## Flag

```

```

