Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1)Consider the following E-R model for the Beta University problem given in Homework1. Examine the E-R model and write the complete relational database schema by

1)Consider the following E-R model for the Beta University problem given in Homework1. Examine the E-R model and write the complete relational database schema by following the rules described in class (make sure you underline primary keys and also indicate foreign keys in the schema using arrows as shown in class):

Entities and corresponding attributes:

Potential Donor- donorId, donorName, street, city, state, zip, country, phone, donor Category(multi- valued), donorCircle, graduationYear(multi-valued), amountDonatedLastYear, amountPledgedThisYear, amountPaidThisYear, donorMatchCorp, spouseName, spouseMatchCorp

Matching Corp- matchCorpName, street, city, state, zip, country Event eventName, eventDate, eventTime, eventLocation, eventOrganizer, eventTotalPledged

eventTotalPaid

ClassRep graduationYear, classRepName, street, city, state, zip, country, classRepPhoneNumber

Volunteer volunteerName, street, city, state, zip, country, volunteerPhoneNumber

Pledge pledgeNumber, pledgeAmount, pledgeDate, numPaymentsChosen, pledgeAmountPaid, numPaymentsMade

Payment - datePaid, amount Paid, paymentMethod, creditCardType, credit Card Number

2. Using your Beta University relational database schema, write relational algebra statements (combination of SELECT, PROJECT, JOIN, and SET operations) to perform the following database operations:

a)Find the names and phone numbers of donors who donated more this year

compared to last year

b)Find the names and phone numbers of donors who belong to the category

Alumnus

c)Find the id numbers of donors who donated more than $500 during the event

Bake Sale on 12/15/2013

d)Find the names and graduation year of donors who sent their pledge amount in the

year 2013 using Visa credit cards

e)Delete all pledge records from donor bearing donorId 12463

image text in transcribed

E-R Model: PotentialDonor MatchingCorp ClassRep Volunteer Event Pledge Payment

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

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions

Question

Show the properties and structure of allotropes of carbon.

Answered: 1 week ago

Question

7. General Mills

Answered: 1 week ago

Question

3. Describe the strategic training and development process.

Answered: 1 week ago