Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add a description of the solution to lc problem: No.0183 #751

Merged
merged 1 commit into from
Mar 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions solution/0100-0199/0183.Customers Who Never Order/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@

<!-- 这里可写通用的实现逻辑 -->

**方法一:**

列举所有已存在订单的客户 ID,使用 `NOT IN` 找到不存在其中的客户。

**方法二:**

使用 `LEFT JOIN` 连接表格,返回 `CustomerId` 为 `NULL` 的数据。

<!-- tabs:start -->

### **SQL**
Expand Down