Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL NOT EXISTS

SELECT customer_id, first_name
FROM Customers
WHERE NOT EXISTS (
  SELECT order_id
  FROM Orders
  WHERE Orders.customer_id = Customers.customer_id
);
 
PREVIOUS NEXT
Tagged: #SQL #NOT #EXISTS
ADD COMMENT
Topic
Name
4+3 =