DVD Movie Database Question

J

Josh Davis

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.
 
T

TedMi

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

SQL query/join syntax 20
DVD Shrink Menu 3
DVD taking forever to start playing 5
Multiple subforms 0
Entering Number Ranges 2
Burning DVD's problem!!!!! 7
Simple Database Question (I hope) 9
Enter number get text 19

Top