mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
10 lines
348 B
SQL
10 lines
348 B
SQL
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);
|