mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
12 lines
213 B
SQL
12 lines
213 B
SQL
DROP TABLE IF EXISTS t0;
|
|
|
|
CREATE TABLE t0 (c0 Tuple(), c1 int) ENGINE = Memory();
|
|
|
|
INSERT INTO t0 VALUES ((), 1);
|
|
|
|
ALTER TABLE t0 UPDATE c0 = (), c1 = 2 WHERE EXISTS (SELECT 1);
|
|
|
|
SELECT * FROM t0;
|
|
|
|
DROP TABLE t0;
|