ClickHouse/tests/queries/0_stateless/00406_tuples_with_nulls.sql

3 lines
207 B
MySQL
Raw Normal View History

2016-12-30 05:17:55 +00:00
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;