Skip to content
RED SAGSkills
medium10 pts · first answer countssqlmissing-data

NOT IN returns no rows

This query returns zero rows even though many customers never ordered: SELECT * FROM customers WHERE id NOT IN (SELECT customer_id FROM orders). What is the most likely cause?

Choose one answer