SQL Keyword ANY
The ANY returns TRUE if any of the subquery values meet the condition.
The below SQL returns products, that have product ID matching any of the product IDs returned by the subquery.
SELECT * FROM products
WHERE product_id = ANY (SELECT product_id FROM order_details WHERE quantity = 10);