mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 01:41:59 +00:00
5 lines
306 B
MySQL
5 lines
306 B
MySQL
|
select CAST(toLowCardinality(val) as UInt64) from (select arrayJoin(['1']) as val);
|
||
|
select toUInt64(toLowCardinality(val)) from (select arrayJoin(['1']) as val);
|
||
|
select 1 % toLowCardinality(val) from (select arrayJoin([1]) as val);
|
||
|
select gcd(1, toLowCardinality(val)) from (select arrayJoin([1]) as val);
|