[LeetCode/SQL] 1050. Actors and Directors Who Cooperated At Least Three Times

Sooyeon·2023년 11월 13일
0

문제풀이 

목록 보기
30/95
post-thumbnail

[LeetCode/SQL]


📌 1050. Actors and Directors Who Cooperated At Least Three Times

문제

풀이

- 감독과 최소 3번 함께 협업한 배우,감독을 출력하라

방법

SELECT actor_id,director_id
FROM ActorDirector
GROUP BY actor_id,director_id
HAVING COUNT(director_id)>=3

0개의 댓글