opteryx
opteryx copied to clipboard
✨ Rewrite INNER JOIN where only the LEFT table is referenced in WHERE/HAVING/SELECT clauses as SEMI JOIN
trafficstars
This is generally being used as a containment test for the LEFT table, rewriting as a SEMI JOIN will be faster.