ClickHouse/tests/queries/0_stateless/00516_modulo.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

14 lines
237 B
SQL

SELECT 1000 % 32;
SELECT 7 % 3;
SELECT 255 % 510;
SELECT 255 % 512;
SELECT 255 % 1000000009;
SELECT 0 % 255;
SELECT 2147483647 % 255;
SELECT -1 % -1;
SELECT -1 % -2;
SELECT 255 % 99;
SELECT 42 % 13;
SELECT 42 % 22;
SELECT 1234567 % 123;