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 | 31 |
Tags
- L2정규화
- conflict
- 버전충돌
- 선형 모형
- Git
- CSS
- PYTHON
- AWS
- coding
- window function
- 편향-분산 교환
- leetcode
- full request
- hackerrank
- merge
- 코딩공부
- mysql
- HTML
- L1정규화
- 교차 엔트로피
- 온라인협업
- 깃헙협업
- branch
- github
- RLIKE
- sql
- 클라우드컴퓨팅
- programmers
- early stopping
- elastic net
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