IN subquery filter
SQL
Easy
2 views
Problem Description
List customers who have placed at least one order.
Official Solution
SELECT customer_id, name FROM Customers WHERE customer_id IN (SELECT DISTINCT customer_id FROM Orders);
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!