ClickHouse/dbms/tests/queries/0_stateless/00465_nullable_default.sql

6 lines
190 B
SQL

DROP TABLE IF EXISTS nullable;
CREATE TABLE nullable (id Nullable(UInt32), cat String) ENGINE = Log;
INSERT INTO nullable (cat) VALUES ('test');
SELECT * FROM nullable;
DROP TABLE nullable;