EliteVideo is a startup company providing concierge DVD kiosk service in upscale neighborhoods. Each store can own several copies (VIDEO) of each movie (MOVIE). For example, the store may have ten copies of the movie Titanic. In this case, Titanic would be an instance in the MOVIE table, while each rentable copy would be an instance in the VIDEO table. A rental transaction (RENTAL) involves one or more VIDEOs being rented to a member (MEMBERSHIP). A video can be rented many times over its lifetime, therefore, there is a M:N relationship between RENTAL and VIDEO. The DETAIL_RENTAL table is the bridge table to resolve this relationship. When a video is rented, one can obtain the daily rental fee and late fees from the PRICE table since the VIDEO is connected to PRICE through the MOVIE table. The E-R diagram is shown in the figure below MEMBERSHIP DETAIL RENTAL pk İmermid pk, fki rent id pk, fk2 vid id mem fname mem Iname mem street mem city mem state mem zip mem balance RENTAL detail fee detail duedate detail returndate detail_dailylatefee pk rent id rent date fk1 mem id MOVIE PRICE pk movie id VIDEO movie title movie year movie cost movie genre pk price id pk vid id price description price rentfee price dailylatefee vid indate fkl movie id kl price id Your objective in this assignment is to (a) create the SQL statements that will, when executed, create a database containing the tables and their relationships as shown above; and (b) to create SQL statements necessary to populate those tables with data. Use the SQLite Database Browser to enter and run your SQL statements to create your database. You must first click the "New Database" button and give your database a name. Then, dismiss the window that wants to build a table. Click the SQL tab, put your SQL code in the appropriate area, and click the run button to execute it Choose data types for the fields within the tables based on the type of field and data stored. Create primary keys for all tables, and foreign keys where appropriate. Once the tables are created, populate them with data using the data file provided alongside this document in Blackboard. The data file contains EliteVideo is a startup company providing concierge DVD kiosk service in upscale neighborhoods. Each store can own several copies (VIDEO) of each movie (MOVIE). For example, the store may have ten copies of the movie Titanic. In this case, Titanic would be an instance in the MOVIE table, while each rentable copy would be an instance in the VIDEO table. A rental transaction (RENTAL) involves one or more VIDEOs being rented to a member (MEMBERSHIP). A video can be rented many times over its lifetime, therefore, there is a M:N relationship between RENTAL and VIDEO. The DETAIL_RENTAL table is the bridge table to resolve this relationship. When a video is rented, one can obtain the daily rental fee and late fees from the PRICE table since the VIDEO is connected to PRICE through the MOVIE table. The E-R diagram is shown in the figure below MEMBERSHIP DETAIL RENTAL pk İmermid pk, fki rent id pk, fk2 vid id mem fname mem Iname mem street mem city mem state mem zip mem balance RENTAL detail fee detail duedate detail returndate detail_dailylatefee pk rent id rent date fk1 mem id MOVIE PRICE pk movie id VIDEO movie title movie year movie cost movie genre pk price id pk vid id price description price rentfee price dailylatefee vid indate fkl movie id kl price id Your objective in this assignment is to (a) create the SQL statements that will, when executed, create a database containing the tables and their relationships as shown above; and (b) to create SQL statements necessary to populate those tables with data. Use the SQLite Database Browser to enter and run your SQL statements to create your database. You must first click the "New Database" button and give your database a name. Then, dismiss the window that wants to build a table. Click the SQL tab, put your SQL code in the appropriate area, and click the run button to execute it Choose data types for the fields within the tables based on the type of field and data stored. Create primary keys for all tables, and foreign keys where appropriate. Once the tables are created, populate them with data using the data file provided alongside this document in Blackboard. The data file contains


Are there any questions left?
New questions in the section Engineering
Sign up for the IQClass
Answers from experts with no ads!
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Made with love
This website uses cookies to make IQClass work for you. By using this site, you agree to our cookie policy

Pleased to see you again

IQClass unlocks the learning potential of every child
  • Master useful skills
  • Improve learning outcomes
  • Share your knowledge
Create an account
Sign in
Recover lost password
Or log in with

Create an account

IQClass unlocks the learning potential of every child
  • Master useful skills
  • Improve learning outcomes
  • Share your knowledge
Create an account
Sign Up
Or sign up with
By signing up, you agree to the Terms of use and Privacy policy.
Looking for an answer to a question you need help with?
you have баллов