mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
3 lines
244 B
SQL
3 lines
244 B
SQL
SELECT CAST('a', 'Nullable(FixedString(1))') as s, toTypeName(s), toString(s);
|
|
SELECT number, toTypeName(s), toString(s) FROM (SELECT number, if(number % 3 = 0, NULL, toFixedString(toString(number), 1)) AS s from numbers(10)) ORDER BY number;
|