Skip to content

Commit 0924729

Browse files
authored
Create 1607-sellers-with-no-sales.sql
1 parent 2fba5d0 commit 0924729

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

1607-sellers-with-no-sales.sql

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Write your MySQL query statement below
2+
SELECT DISTINCT seller_name
3+
FROM seller s
4+
WHERE seller_id NOT IN (
5+
SELECT DISTINCT seller_id
6+
FROM orders
7+
WHERE YEAR(sale_date) = 2020
8+
)
9+
ORDER BY 1;

0 commit comments

Comments
 (0)