If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
DVD Movie Database Question
I am creating a DVD Movie Database using the template on Microsoft Office's
Web Site. My question is this and please correct me if I am wrong. It seems to me that if you have a DVD of a television series that also has seasons as well as episode numbers-assuming that the person/place does not have all the episodes, would you not need to set up a field for the "Seasons" & "Episode #s"? Or even a table at least to store that info? You wouldn't logically put the the TV series' name in the "DVD Programs" table's "Program Name" field and add "Season 1 Episodes 1, 2, 3 , & 4," right? I am just really confused. |
#2
|
|||
|
|||
DVD Movie Database Question
Seasons and Episodes not be stored in the table that stores movie names.
This is a classic one-to-many relationship: one series has many seasons, each season has many episodes. Relational purists will insist that Seasons belong in one table and Episodes in another, but unless you store lots of information about the season besides the year, in practice I would put them into one table with fields for Season, Episode and whatever else (episode title, date first shown, guest stars, etc.) to make for easier querying (joining 2 tables instead of 3). The name of the series would go into the main table only once, along with the one-of movies. Add a field to the main table that identifies the Type of movie - if the type is TVSeries, then display the related records from the Season/Episode table, or during input, present a form for entering that information. -TedMi "Josh Davis" wrote in message ... I am creating a DVD Movie Database using the template on Microsoft Office's Web Site. My question is this and please correct me if I am wrong. It seems to me that if you have a DVD of a television series that also has seasons as well as episode numbers-assuming that the person/place does not have all the episodes, would you not need to set up a field for the "Seasons" & "Episode #s"? Or even a table at least to store that info? You wouldn't logically put the the TV series' name in the "DVD Programs" table's "Program Name" field and add "Season 1 Episodes 1, 2, 3 , & 4," right? I am just really confused. |
Thread Tools | |
Display Modes | |
|
|