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