Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1: Entity-Relationship Diagram (ERD) (10 Points): Draw the Entity-Relationship Diagram (ERD) for your application to show the entities and relationships. Make sure to clearly

Part 1: Entity-Relationship Diagram (ERD) (10 Points):

Draw the Entity-Relationship Diagram (ERD) for your application to show the entities and relationships. Make sure to clearly show the following:

1- All entities (i.e., objects) that are needed to implement your application

2- Each entity must be identified by a primary key and described by a set of attributes.

3- List clearly all relationships between entities (Business Rules). For example, the relationship between Customer and Invoice entities is described as Each customer can have more than one invoice, however, an invoice can belong to only one customer.

4- Relationship cardinalities for all relationships in your ERD (1-to-1, 1-to-M, or M-to-M).

Part 2: Relational Schema (10 Points):

Convert the ERD that you designed in Part 1 into the corresponding relational schema. The relational schema should include the following:

Table names

Attribute names and data types

Primary keys

Foreign keys

Note: Use the tables that you identified in Project Step 1

Please make it copy and pastable

Project Hotel Booking System

Information needed I provided some table please add more.

Tables

Customer

Employee-

Rooms

Reservation-

Admin-

Please add more entitys

Customer (customer_id, customer_name, gender, city, street, state, zip_code)

Employee- (employee_id, employee_name,

Rooms (Room id, room_number, room_type)

Reservation- reservation _number, reservation_info

Admin- (admin_id, admin_name,)

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

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

More Books

Students also viewed these Databases questions

Question

=+5 Evaluate whether the CCT program was effective.

Answered: 1 week ago

Question

=+Identify the type of global assignment for which CCT is needed.

Answered: 1 week ago