반응형
Programming
-
[LeetCode Database] #183 Customers Who Never OrderProgramming/SQL ( Oracle ) 2020. 12. 13. 20:31
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 문제 내용 : 주문 테이블, 고객 테이블을 참조해서 주문 이력이 없는 고객의 이력만 출력 정답인 쿼리와 오답인 쿼리간의 차이점에 대해 고민을 많이 했다. 1 2 3 4 5 6 7 SELECT A.Name AS Customers FROM ( SELECT DISTINCT ..