Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a database that records information for a simplified debit/credit card environment including the following: Every customer has a name, address, SSN and a unique

Consider a database that records information for a simplified debit/credit card environment including the following:

Every customer has a name, address, SSN and a unique customer ID.

There are two types of cards: debit cards and credit cards.

Each debit/credit card account has one holder.

Every credit card is identified by its card number and has an expiration date. The current balance and the limit should also be recorded. Credit cards accumulate charges with merchants. Each charge is identified by the date and time of the charge as well as the primary keys of merchant and credit card.

Every debit card is identified by its card number and has an expiration date. The current available amount of money in the card should be recorded.

Merchants are identified by their IDs. Their addresses are also recorded in the database.

a) Draw the E-R diagram

b) Convert the E-R diagram to a relational database schema

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

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Eric Redmond ,Jim Wilson

1st Edition

1934356921, 978-1934356920

More Books

Students also viewed these Databases questions