mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
17 lines
806 B
SQL
17 lines
806 B
SQL
SELECT 0b0001 as number, toTypeName(number);
|
|
SELECT 0b0010 as number, toTypeName(number);
|
|
SELECT 0b0100 as number, toTypeName(number);
|
|
SELECT 0b1000 as number, toTypeName(number);
|
|
|
|
SELECT 'Unsigned numbers';
|
|
SELECT 0b10000000 as number, toTypeName(number);
|
|
SELECT 0b1000000000000000 as number, toTypeName(number);
|
|
SELECT 0b10000000000000000000000000000000 as number, toTypeName(number);
|
|
SELECT 0b1000000000000000000000000000000000000000000000000000000000000000 as number, toTypeName(number);
|
|
|
|
SELECT 'Signed numbers';
|
|
SELECT -0b10000000 as number, toTypeName(number);
|
|
SELECT -0b1000000000000000 as number, toTypeName(number);
|
|
SELECT -0b10000000000000000000000000000000 as number, toTypeName(number);
|
|
SELECT -0b1000000000000000000000000000000000000000000000000000000000000000 as number, toTypeName(number);
|