Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a subquery instead of a join for the assignment user filter
In general a subquery is better for filtering, in this case because: - It allows us to compose a query better, we don't have to worry about missing/duplicating a join - It can be faster for non-correlated subqueries (ie queries that produce the same values for all rows). This should be the case here. - They don't introduce duplicate rows, we can remove the distinct here.
- Loading branch information