RosettaCodeData/Task/Bitwise-operations/DuckDB/bitwise-operations-1.duckdb

6 lines
125 B
Text
Raw Permalink Normal View History

2025-08-11 18:05:26 -07:00
create or replace function task(a,b) as table (
select a, b, a&b, a|b, xor(a, b), ~a, a << b, a >> b
);
from task(10, 2);