1398. Customers Who Bought Products A and B but Not C
Description
+---------------------+---------+
| Column Name | Type |
+---------------------+---------+
| customer\_id | int |
| customer\_name | varchar |
+---------------------+---------+
customer\_id is the primary key for this table.
customer\_name is the name of the customer.+---------------+---------+
| Column Name | Type |
+---------------+---------+
| order\_id | int |
| customer\_id | int |
| product\_name | varchar |
+---------------+---------+
order\_id is the primary key for this table.
customer\_id is the id of the customer who bought the product "product\_name".ac
Last updated