Presentation is loading. Please wait.

Presentation is loading. Please wait.

DVD DATABASE By: Sienna Bast Matthew Goodacre. PROBLEM DESCRIPTION  You want to watch a movie, but you think Tom Hanks is the best main character ever.

Similar presentations


Presentation on theme: "DVD DATABASE By: Sienna Bast Matthew Goodacre. PROBLEM DESCRIPTION  You want to watch a movie, but you think Tom Hanks is the best main character ever."— Presentation transcript:

1 DVD DATABASE By: Sienna Bast Matthew Goodacre

2 PROBLEM DESCRIPTION  You want to watch a movie, but you think Tom Hanks is the best main character ever. The only movies you want to see star Tom Hanks. With our database you will have the capability to search for Tom Hanks movies. You will also be able to search more complex statements such as writer, director and studio. Or a combination of all.

3 REQUIREMENTS The Movie DVD database must support the following minimum requirements:  Define attributes to store for each movie, i.e. its number, title, the year the movie was made, the date the DVD was purchased, its type - for example, documentary, comedy, drama, and so on - and the length of the movie in minutes. You also rate movies according to your own rating system.  Define attributes to store for each movie star, i.e. his or her number, first name, and last name.  Define attributes to store for each director, i.e. list his or her number, first name, and last name.  A movie star can appear in many movies, and one movie can have many stars. A director can direct many movies, but a movie can only have one director.  two forms for data entry  two reports based on a query  generate 8 queries

4 ERD TRANSLATION Stable People(Person Number, Name, Date of Birth, Date of Death) Role(Movie Number, Person Number, Role) Movie(Movie Number, Title) Produces(Movie Number, Studio Number) Studios(StudioNumber, StudioName, DateOfOpen, DateOfClose,) Mapped Studios(Studio Number, StudioName, DateOfOpen, DateOfClose) Movie(Movie Number, Title, Studio Number) Role(Movie Number, Person Number, Role) People(Person Number, Name, Date of Birth, Date of Death) Mapped with Total/Partial Studios(Studio Number, StudioName, DateOfOpen, DateOfClose) Movie(Movie Number, Title) Produces(Movie Number, Studio Number) People(Person Number, Name, Date of Birth, Date of Death) Role(Movie Number, Person Number, Role)

5 FORM

6 RUN THE QUERY  SELECT Title, People.Person_Name FROM Movies JOIN People WHERE Movies.Actor = People.Person_Number AND People.Person_Name like “Tom Hanks"

7 QUERY RESULT/REPORT

8 TABLES


Download ppt "DVD DATABASE By: Sienna Bast Matthew Goodacre. PROBLEM DESCRIPTION  You want to watch a movie, but you think Tom Hanks is the best main character ever."

Similar presentations


Ads by Google