mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
6 lines
201 B
MySQL
6 lines
201 B
MySQL
|
set dialect='kusto';
|
||
|
print ' -- binary functions';
|
||
|
print binary_and(4,7), binary_or(4,7);
|
||
|
print binary_xor(2, 5), bitset_count_ones(42);
|
||
|
print bitset_count_ones(binary_shift_left(binary_and(4,7), 1));
|