concise mysql solution using concat
\nselect actor_id, director_id from actordirector group by actor_id, director_id having count(concat(actor_id, director_id)) >= 3;\n
```\nselect actor_id, director_id from actordirector group by actor_id, director_id having count(concat(actor_id, director_id)) >= 3;\n```
['MySQL']