Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following database schema: 1 . SUPPLIER ( SName , ItemName, Price ) supplier SName sells item ItemName at Price. 2 . CUSTOMER (

Consider the following database schema:
1. SUPPLIER(SName, ItemName, Price) supplier SName sells item ItemName at Price.
2. CUSTOMER(CName, Address) customer CName lives at Address.
3. ORDER(CName, SName, ItemName, Qty) customer CName has ordered
Qty of item ItemName from supplier SName.
4. ITEM(ItemName, Description) Information about items.
Further, suppose that you want to add the following constraint to this diagram: Every item is supplied by some supplier. Draw the EER diagram from which the above schema might have been derived. Specify (a) keys, (b) structural constraints, and (c) roles (if this is necessary). For the constraints use both the traditional notation (single/double lines and numbers across the diamonds) and the (min, max) notation. State clearly any additional assumptions that you made in designing the ER diagram.

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 1 Lnai 9284

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Carlos Soares ,Joao Gama ,Alipio Jorge

1st Edition

3319235273, 978-3319235271

More Books

Students also viewed these Databases questions

Question

(6) Analysing the residuals and if necessary revising the model.

Answered: 1 week ago

Question

a valuing of personal and psychological privacy;

Answered: 1 week ago