Skip to content

Commit 79fcc67

Browse files
authored
Create 1050-actors-and-directors-who-cooperated-at-least-three-times.sql
1 parent 74846a4 commit 79fcc67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Write your MySQL query statement below
2+
SELECT actor_id, director_id
3+
FROM ActorDirector
4+
GROUP BY actor_id, director_id
5+
HAVING COUNT(1) >= 3

0 commit comments

Comments
 (0)