Ask PL-SQL Expert

Create 'Video Store' database in MySQL.

Create a table called "movies" with below information:

movie_id movie_name movie_date movie_length movie_director genre
1 The Shawshank Redemption 1994 122 Frank Dirabont Crime
2 The Godfather 1972 175 Francis Cappola Crime
3 The Godfather Part 2 1974 222 Francis Cappola Crime
4 The Dark Knight 2008 152 Christopher Nolan Action
5 Schindler's List 1993 195 Steven Spielberg Drama
6 12 Angry Men 1957 96 Sidney Lumet Crime
7 Pulp Fiction 1994 154 Quentin Tarantino Crime
8 The Lord of the Rings 2003 201 Peter Jackson Action
9 The Good, the Bad and the Ugly 1966 161 Sergio Leone Western
10 Fight Club 1999 139 David Fincher Drama
11 Forrest Gump 1994 144 Robert Zemeckis Drama
12 Inception 2010 148 Christopher Nolan Action
13 Goodfellas 1990 146 Martin Scorsese Drama
14 The Matrix 1999 136 Lana Wachowski Action
15 City of God 2002 130 Fernando Meirelles Crime
16 It's a Wonderful Life 1946 130 Frank Capra Drama
17 The Usual Suspects 1995 106 Bryan Singer Crime
18 Spirited Away 2001 125 Hayao Miyazaki Adventure
19 Saving Private Ryan 1998 169 Steven Spielberg Action
20 City Lights 1931 87 Charles Chaplin

Comedy

Create a table called "customers" with below information:

cust_id cust_name cust_address cust_city cust_state cust_phone
1 John Wilkins 456 Alberta Ave Topeka KS 4629349456
2 Albert Fonso 657 Sifter Road Phoenix AZ 4238593512
3 Susie Cue 987 Mull Ave San Jose CA 9874639554
4 Rosie Sims 987 Tiffany St Tucson AZ 4657389253
5 Tommy Jones 7654 Ribbit Circle New York NY 4485693045
6 Matt Smith 124 Lowe Tide Rd San Francisco CA 7594123465
7 Stephen Storch 345 Loft Ave Sacramento CA 9874561234
8 Lucy Mills 1756 Guadalupe Ave San Jose CA 2233473056
9 Jenny Tims 923 Ifter Circl Miami FL 7750982354
10 Susan Quats 1752 Ross Rd Phoenix AZ 8546034455

Create a table called "rentals" that connects the two tables above with the following information:

movie_id date_checked_out date_to_return chkout_charge customer_id customer_name

Create a database model for the video store.

Use Foreign Keys to link between the "rental" table, "customer" table and "movie" table.

a. the rental table will need to link to the video that is checked out and the customer. Each customer should have a video checked out.

b. The rental table must indicate whether is has been checked out so another customer can't rent it.

c. The rental table needs an event that can generate a query of customers who are past due on rentals.

Create a localhost.php folder named VideoStore containing Web pages for your video store.

a. Create an index to the web pages

b. Create a simple input and search page for customers

c. Create a simple input and search page for the videos

d. Create a simple page for rental checkouts, including indication of overdue rentals.

Submit at least two backup files created by a schedule.

PL-SQL, Programming

  • Category:- PL-SQL
  • Reference No.:- M92606383
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in PL-SQL

Complete the following tasksin microsoft access create the

Complete the following tasks: In Microsoft Access, create the database and tables that you identified in W3 Assignment 2. In Microsoft Word, write the SQL statements to create the database and tables. Write SQL statement ...

Purpose of the assessment with ulo mapping the purpose of

Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop skills in managing data in databases and to gain understanding of data model development and implementation using a commercially a ...

Continuing the project you have worked on in weeks 1-4 in

Continuing the project you have worked on in Weeks 1-4, in this final week, complete the following tasks: Refine your database and SQL statements by incorporating your instructor's feedback. Verify that the database comp ...

For this assignment you will be provided a database backup

For this assignment, you will be provided a database backup for a database called FinanceDB. You will have to restore this backup to your own version of SQL Server. All of the questions in this assignment relate to the F ...

Assignment - queries functions and triggersaimthe aims of

Assignment - Queries, Functions and Triggers Aim The aims of this assignment are to: formulate SQL queries; populate an RDBMS with a real dataset, and analyse the data; design test data for testing SQL queries; create SQ ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As