mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
11 lines
320 B
SQL
11 lines
320 B
SQL
SELECT lcm(15, 10);
|
|
SELECT lcm(-15, 10);
|
|
SELECT lcm(15, -10);
|
|
SELECT lcm(-15, -10);
|
|
|
|
-- Implementation specific result on overflow:
|
|
SELECT ignore(lcm(256, 9223372036854775807));
|
|
SELECT ignore(lcm(256, -9223372036854775807));
|
|
SELECT ignore(lcm(-256, 9223372036854775807));
|
|
SELECT ignore(lcm(-256, -9223372036854775807));
|