customer_id
of customers who have at least one order of type 0.Orders
table.customer_id
is not in the list obtained from the subquery.erDiagram Orders { int order_id PK "Unique order identifier" int customer_id "Identifier of the customer" int order_type "Type of the order (0 or 1)" }