mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
5 lines
197 B
MySQL
5 lines
197 B
MySQL
|
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;
|