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
{{ message }}
Repository navigation
Sqlc could not support table alias (error: table alias "t1" does not exist) #2400
Hi everyone
This error persist since 2022.
Can someone ping the pull request #3220
How one can possibly work without CTE or joins?
Is SQLC only for primitive cases?
Activity
feat(compiler): Support subqueries in the FROM clause
feat(compiler): Support subqueries in the FROM clause (#3227)
feat(compiler): Support subqueries in the FROM clause
feat(compiler): Support subqueries in the FROM clause (second coming) (…
feat(compiler): Support subqueries in the FROM clause
feat(compiler): Support subqueries in the FROM clause
feat(compiler): Support subqueries in the FROM clause
feat(compiler): Support subqueries in the FROM clause
Dmdv commentedon May 15, 2024
Hi everyone
This error persist since 2022.
Can someone ping the pull request #3220
How one can possibly work without CTE or joins?
Is SQLC only for primitive cases?
Please, pay attention to issues:
#2400
#3169
#1385
Though the solution of @smantic works well:
#1385 (comment)
feat(compiler): Support subqueries in the FROM clause (sqlc-dev#3227)
feat(compiler): Support subqueries in the FROM clause (second coming) (…
feat(compiler): Support subqueries in the FROM clause (sqlc-dev#3227)
feat(compiler): Support subqueries in the FROM clause (second coming) (…
dev-kpyc commentedon Nov 17, 2025
@kyleconroy any plans to fix this issue?
I see this previous PR to address this was ultimately reverted: #3299