RosettaCodeData/Task/Arithmetic-Integer/DuckDB/arithmetic-integer.duckdb

4 lines
188 B
Text
Raw Permalink Normal View History

2025-08-11 18:05:26 -07:00
SELECT x, y, (x+y), (x-y), (x*y), x // y, mod(x,y), exp(x)
FROM read_csv_auto('rc-arithmetic-integer.txt', header=false,
columns={'x': 'HUGEINT', 'y': 'HUGEINT'}) ;