Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a) Draw an ER diagram for the relational schema: Customer (cid, name, address) Magazine (title, publisher, topic, frequency, url) Pricing (title, publisher, period, offer, price)

image text in transcribed

a) Draw an ER diagram for the relational schema: Customer (cid, name, address) Magazine (title, publisher, topic, frequency, url) Pricing (title, publisher, period, offer, price) foreign key (title, publisher) references Magazine Subscribes (cid, title, publisher, offer, from, period) foreign key (cid) references Customer, foreign key (title, publisher, period, offer) references Pricing The attribute "period" in Pricing tells the number of years for the subscription. The attribute "frequency" in Magazine tells how often the magazine is published (weekly, monthly, etc.). The attribute "from" in Subscribes tells when the subscription for the customer commences. b). How would your diagram change if you generalize the database to also model subscriptions to newspapers? Propose entities/relations and draw a corresponding schema. CS.VS. 1058

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_2

Step: 3

blur-text-image_3

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

Students also viewed these Databases questions