LEFT JOIN anti-join
SELECT
p.name
FROM products p
LEFT JOIN order_items oi
ON p.id = oi.product_id
WHERE oi.product_id IS NULLThis is the most explicit anti-join form. The LEFT JOIN preserves every product, and the NULL check keeps only those products that found no matching order rows.