Suppose I have three tables Actor, Movie, Producer with following attributes
Actor(Id,ActorName,Bio)
Producer(Id,ProducerName,Bio)
Movie(Id,Name,Description,ActorName,ProducerName)
There can be many actors in a movie and actor can act many movies, same goes with producer. How to effectively decompose/create new tables to store data. I tried creating a new table with following schema
ActorMovie(Id, MovieId, ActorId)
but failed as there can be multiple actors in a movie.