Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- coding
- conflict
- 깃헙협업
- github
- 선형 모형
- CSS
- merge
- 클라우드컴퓨팅
- Git
- mysql
- window function
- 온라인협업
- L1정규화
- AWS
- full request
- 교차 엔트로피
- leetcode
- hackerrank
- 코딩공부
- 버전충돌
- L2정규화
- programmers
- sql
- branch
- RLIKE
- elastic net
- early stopping
- HTML
- PYTHON
- 편향-분산 교환
Archives
- Today
- Total
Im between cherry
Leet Code | MySQL | 183. Customers Who Never Order 본문
183. Customers Who Never Order
https://leetcode.com/problems/customers-who-never-order/
Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything.
SELECT c.Name AS Customers
FROM Customers As c
LEFT JOIN Orders As o ON c.id = o.Customerid
WHERE o.id IS NULL
'데이터분석 > practice_query' 카테고리의 다른 글
Programmers | MySQL | 모든 레코드 조회하기 (0) | 2020.08.30 |
---|---|
Leet Code | MySQL | 1179. Reformat Department Table (0) | 2020.08.30 |
Leet Code | MySQL | 197. Rising Temperature (0) | 2020.08.30 |
Leet Code | MySQL | 185. Department Top Three Salaries (0) | 2020.08.30 |
Leet Code | MySQL | 184. Department Highest Salary (0) | 2020.08.30 |
Comments