DELETE USING
DELETE ... USING joins another table to decide which rows go.
task
Delete the order_items of cancelled orders (orders.status = 'cancelled') with DELETE ... USING.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
DELETE ... USING joins another table to decide which rows go.
Delete the order_items of cancelled orders (orders.status = 'cancelled') with DELETE ... USING.