J
John W. Vinson
This is what I want, yes.
But I don't think I've heard the term "junction table."
Based on the comment below, it appears to be a table with all of the
primary keys from other tables listed in it, and they are all one
compound primary key within it.
I need to understand the purpose of it, and what to link it up to (or
up to it).
Yes, though...if Warren Beatty, for example, is the producer, writer,
actor, and director of a film, I want him to be listed in one table,
for each of these classifications, along with anyone else.
We're on the same page here. I just have to understand how to do it.
You're almost there!
My suggestion would involve *two* junction tables - MovieGenres and MovieCrew.
They should not be lumped into one monster table, they're separate issues.
The way you would handle Beatty is to have one entry for Warren Beatty (CrewID
317 maybe) in the Crew table; and four entries in the MovieCrew table, all
with the same MovieID, all with 317 as the CrewID, and with four different
Role values.