Merge pull request #6708 from 4ertus2/some

Test for #4858
This commit is contained in:
Artem Zuikov 2019-08-28 21:57:46 +03:00 committed by GitHub
commit 405f060f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
SELECT toUInt64(1) x FROM (select 1)
GROUP BY 1
HAVING x
IN ( SELECT countIf(y, z == 1) FROM (SELECT 1 y, 1 z) );