없음. 줄여쓰는 것임.
https://leetcode.com/problems/customers-who-never-order/
select name as Customers
from Customers as a
left outer join Orders as b
on a.id = b.customerId
where b.id is null
select c.name as Customers
from Customers c
left join Orders o
on c.id = o.CustomerId
where o.CustomerId IS NULL
Reference
http://gnujava.com/board/article_view.jsp?article_no=726&board_no=23&table_cd=EPAR06&table_no=06
728x90
반응형
'자료구조 알고리즘 > 코딩테스트' 카테고리의 다른 글
1137. N-th Tribonacci Number (0) | 2022.05.27 |
---|---|
509. Fibonacci Number (0) | 2022.05.27 |
[MySQL] null-safe equal <=>, = (0) | 2022.05.27 |
[MySQL] 같지 않다 (0) | 2022.05.27 |
77484 로또의 최고 순위와 최저 순위 (0) | 2022.02.03 |