You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WITH contributors AS (SELECT'Dan'AS name, 3AS tenure),
toks AS (
SELECT name FROM (
SELECT*FROM contributors
WHERE name ='Dan'
) sub
WHERE tenure =3
)
SELECT*FROM toks;
raises
failed to query ...: near "WHERE": syntax error
--- FAIL: TestQuery (0.02s)
--- FAIL: TestQuery/syntax_error_test (0.01s)
Adjusting the query to not use a filter in the sub-select parses and runs successfully i.e.
WITH contributors AS (SELECT'Dan'AS name, 3AS tenure),
toks AS (
SELECT name FROM (
SELECT*FROM contributors
) sub
WHERE tenure =3
)
SELECT*FROM toks;
The text was updated successfully, but these errors were encountered:
raises
Adjusting the query to not use a filter in the sub-select parses and runs successfully i.e.
The text was updated successfully, but these errors were encountered: