Skip to content

Commit cce67ea

Browse files
committed
Upload 144
1 parent ff9c172 commit cce67ea

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ The problems and both submitted and site solutions are documented in individual
176176
| 141 | [List the Products Ordered in a Period](https://leetcode.com/problems/list-the-products-ordered-in-a-period/) | [Solution](solutions/141_list_the_products_ordered_in_a_period.md) | DataLemur | Easy | |
177177
| 142 | [Product Price at a Given Date](https://leetcode.com/problems/product-price-at-a-given-date/description/) | [Solution](solutions/142_product_price_at_a_given_date.md) | LeetCode | Medium | `UNION ALL`, `LEFT JOIN`, Window Function |
178178
| 143 | [Rank Scores](https://leetcode.com/problems/rank-scores/description/) | [Solution](solutions/143_rank_scores.md) | LeetCode | Medium | |
179+
| 144 | [Customers Who Never Order](https://leetcode.com/problems/customers-who-never-order/description/) | [Solution](solutions/144_customers_who_never_order.md) | LeetCode | Easy | |
179180
<!-- Index End - WARNING: Do not delete or modify this markdown comment. -->
180181

181182
## Author(s)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SQL Everyday \#144
2+
3+
## Customers Who Never Order
4+
5+
Site: LeetCode\
6+
Difficulty per Site: Easy
7+
8+
## Problem
9+
10+
Write a solution to find all customers who never order anything.
11+
12+
Return the result table in *any order*. [[Full Description](https://leetcode.com/problems/customers-who-never-order/description/)]
13+
14+
## Submitted Solution
15+
16+
```sql
17+
-- Submitted Solution
18+
SELECT
19+
name AS Customers
20+
FROM Customers AS c
21+
LEFT JOIN Orders AS o ON c.id = o.customerID
22+
WHERE o.customerID IS NULL
23+
ORDER BY Customers ASC
24+
;
25+
```
26+
27+
## Site Solution
28+
29+
```sql
30+
-- LeetCode Solution
31+
-- TBD
32+
```
33+
34+
## Notes
35+
36+
TBD
37+
38+
## NB
39+
40+
TBD
41+
42+
Go to [Index](../?tab=readme-ov-file#index)\
43+
Go to [Overview](../?tab=readme-ov-file)

0 commit comments

Comments
 (0)