ClickHouse/tests/queries/0_stateless/00425_count_nullable.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
348 B
MySQL
Raw Normal View History

SELECT count() FROM (SELECT number AS x FROM system.numbers LIMIT 10);
SELECT count(x) FROM (SELECT number AS x FROM system.numbers LIMIT 10);
SELECT count(x) FROM (SELECT CAST(number AS Nullable(UInt64)) AS x FROM system.numbers LIMIT 10);
SELECT count(x) FROM (SELECT nullIf(number, 5) AS x FROM system.numbers LIMIT 10);
SELECT count(NULL);