mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
8 lines
226 B
MySQL
8 lines
226 B
MySQL
|
select factorial(-1) = 1;
|
||
|
select factorial(0) = 1;
|
||
|
select factorial(10) = 3628800;
|
||
|
|
||
|
select factorial(100); -- { serverError 36 }
|
||
|
select factorial('100'); -- { serverError 43 }
|
||
|
select factorial(100.1234); -- { serverError 43 }
|