Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSQLEXISTS vs INSingle-choice MCQ

In PostgreSQL, the orders table is empty. How many rows does this query return from customers (which has 5 rows)?

SELECT * FROM customers c WHERE c.id NOT IN (SELECT o.customer_id FROM orders o);