SQL Server CLEAN & EASY
\nSELECT ad.actor_id, ad.director_id\nFROM ActorDirector ad\nJOIN (\n  SELECT actor_id, director_id\n  FROM ActorDirector\n  GROUP BY actor_id, director_id\n  H
```\nSELECT ad.actor_id, ad.director_id\nFROM ActorDirector ad\nJOIN (\n  SELECT actor_id, director_id\n  FROM ActorDirector\n  GROUP BY actor_id, director_id\n  HAVING COUNT(*) >= 3\n) ad2 ON ad.actor_id = ad2.actor_id AND ad.director_id = ad2.director_id\nGROUP BY ad.actor_id, ad.director_id\n\n```
[]