mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 01:41:59 +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);
|