
CREATE OR REPLACE VIEW t (number UInt64) AS SELECT number FROM system.numbers;
SHOW CREATE TABLE t;

CREATE OR REPLACE VIEW t AS SELECT number+1 AS next_number FROM system.numbers;
SHOW CREATE TABLE t;

DROP TABLE t;
