ClickHouse/dbms/tests/queries/0_stateless/00406_tuples_with_nulls.sql
2016-12-30 08:17:55 +03:00

3 lines
207 B
SQL

SELECT (number, nullIf(number % 3, 0), toString(nullIf(number % 2, 0))) AS tuple FROM system.numbers LIMIT 10 FORMAT PrettyCompactNoEscapes;
SELECT NULL AS x, tuple(NULL) AS y FORMAT PrettyCompactNoEscapes;