ClickHouse/tests/queries/0_stateless/01736_null_as_default.sql

6 lines
203 B
MySQL
Raw Normal View History

drop table if exists test_num;
create table test_enum (c Nullable(Enum16('A' = 1, 'B' = 2))) engine Log;
insert into test_enum values (1), (NULL);
select * from test_enum;
drop table if exists test_num;