ClickHouse/dbms/tests/queries/0_stateless/00498_bitwise_aggregate_functions.sql

2 lines
173 B
MySQL
Raw Normal View History

SELECT number % 4 AS k, groupArray(number), groupBitOr(number), groupBitAnd(number), groupBitXor(number) FROM (SELECT * FROM system.numbers LIMIT 20) GROUP BY k ORDER BY k;