blob: 72202c66cf11b3fd6b6c88e0b9b0be3743996d16 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--!syntax_pg
/* custom error: Member not found: _alias_t.x */
-- TODO(YQL-20943): bad test.
SELECT (Count(x) / (
SELECT Count(y)
FROM (VALUES ('1')) AS t(y)
HAVING Count(x) = Count(y)
))
FROM (VALUES (1)) AS t(x)
GROUP BY x;
|