Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Happy Books is a brick and mortar store that sells books. For each book in their database, the store wants to keep the ISBN, book

Happy Books is a brick and mortar store that sells books. For each book in their database, the store wants to keep the ISBN, book name, author, publisher, genre, and a description. Each genre has its own section in the store along with a description. Happy's remains competitive by frequently offering discounts. Each discount has a numeric identifier, a name (e.g. The Mystery Deal), the percentage savings, and optionally a genre to which the deal is restricted. Each deal should have a start and end date. Happy's also wants to keep track of each book sold. This should include the date, name of the employee who sold it, and the book that was sold. There should also be a field to store the discount identifier if one was used. Only one discount may be applied per transaction. A list of employees should be maintained, including an id, name, role, and hourly wage.

Assignment: Create an ERD and schema based on the description above. Be sure identify clearly Primary Keys (PK), Candidate Keys (CK), and Foreign Keys (FK).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions