mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
17 lines
806 B
MySQL
17 lines
806 B
MySQL
|
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);
|