customers:
+-----------+-----------+
| cid | name |
+-----------+-----------+
| 1 | a |
| 2 | b |
| 3 | c |
+-----------+-----------+
pizza:
+-----------+-----------+
| pid | type |
+-----------+-----------+
| 1 | sausage |
| 2 | cheese |
| 3 | veggies |
| 4 | sausage |
| 5 | veggies |
| 6 | sausage |
| 7 | sausage |
+-----------+-----------+
orders:
+-----------+-----------+-----------+
| oid | cid | pid |
+-----------+-----------+-----------+
| 1 | 1 | 1 |
| 2 | 1 | 2 |
| 3 | 2 | 3 |
| 4 | 3 | 4 |
| 5 | 1 | 5 |
| 6 | 3 | 6 |
| 7 | 3 | 7 |
+-----------+-----------+-----------+
我在理解 sql 逻辑时遇到了一些麻烦。我如何找到没有订购所有 3 种披萨的顾客?这三种类型是香肠、奶酪和蔬菜。我需要使用NOT EXIST
吗?