MS SQL, MySQL and Oracle solution with GROUP BY and HAVING
\nSELECT\n    actor_id,\n    director_id\nFROM\n    ActorDirector\nGROUP BY\n    actor_id,\n    director_id\nHAVING \n    COUNT(1) > 2\n
```\nSELECT\n    actor_id,\n    director_id\nFROM\n    ActorDirector\nGROUP BY\n    actor_id,\n    director_id\nHAVING \n    COUNT(1) > 2\n```
['MySQL', 'Oracle', 'MS SQL Server']