SQL problem - Actors and Directors Who Cooperated At Least Three Times
Problem
Query
SELECT
actor_id,
director_id
FROM
ActorDirector
GROUP BY
actor_id,
director_id
HAVING COUNT(timestamp) >= 3
SELECT
actor_id,
director_id
FROM
ActorDirector
GROUP BY
actor_id,
director_id
HAVING COUNT(timestamp) >= 3