Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 ( 2 0 Points ) Consider the following database schema: SUPPLIER ( SName , ItemName, Price ) - supplier SName sells item ItemName

Question 1(20 Points) Consider the following database schema:
SUPPLIER(SName, ItemName, Price)- supplier SName sells item ItemName
at Price.
CUSTOMER(CName, Address)- customer CName lives at Address.
ORDER(CName, SName, ItemName, Qty)- customer CName has ordered
Qty of item ItemName from supplier SName.
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.
See the exammin nf CLD dinnram Dumidn+ha LCD dinxraml
image text in transcribed

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

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions