mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
5 lines
312 B
SQL
5 lines
312 B
SQL
SELECT sum(1) FROM (SELECT * FROM system.numbers LIMIT 1000);
|
|
SELECT sumWithOverflow(1) FROM (SELECT * FROM system.numbers LIMIT 1000);
|
|
SELECT sumKahan(1e100) - 1e100 * 1000 FROM (SELECT * FROM system.numbers LIMIT 1000);
|
|
SELECT abs(sum(1e100) - 1e100 * 1000) > 1 FROM (SELECT * FROM system.numbers LIMIT 1000);
|