Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this tutorial we will get some further experience in developing ER diagrams, and then translate these to SQL DDL Statements. Consider the following brief

In this tutorial we will get some further experience in developing ER diagrams, and then translate
these to SQL DDL Statements.
Consider the following brief scenario
EliteVideo is a startup company providing concierge DVD kiosk service in upscale
neighbourhoods. EliteVideo can own several copies (VIDEO) of each movie (MOVIE). For
example, a kiosk may have 10 copies of the movie Twist in the Wind. In the database, Twist in the
Wind would be one MOVIE, and each copy would be a VIDEO. 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 an M:N relationship between RENTAL and VIDEO.
(DETAILRENTAL) is the bridge table to resolve this relationship. The pricing structure is such that
there are a number of price categories, such as 'Overnight', '2 Day Rental', '3 Day Rental', 'Weekly'
etc. The cost of renting each MOVIE will fall into one of these (PRICE) categories.
Task 5
In PostgreSQL and DBeaver, create the new database (call it MovieDB, prefixed by your
Student ID number), as we did in the first tutorial, and create a new DBeaver connection to
this new database.
Canyou actually create a new database in PostgreSQL and Dbeaver?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+ (b) Show that X ,, - p X.

Answered: 1 week ago