ClickHouse/tests/queries/0_stateless/02531_ipv4_arithmetic.sql
Yakov Olkhovskiy cc192bc75f test is added
2023-06-30 01:12:39 +00:00

5 lines
219 B
SQL

-- { echoOn }
SELECT number, ip, ip % number FROM (SELECT number, toIPv4('1.2.3.4') as ip FROM numbers(10, 20));
SELECT number, ip, number % ip FROM (SELECT number, toIPv4OrNull('0.0.0.3') as ip FROM numbers(10, 20));