ClickHouse/dbms/tests/queries/0_stateless/00439_fixed_string_filter.sql

2 lines
136 B
SQL

SELECT DISTINCT x FROM (SELECT toFixedString(number < 20 ? '' : 'Hello', 5) AS x FROM system.numbers LIMIT 50) WHERE x != '\0\0\0\0\0';