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
- hackerrank
- window function
- merge
- L1정규화
- RLIKE
- 코딩공부
- elastic net
- early stopping
- PYTHON
- L2정규화
- 교차 엔트로피
- 클라우드컴퓨팅
- mysql
- leetcode
- HTML
- conflict
- CSS
- github
- 버전충돌
- Git
- sql
- branch
- programmers
- 깃헙협업
- 온라인협업
- AWS
- 선형 모형
- full request
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/
Customers Who Never Order - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
leetcode.com
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