Question

Henry's Bookstore Database Henry's Bookstore is a small company with four locations in the city. Henry...

Henry's Bookstore Database

Henry's Bookstore is a small company with four locations in the city. Henry has struggled with MS Excel mainly because he was trying to use spreadsheet software as a database, when in fact he should have been using a database.

Requirements

  • Create all of the entities needed for the Physical ERD
  • Specify the columns/attributes needed in each entity along with the data type and size of each attribute.
  • Specify the Primary Key(s) and Foreign Key(s) for the attributes within the entities.
  • Draw the relationships among the entities. Specify the cardinality of the relationship. (One to One, One to Many, etc.)

1. Using the online Lucidchart software, design the database based on the entities that Henry has provided you. You should create a Physical Entity Relationship Diagram (ERD) that will capture how these entities will be related to each other. The entities are shown below.

Key

Book Entity

Data Type

Size

BOOK_CODE

Integer

5

TITLE

Character

75

PUBLISHER_CODE

Integer

5

TYPE

Character

20

PRICE

Decimal

5.2

PAPERBACK

Character

1

Key

Author Entity

Data Type

Size

AUTHOR_NUM

Integer

5

AUTHOR_LAST

Character

30

AUTHOR_FIRST

Character

40

Key

Branch Entity

Data Type

Size

BRANCH_NUM

Integer

4

BRANCH_NAME

Character

20

BRANCH_LOCATION

Character

30

NUM_EMPLOYEES

Integer

4

Key

Inventory Entity

Data Type

Size

BOOK_CODE

Integer

5

BRANCH_NUM

Integer

4

ON_HAND

Integer

5

Key

Publisher Entity

Data Type

Size

PUBLISHER_CODE

Integer

5

PUBLISHER_NAME

Character

40

CITY

Character

40

Key

Wrote Entity

Data Type

Size

BOOK_CODE

Integer

5

AUTHOR_NUM

Integer

5

SEQUENCE

Integer

2

2. Authors write books and many authors can write one book. (this is why we have the Wrote Entity)

3. A specific book title is provided by only one publisher.

4. Copies of the same book can exist at more than one location for Henry's Bookstore.

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Branch Num Branch Name Branch Location Num of Employees Book Code Title Publisher Code Author Num Publisher Name Author Last Author First City Sequence paper Back Price On hand
Add a comment
Know the answer?
Add Answer to:
Henry's Bookstore Database Henry's Bookstore is a small company with four locations in the city. Henry...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • create an ERD for a small book store . The owner would like to database to...

    create an ERD for a small book store . The owner would like to database to keep track of Books, Authors, and Publisher only (hint: do these sound like entities?). Create appropriate attributes, keys, relationships, and data types.   Keep in mind that Many-to-Many relationships should not be implemented in the database. These relationships should be broken into One-to-Many relationships using Associative Entities.  

  • MYSQL Questions: 1.For every author, display the number of books written by that author that is...

    MYSQL Questions: 1.For every author, display the number of books written by that author that is carried by Henry Books. Display the author number as ‘Author Number’, author name concatenated (first last) as ‘Author Name’, and the total number of books written by the author as ‘Number of Titles by Author’. List in descending order by author number. Limit the output to 10 rows. Insert your snip of the query and resultset together here. 2.Using a function, what are the...

  • MYSQL: Question: 1.Using a function, what are the lowest price books found in paperback? Only return...

    MYSQL: Question: 1.Using a function, what are the lowest price books found in paperback? Only return the lowest price books. Display the book code as ‘Book Code’, the book title as ‘Title’, author name concatenated (first last) as ‘Author Name’ and price as ‘Price’. Insert your snip of the query and resultset together here. 2. Display the number of publishers by city.   Display the city as ‘City’ and the number of publishers in that city as ‘Number of Publishers’. Insert...

  • Describe briefly a database application case of your choice and represent your data in terms of...

    Describe briefly a database application case of your choice and represent your data in terms of 3 linked (via foreign key/s) tables. List their respective primary key and foreign key/s if any. Your database application case should be different from those already covered in the lectures or practicals. For the database case in the Additional Exercises of the previous practical, complete the proper construction of all the 5 tables in SQL, building all the pertinent primary and foreign keys there....

  • c) Write an ER Diagram for the following Library database. Identify all the Entities, Relationships and Attributes. Underline the primary keys and mark the different constraints. You can add an I att...

    c) Write an ER Diagram for the following Library database. Identify all the Entities, Relationships and Attributes. Underline the primary keys and mark the different constraints. You can add an I attribute as a primary key for an entity to make t unique if necessary. Library has a number of branches in the city, each branch having a name, address and librarian. Books have title, authors and publisher. A book can have multiple authors but a single publisher. Note that same...

  • How would you use this stored procedure to change the price of any copy of book 0180 whose format...

    How would you use this stored procedure to change the price of any copy of book 0180 whose format is paperback to $10.95? using MYSQL 8.0 Command line Client This is the database script for the homework above CREATE DATABASE HENRY; USE HENRY; CREATE TABLE AUTHOR (AUTHOR_NUM DECIMAL(2,0) PRIMARY KEY, AUTHOR_LAST CHAR(12), AUTHOR_FIRST CHAR(10) ); CREATE TABLE BOOK (BOOK_CODE CHAR(4) PRIMARY KEY, TITLE CHAR(40), PUBLISHER_CODE CHAR(3), TYPE CHAR(3), PRICE DECIMAL(4,2), PAPERBACK CHAR(1) ); CREATE TABLE BRANCH (BRANCH_NUM DECIMAL(2,0) PRIMARY KEY,...

  • In Module Four, submit a systems analysis for your project, including a comprehensive entity-relationship diagram (ERD)....

    In Module Four, submit a systems analysis for your project, including a comprehensive entity-relationship diagram (ERD). Although you may use any tool to complete the ERD, it is strongly recommended that you use Microsoft Visio and then save the diagram into an image format (GIF or JPG) and then copy and paste the image into your systems analysis. All sections of this milestone should be compiled into a single Word document. Furthermore, all of Milestone One should be included in...

  • Wally Los Gatos and his partner Henry Chordate have formed a new limited partnership, Fin and...

    Wally Los Gatos and his partner Henry Chordate have formed a new limited partnership, Fin and Finicky Security Consultants. Fin and Finicky consults with corporations to determine their security needs. You have been hired by Wally and Henry to design a database management system to help them manage their business. Due to a recent increase in business, Fin and Finicky has decided to automate their client tracking system. You and your team have done a preliminary analysis and come up...

  • New to DB's Please help! You are designing and creating a database named COMPANY for an HR (Human Resource) Dept of...

    New to DB's Please help! You are designing and creating a database named COMPANY for an HR (Human Resource) Dept of a Software Consulting Company to manage their employees and their assigned work (projects) in the company First Step to Design and Create a Database is Creating an E-R Diagram by Identifying Entities, Attributes and Relationships between any two Entities to Create a Company Database Scheme. 1. Create an E-R Diagram for the Company database from the raw data files...

  • Due to your experience in designing the database for the "Legendary League" game, you have been...

    Due to your experience in designing the database for the "Legendary League" game, you have been asked to design the ER diagram for a bigger database to manage the events for the "Legendary League" eSports Oceanic Championship (OC). The requirements are as follows: Registered teams compete in the OC. Each team has a name, and a number of team members. A team also maintains a rank throughout the OC, reflecting how well it is doing in the championship. Team members...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT