Open k98kurz opened 1 month ago
Another use case: select [columns] from ([subquery])
Two more:
select [columns] from [table] where [column] = ([subquery])
select [columns] from [table] join ([subquery]) [join_alias] on [table.column] = [join_alias.column]
Is your feature request related to a problem? Please describe.
Being able to compose query builders together to create subqueries would be a useful feature.
Describe the solution you'd like
Not sure about the exact Python syntax I want for this. It will require more thought and probably a substantial refactor.
Additional context
Some common use cases for subqueries are
where in
andwhere not in
.