Database Project Name Term Project - Report Sample Table of Contents with Info Database Project Name Course Section: CS XXXXXXXXXX8x Summer, 2020 Prepared by First Name Last Name XX/XX/2020 Database...

1 answer below »
The bookstore is just an example. I need a database on hotel management system - I am in America so everything would be in dollars, AC only and the variability in rooms would be smoking/non-smoking.


Database Project Name Term Project - Report Sample Table of Contents with Info Database Project Name Course Section: CS605.641.8x Summer, 2020 Prepared by First Name Last Name XX/XX/2020 Database Design Project Document Table of Contents 1.Introduction4 1.1.Scope and Purpose of Document4 1.2.Project Objective4 2.System Requirements4 2.1Hardware Requirements4 2.2Software Requirements4 2.3Functional Requirements4 2.4Database Requirements4 3.Database Design Description4 3.1Design Rationale4 3.2E/R Model4 3.2.1Entities5 3.2.2Relationships5 3.2.3E/R Diagram5 3.3Relational Model5 3.3.1Data Dictionary5 3.3.2Integrity Rules5 3.3.3Operational Rules5 3.3.4Operations5 3.4Security5 3.5Database Backup and Recovery5 3.6Using Database Design or CASE Tool6 3.7Other Possible E/R Relationships6 4.Implementation Description6 4.1Data Dictionary6 4.2Advanced Features6 4.3Queries6 4.3.1Customer Bills6 4.3.2Customer Rental History6 4.3.3Movie Rental History6 4.3.4List all videos by movie category6 4.3.5List video usage by movie category6 4.3.6List videos by format (Laser Disc or VHS)6 4.3.7List defective videos7 4.3.8List twenty popular videos by category for customers’ recommendations7 5.CRUD Matrix7 5.1List of Entity Types7 5.2List of Functions7 6.Concluding Remarks7 Appendices8 References8 (Note: Please provide some inputs for the sections in your DB design document template even though some of them may not be suitable for your project. The purpose for all different sections is to ask you to think about different perspectives of a database project. If a section does not apply to your project, you should make something up. Please do not skip them. For instance, Database Backup and Recovery is commonly implemented in a real database project. Even if you do not implement it, most RDBMSs may have incorporated backup and recovery tools into their interfaces and infrastructure. Give a short description of your RDBMS solution to demonstrate your thought process.) 1. Introduction Explain your database project at high-level and/or why you choose this database topic. 1.1. Scope and Purpose of Document Your document discusses the requirements, design, and implementation of your database. You can elaborate each section in your document that will be covered. Or you can describe the scope of your database project. The purpose of this document serves as a written record to demonstrate the thinking process regarding the conceptual design, logical design, and implementation of the database, and to summarize the features implemented by you. (Note, this document is a part of the requirements of the term project; the template helps you to go through documenting pieces of database design project.) 1.2. Project Objective Describe project objective. For instance, your project involves designing and implementing a database, using a relational DBMS that captures all informational aspects of the operations you plan to do for an organization or business entity. 2. System Requirements General System requirements 2.1 Hardware Requirements Min. requirements for memory, CPU etc. 2.2 Software Requirements Min. OS requirements/Any particular software that is required to run this application (e.g. MS Access) or, for web-based application, any particular browser version? 2.3 Functional Requirements Functionality the application supports 2.4 Database Requirements What database was used in this project? What version? 3. Database Design Description General database design descriptions 3.1 Design Rationale Why did you choose a particular ER design? Think about how your database design may be challenged and how you can defend your design. For example, did you use artificial primary keys and why? Why did you choose non-identifying relationship for two entities when it could be modeled as identifying relationship? Why? 3.2 E/R Model General E/R model descriptions 3.2.1 Entities Detailed descriptions of the entities 3.2.2 Relationships Detailed descriptions of the relationships 3.2.3 E/R Diagram E/R diagram 3.3 Relational Model 3.3.1 Data Dictionary Detailed descriptions of the metadata for the model. For example: Column Name Description Data Type Size Constraint Type Not Null? Valid Values SSN Social Security Number Varchar 9 Primary Key Y 9 numeric digits 3.3.2 Integrity Rules How did you handle the mandatory fields, data formatting/conversion, and valid values for the data? How are the referential integrity established? For example, which table references which other table(s)? 3.3.3 Operational Rules What are the constraints for some operations? For example, will the users be able to delete a patron’s information if he/she has outstanding videos? Can a patron be associated multiple records of checked-out videos? Will the application allow the users to enter a patron if the patron has the same first name and last name as an existing patron in the system? 3.3.4 Operations Describe what operations are involved for a particular use case. For example, does checking out videos involve insert/delete/update/retrieve? 3.4 Security Any security requirements and how are they addressed in the application? 3.5 Database Backup and Recovery Explain any database backup and recovery you may implement. Most RDBMSs may have incorporated backup and recovery tools into their interfaces and infrastructure. You may give a short description of. 3.6 Using Database Design or CASE Tool Software engineering tools provide automated or semiautomatic support for software development. A CASE (Computer-Aided Software Engineering) tool sometimes is more important than hardware for achieving good quality and productivity. Describe the tools you used to produce the artifacts for your project. 3.7 Other Possible E/R Relationships What were the other alternatives you considered when you designed your database? 4. Implementation Description General implementation requirements 4.1 Data Dictionary Data dictionary after you have your database set up. This dictionary is less detailed than the one in the previous section. Usually, a “DESCRIBE” operation in your database will provide the information needed for this section. If your RDBMS has a tool to show data dictionary; it is also fine too. 4.2 Advanced Features Describe any triggers, stored procedures, functions, or others used in the project to implement business rules specified in your database project. (For extended features, you may include user interfaces with screen shots if you have implemented a database application. You may include any special work such as reporting or data visualization tools you have done for your project that are not covered in this database design template.) 4.3 Queries General query information (Your specific database queries or reports) 4.3.1 Customer Bills How did you query customer bills? Provide SQL statements. 4.3.2 Customer Rental History Same as above. 4.3.3 Movie Rental History Same as above. 4.3.4 List all videos by movie category Same as above. 4.3.5 List video usage by movie category Same as above 4.3.6 List videos by format (Laser Disc or VHS) Same as above. 4.3.7 List defective videos Same as above 4.3.8 List twenty popular videos by category for customers’ recommendations Same as above 5. CRUD Matrix CRUD matrix as described in one presentation by Dr. Kung 5.1 List of Entity Types 5.2 List of Functions 6. Concluding Remarks Lessons learned and strengths and weaknesses, what you may add to the database project if you have more time. Appendices Additional information, such as known defects Appendix A - DDL, INSERT, SELECT Statements CREATE statements for creating database objects; INSERT statements to populate test data into the database; SELECT statements to display the test data Appendix B - Data Dictionary Index Index to the data dictionary (e.g., column_name in alphabetical order, table_name)) References Reference material Page 1 of 8 Page 2 of 2 Page 1 of 2 Database Term Project (Sample) A Bookstore Design and implement a database, using a relational and SQL-based DBMS, that captures all informational aspects of a bookstore: A bookstore will encompass the typical operations of a bookstore, including maintaining inventory, supporting the ordering process, gathering customer information, and customer service. The proposed database system includes the following functional requirements: • Track the current inventory of books using the International Standard Book Number (ISBN) • Add or edit records by bookstore employees • Place of one or more selected items in the customer’s shopping cart • Enable customers to view items in their shopping carts • Login for existing customers or register new customers who decide to place an order • Gather information from the customer needed to complete the order (e.g., payment and delivery methods, etc.) • Issue an order confirmation for each order • Keep track of shipments and charges by shipping invoice • Enable the staffs to generate ordering statistics for internal research, including monthly, quarter and annual sales • Enables the staffs to pull out the order with customer’s last name • Acquire of information for establishing a customer profile (name, address, phone, etc.) when customers create a customer account • Collect customer’s credit card information either at the time they establish their account, or when placing their order • Allow customers to update their own account information (name, address, phone, credit card, etc.) • Collect customer’s comments by providing a form with a multiple-choice section (unsatisfied, fair, good, or excellent) • Generate reports: o Annual, Monthly, and Quarterly Sales Report o Author, Publisher, and Book Information o Reorder Report o Customer Expenditure Report o Customer/Number of Orders o Books Returned within the past 30 days o Unsatisfied Customers Information You will use a given template for your database documentation. Your project documentation should include the database E/R model, the database dictionary, CRUD matrix and content, your design rationale, sample retrievals/updates and their corresponding output. A database application with a graphical user interface is not required. However, it is recommended that you can implement advanced database features such as triggers, stored procedures, functions, Page 2 of 2 Database Term Project (Sample) or others to demonstrate your advanced database knowledge on handling your database business rules. Your project will be graded on completeness, correctness, originality, unique design and/or advanced features, characteristics, and implementation.
Answered 2 days AfterAug 10, 2021

Answer To: Database Project Name Term Project - Report Sample Table of Contents with Info Database Project Name...

Shweta answered on Aug 12 2021
148 Votes
89461Solution/ERDiagram.pdf
addresses
address_id INT(11)
address_line1 VARCHAR(100)
address_line2 VARCHAR(100)
city VARCHAR(45)
state VARCHAR(45)
country VARCHAR(45)
zipcode VARCHAR(8)
Indexes
bookings
booking_id INT(11)
booking_date DATETIME
duration_of_stay VARCHAR(10)
check_in_date DATETIME
check_out_date DATETIME
booking_payment_type VARCHAR(45)
total_rooms_booked INT(11)
hotel_hotel_id INT(11)
guests_guest_id INT(11)
employees_emp_id INT(11)
total_amount DECIMAL(10,2)
Indexes
department
department_id INT(11)
department_name VARCHAR(45)
department_description VARCHAR(100)
Indexes
employees
emp_id INT(11)
emp_first_name VARCHAR(45)
emp_last_name VARCHAR(45)
emp_designation VARCHAR(45)
emp_contact_number VARCHAR(12)
emp_email_address VARCHAR(45)
department_department_id INT(11)
addresses_address_id INT(11)
hotel_hotel_id INT(11)
Indexes
guests
guest_id INT(11)
guest_first_name VARCHAR(45)
guest_last_name VARCHAR(45)
guest_contact_number VARCHAR(12)
guest_email_address VARCHAR(45)
guest_credit_card VARCHAR(45)
guest_id_proof VARCHAR(45)
addresses_address_id INT(11)
Indexes
hotel
hotel_id INT(11)
hotel_name VARCHAR(45)
hotel_contact_number VARCHAR(12)
hotel_email_address VARCHAR(45)
hotel_website VARCHAR(45)
hotel_description VARCHAR(100)
hotel_floor_count INT(11)
hotel_room_capacity INT(11)
hotel_chain_id INT(11)
addresses_address_id INT(11)
star_ratings_star_rating INT(11)
check_in_time TIME
check_out_time TIME
Indexes
hotel_chain
hotel_chain_id INT(11)
hotel_chain_name VARCHAR(45)
hotel_chain_contact_number VARCHAR(12)
hotel_chain_email_address VARCHAR(45)
hotel_chain_website VARCHAR(45)
hotel_chain_head_office_address_id INT(11)
Indexes
hotel_chain_has_hotel
hotel_chains_hotel_chain_id INT(11)
hotels_hotel_id INT(11)
Indexes
hotel_services
service_id INT(11)
service_name VARCHAR(45)
service_description VARCHAR(100)
service_cost DECIMAL(10,2)
hotel_hotel_id INT(11)
Indexes
hotel_services_used_by_guests
service_used_id INT(11)
hotel_services_service_id INT(11)
bookings_booking_id INT(11)
Indexes
room_rate_discount
discount_id INT(11)
discount_rate DECIMAL(10,2)
start_month TINYINT(1)
end_month TINYINT(1)
room_type_room_type_id INT(11)
Indexes
room_type
room_type_id INT(11)
room_type_name VARCHAR(45)
room_cost DECIMAL(10,2)
room_type_description VARCHAR(100)
smoke_friendly TINYINT(1)
pet_friendly TINYINT(1)
Indexes
rooms
room_id INT(11)
room_number INT(4)
rooms_type_rooms_type_id INT(11)
hotel_hotel_id INT(11)
Indexes
rooms_booked
rooms_booked_id INT(11)
bookings_booking_id INT(11)
rooms_room_id INT(11)
Indexes
star_ratings
star_rating INT(11)
star_rating_image VARCHAR(100)
Indexes
89461Solution/hotel_database.mwb
document.mwb.xml








{A7CCD36D-3B79-484F-88F8-0814BB3768E9}
















0


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_chain_id
hotel_chain_id
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_chain_name
hotel_chain_name
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}


0

0






0

0
12
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_chain_contact_number
hotel_chain_contact_number
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_chain_email_address
hotel_chain_email_address
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_chain_website
hotel_chain_website
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_chain_head_office_address_id
hotel_chain_head_office_address_id
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}





0


{3CE12C72-C86B-4B98-9F9E-EBB3057DD0C9}

{41845141-E86E-4391-B65A-9ED4C7DF7E55}


0
NO ACTION
{B9FD
5FFB-DA7D-457E-A607-814F7B19B444}
1
0
0
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}

{44A53A01-78D0-4373-9B60-A14A63E4B2B2}

1
NO ACTION

fk_hotel_chains_addresses1
fk_hotel_chains_addresses1







0

0
{5B68F081-73F3-4E34-8378-2035081DEF3D}

{B6D3157B-D367-49B5-8B0F-C2ED04E0042D}


0

0
{41845141-E86E-4391-B65A-9ED4C7DF7E55}

{B6D3157B-D367-49B5-8B0F-C2ED04E0042D}



0



0
PRIMARY
1
PRIMARY
0
0



0
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}

PRIMARY





0

0
{41845141-E86E-4391-B65A-9ED4C7DF7E55}

{B9FD5FFB-DA7D-457E-A607-814F7B19B444}



0



0
INDEX
0
fk_hotel_chains_addresses1_idx
0
0



0
{D516A2A5-50DE-4F5E-9AD5-404314C993FF}

fk_hotel_chains_addresses1_idx









0


0


{B6D3157B-D367-49B5-8B0F-C2ED04E0042D}






0
0

0


InnoDB



0
0
0

0
2018-08-10 14:46

2018-08-10 16:29
0
hotel_chain
{23860ADF-D3B1-4D56-B766-C2E2C21B9D27}


hotel_chain



0


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_id
hotel_id
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_name
hotel_name
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
12
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_contact_number
hotel_contact_number
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_email_address
hotel_email_address
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_website
hotel_website
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
100
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

hotel_description
hotel_description
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_floor_count
hotel_floor_count
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_room_capacity
hotel_room_capacity
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_chain_id
hotel_chain_id
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

addresses_address_id
addresses_address_id
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

star_ratings_star_rating
star_ratings_star_rating
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.time_f

check_in_time
check_in_time
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.time_f

check_out_time
check_out_time
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}





0


{3CE12C72-C86B-4B98-9F9E-EBB3057DD0C9}

{51FE6260-95D2-48A3-A8FC-E1E4E258B2E2}


0
NO ACTION
{A7F69DC3-D2F1-464C-BA82-C2E45684CFC1}
1
0
0
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}

{44A53A01-78D0-4373-9B60-A14A63E4B2B2}

1
NO ACTION

fk_hotels_addresses1
fk_hotels_addresses1


{66314E4D-0654-4E75-BF4E-390796FBF3EB}

{4EA9D1AF-2514-46D5-B01C-23A899742D82}


0
NO ACTION
{B4E011E0-97FA-44DA-B6B5-440B6BFEDEA2}
1
0
0
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}

{AAB92399-A4BD-4320-825C-6CD9F85E6214}

1
NO ACTION

fk_hotel_star_ratings1
fk_hotel_star_ratings1







0

0
{ED8BBC82-4C55-4CC8-8600-857FDD41BCFB}

{F5A6F00C-C989-4E8E-9A59-E08D45D08D26}


0

0
{51FE6260-95D2-48A3-A8FC-E1E4E258B2E2}

{F5A6F00C-C989-4E8E-9A59-E08D45D08D26}


0

0
{4EA9D1AF-2514-46D5-B01C-23A899742D82}

{F5A6F00C-C989-4E8E-9A59-E08D45D08D26}



0



0
PRIMARY
1
PRIMARY
0
0



0
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}

PRIMARY





0

0
{51FE6260-95D2-48A3-A8FC-E1E4E258B2E2}

{A7F69DC3-D2F1-464C-BA82-C2E45684CFC1}



0



0
INDEX
0
fk_hotels_addresses1_idx
0
0



0
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}

fk_hotels_addresses1_idx





0

0
{4EA9D1AF-2514-46D5-B01C-23A899742D82}

{B4E011E0-97FA-44DA-B6B5-440B6BFEDEA2}



0



0
INDEX
0
fk_hotel_star_ratings1_idx
0
0



0
{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}

fk_hotel_star_ratings1_idx









0


0


{F5A6F00C-C989-4E8E-9A59-E08D45D08D26}






0
0

0


InnoDB



0
0
0

0
2018-08-10 14:52

2018-08-10 18:06
0
hotel
{23860ADF-D3B1-4D56-B766-C2E2C21B9D27}

        
hotel



0


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

room_id
room_id
{0F343101-4E47-4811-A60E-56FB12A0AD5E}


0

0






0

0
-1
4
-1
com.mysql.rdbms.mysql.datatype.int

room_number
room_number
{0F343101-4E47-4811-A60E-56FB12A0AD5E}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

rooms_type_rooms_type_id
rooms_type_rooms_type_id
{0F343101-4E47-4811-A60E-56FB12A0AD5E}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_hotel_id
hotel_hotel_id
{0F343101-4E47-4811-A60E-56FB12A0AD5E}





0


{11E5204A-ABDC-4913-A9F2-A0F3E8C82C1D}

{12968B67-4DD0-426C-BBEE-8B9079586B8C}


0
NO ACTION
{0AEC42D9-F768-44BF-8D81-B3857E53BB56}
1
1
0
{0F343101-4E47-4811-A60E-56FB12A0AD5E}

{4015C100-CB5F-4857-B988-D6AC2F3E7614}

1
NO ACTION

fk_rooms_rooms_type1
fk_rooms_rooms_type1


{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}

{8EE51FD7-89D9-4AB3-9360-586174D665B7}


0
NO ACTION
{343FF4B6-F012-4F24-9287-2C1D7469F4B3}
1
1
0
{0F343101-4E47-4811-A60E-56FB12A0AD5E}

{ED8BBC82-4C55-4CC8-8600-857FDD41BCFB}

1
NO ACTION

fk_rooms_hotel1
fk_rooms_hotel1







0

0
{6E37E3E1-B56D-40CE-B715-0294884C0D18}

{5213F21F-CD80-4F12-92D2-4115FF847AFD}


0

0
{12968B67-4DD0-426C-BBEE-8B9079586B8C}

{5213F21F-CD80-4F12-92D2-4115FF847AFD}


0

0
{8EE51FD7-89D9-4AB3-9360-586174D665B7}

{5213F21F-CD80-4F12-92D2-4115FF847AFD}



0



0
PRIMARY
1
PRIMARY
0
0



0
{0F343101-4E47-4811-A60E-56FB12A0AD5E}

PRIMARY





0

0
{12968B67-4DD0-426C-BBEE-8B9079586B8C}

{0AEC42D9-F768-44BF-8D81-B3857E53BB56}



0



0
INDEX
0
fk_rooms_rooms_type1_idx
0
0



0
{0F343101-4E47-4811-A60E-56FB12A0AD5E}

fk_rooms_rooms_type1_idx





0

0
{8EE51FD7-89D9-4AB3-9360-586174D665B7}

{343FF4B6-F012-4F24-9287-2C1D7469F4B3}



0



0
INDEX
0
fk_rooms_hotel1_idx
0
0



0
{0F343101-4E47-4811-A60E-56FB12A0AD5E}

fk_rooms_hotel1_idx









0


0


{5213F21F-CD80-4F12-92D2-4115FF847AFD}






0
0

0


InnoDB



0
0
0

0
2018-08-10 15:08

2018-08-10 16:32
0
rooms
{23860ADF-D3B1-4D56-B766-C2E2C21B9D27}


rooms



0


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

room_type_id
room_type_id
{11E5204A-ABDC-4913-A9F2-A0F3E8C82C1D}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

room_type_name
room_type_name
{11E5204A-ABDC-4913-A9F2-A0F3E8C82C1D}


0

0






0

0
-1
10
2
com.mysql.rdbms.mysql.datatype.decimal

room_cost
room_cost
{11E5204A-ABDC-4913-A9F2-A0F3E8C82C1D}


0

0






0

0
100
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

room_type_description
room_type_description
{11E5204A-ABDC-4913-A9F2-A0F3E8C82C1D}


0

0






0

0
-1
1
-1
com.mysql.rdbms.mysql.datatype.tinyint

smoke_friendly
smoke_friendly
{11E5204A-ABDC-4913-A9F2-A0F3E8C82C1D}


0

0






0

0
-1
1
-1
com.mysql.rdbms.mysql.datatype.tinyint

pet_friendly
pet_friendly
{11E5204A-ABDC-4913-A9F2-A0F3E8C82C1D}





0






0

0
{4015C100-CB5F-4857-B988-D6AC2F3E7614}

{9D5B3D91-E581-4DC7-928E-944EC2EEA363}



0



0
PRIMARY
1
PRIMARY
0
0



0
{11E5204A-ABDC-4913-A9F2-A0F3E8C82C1D}

PRIMARY









0


0


{9D5B3D91-E581-4DC7-928E-944EC2EEA363}






0
0

0


InnoDB



0
0
0

0
2018-08-10 15:10

2018-08-10 17:57
0
room_type
{23860ADF-D3B1-4D56-B766-C2E2C21B9D27}


room_type



0


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

booking_id
booking_id
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.datetime_f

booking_date
booking_date
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

0
10
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

duration_of_stay
duration_of_stay
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.datetime_f

check_in_date
check_in_date
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.datetime_f

check_out_date
check_out_date
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

booking_payment_type
booking_payment_type
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

total_rooms_booked
total_rooms_booked
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_hotel_id
hotel_hotel_id
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

guests_guest_id
guests_guest_id
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

employees_emp_id
employees_emp_id
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}


0

0






0

0
-1
10
2
com.mysql.rdbms.mysql.datatype.decimal

total_amount
total_amount
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}





0


{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}

{BFA7A939-1D50-4C6D-A5B1-E60C0820441C}


0
NO ACTION
{E4125135-9A19-4790-B2B1-F5702E00F7A7}
1
1
0
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}

{ED8BBC82-4C55-4CC8-8600-857FDD41BCFB}

1
NO ACTION

fk_bookings_hotel1
fk_bookings_hotel1


{8D62F542-8100-48D3-A07E-AE9C2DAD874E}

{7CD94350-33CD-452C-BFE8-CCA7EA9A496F}


0
NO ACTION
{D33CD2CF-19AD-45FF-8D3F-A03EB2456680}
1
1
0
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}

{DF664ABA-2A7C-4FF6-803C-9D580225B85F}

1
NO ACTION

fk_bookings_guests1
fk_bookings_guests1


{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}

{22BE08E8-E04E-44A5-B8B4-0FF639F20CE8}


0
NO ACTION
{3E17FEE5-09E2-49B1-B98B-EC259E41E27C}
1
1
0
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}

{4CE68D82-1908-4BF1-B527-61E7D6C89164}

1
NO ACTION

fk_bookings_employees1
fk_bookings_employees1







0

0
{B3AA939D-6509-45D4-A075-53504CEE73EE}

{72649368-B824-49B8-8867-7B9171F9F18D}


0

0
{BFA7A939-1D50-4C6D-A5B1-E60C0820441C}

{72649368-B824-49B8-8867-7B9171F9F18D}


0

0
{7CD94350-33CD-452C-BFE8-CCA7EA9A496F}

{72649368-B824-49B8-8867-7B9171F9F18D}


0

0
{22BE08E8-E04E-44A5-B8B4-0FF639F20CE8}

{72649368-B824-49B8-8867-7B9171F9F18D}



0



0
PRIMARY
1
PRIMARY
0
0



0
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}

PRIMARY





0

0
{BFA7A939-1D50-4C6D-A5B1-E60C0820441C}

{E4125135-9A19-4790-B2B1-F5702E00F7A7}



0



0
INDEX
0
fk_bookings_hotel1_idx
0
0



0
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}

fk_bookings_hotel1_idx





0

0
{7CD94350-33CD-452C-BFE8-CCA7EA9A496F}

{D33CD2CF-19AD-45FF-8D3F-A03EB2456680}



0



0
INDEX
0
fk_bookings_guests1_idx
0
0



0
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}

fk_bookings_guests1_idx





0

0
{22BE08E8-E04E-44A5-B8B4-0FF639F20CE8}

{3E17FEE5-09E2-49B1-B98B-EC259E41E27C}



0



0
INDEX
0
fk_bookings_employees1_idx
0
0



0
{7FC2CE13-44EC-4D2A-946B-2DB24861F0CC}

fk_bookings_employees1_idx









0


0


{72649368-B824-49B8-8867-7B9171F9F18D}






0
0

0


InnoDB



0
0
0

0
2018-08-10 15:11

2018-08-13 19:40
0
bookings
{23860ADF-D3B1-4D56-B766-C2E2C21B9D27}


bookings



0


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

guest_id
guest_id
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

guest_first_name
guest_first_name
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

guest_last_name
guest_last_name
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}


0

0






0

0
12
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

guest_contact_number
guest_contact_number
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

guest_email_address
guest_email_address
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

guest_credit_card
guest_credit_card
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

guest_id_proof
guest_id_proof
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

addresses_address_id
addresses_address_id
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}





0


{3CE12C72-C86B-4B98-9F9E-EBB3057DD0C9}

{F28A9F38-9CAF-4F4B-96D1-5048757E6C64}


0
NO ACTION
{5931B565-AAC3-4F25-AD50-B5759F423764}
1
0
0
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}

{44A53A01-78D0-4373-9B60-A14A63E4B2B2}

1
NO ACTION

fk_guests_addresses1
fk_guests_addresses1







0

0
{DF664ABA-2A7C-4FF6-803C-9D580225B85F}

{6D89F764-5FD0-422A-9B31-6EEA9FC7A4E5}


0

0
{F28A9F38-9CAF-4F4B-96D1-5048757E6C64}

{6D89F764-5FD0-422A-9B31-6EEA9FC7A4E5}



0



0
PRIMARY
1
PRIMARY
0
0



0
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}

PRIMARY





0

0
{F28A9F38-9CAF-4F4B-96D1-5048757E6C64}

{5931B565-AAC3-4F25-AD50-B5759F423764}



0



0
INDEX
0
fk_guests_addresses1_idx
0
0



0
{8D62F542-8100-48D3-A07E-AE9C2DAD874E}

fk_guests_addresses1_idx









0


0


{6D89F764-5FD0-422A-9B31-6EEA9FC7A4E5}






0
0

0


InnoDB



0
0
0

0
2018-08-10 15:18

2018-08-13 19:48
0
guests
{23860ADF-D3B1-4D56-B766-C2E2C21B9D27}

    
guests



0


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

emp_id
emp_id
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

emp_first_name
emp_first_name
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

emp_last_name
emp_last_name
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

emp_designation
emp_designation
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

0
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

emp_address_id
emp_address_id
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

0
12
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

emp_contact_number
emp_contact_number
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

0
45
-1
-1
com.mysql.rdbms.mysql.datatype.varchar

emp_email_address
emp_email_address
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

department_department_id
services_service_id
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

addresses_address_id
addresses_address_id
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}


0

0






0

1
-1
-1
-1
com.mysql.rdbms.mysql.datatype.int

hotel_hotel_id
hotel_hotel_id
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}





0


{CB8C8EA9-B1F1-4E95-9180-49C3896B4978}

{A569988D-D2B0-41CF-8D3E-5863B7C54CDD}


0
NO ACTION
{BF786523-647D-40B7-A0AA-26021D15A4F2}
1
1
0
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}

{1A9D1C5F-9560-4BB7-A9A4-C0238E3D6B85}

1
NO ACTION

fk_employees_services1
fk_employees_services1


{3CE12C72-C86B-4B98-9F9E-EBB3057DD0C9}

{A1DF7302-B8E9-4C5F-BD48-28072DA7A792}


0
NO ACTION
{782305CE-FB17-4B25-863A-B93AD2CDD782}
1
0
0
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}

{44A53A01-78D0-4373-9B60-A14A63E4B2B2}

1
NO ACTION

fk_employees_addresses1
fk_employees_addresses1


{94AA3504-E1BF-45F3-8F4D-9FABE83939D3}

{1D507947-3B78-470D-A11F-136E7A2F3FAC}


0
NO ACTION
{9289E9DE-4CC1-4964-BC0A-1AB2E26098A2}
1
1
0
{C88550F4-5F9A-4E21-8C56-424D6B4FE6C5}

{ED8BBC82-4C55-4CC8-8600-857FDD41BCFB}

1
NO ACTION

fk_employees_hotel1
fk_employees_hotel1






...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here