Semi join
A semi join asks 'is there at least one match?' without multiplying rows. EXISTS (subquery) does that.
task
Customers who have at least one refunded payment, each once.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
A semi join asks 'is there at least one match?' without multiplying rows. EXISTS (subquery) does that.
Customers who have at least one refunded payment, each once.