mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-06 07:32:27 +00:00
5 lines
197 B
SQL
5 lines
197 B
SQL
drop table if exists enum;
|
|
create table enum engine MergeTree order by enum as select cast(1, 'Enum8(\'zero\'=0, \'one\'=1)') AS enum;
|
|
select * from enum where enum = 1;
|
|
drop table if exists enum;
|