ClickHouse/tests/queries/0_stateless/01086_modulo_or_zero.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

6 lines
163 B
SQL

select moduloOrZero(0, 0) = 0;
select moduloOrZero(-128, -1) = 0;
select moduloOrZero(-127, -1) = 0;
select moduloOrZero(1, 1) = 0;
select moduloOrZero(5, 3) = 2;