WHY STUDENT PREFER US?  
4.9/5

5 Star Rating

93940

Orders Deliver

3949

PhD Experts

24x7

Support

100%

Privacy

100%

Top Quality

Sample Details

Database Management System Enhanced Entity Relationship

Number Of View : 12

Download : 0

Pages: 2

Words : 395

Question :

 

Design, using the notation of the slides, an Enhanced Entity Relationship (EER) diagram.

 

Answer :

 

The assumptions for the design of the Enhanced Entity Relationship diagram and the database system for the Hotel system are taken with the following points.

• Each entity must have the key attributes either primary, alternate and derived.

• The derived attributes should to referenced key attribute from the related entity

• Strong entity must have the primary key attribute

• Week Entity must have the derived attribute which must be key for week entity

• Booking entity must be included n conceptual model of database

• Booking should be strong entity and bookingID should be primary key

• The derived or referential integrity of Booking is RoomNo which is derived from Room Entity

 

This entity is very important in context of the hotels to perform the functional aspects of the hotel bookings from the customers. The booking of the rooms of the hotel gives the allocation of the room to the customer in database to further find out the booked and vacant rooms with detailed information check in and check out times. The common attributes for the booking entity are presented as follows.

Above transformation of the relations of Booking database system is lossless and dependency preserving. The justification for lossless and dependency preserving decomposition for the Booking are given below.

1. Union of all the attributes of relations Passenger, Flight, and Booking must be equal to attributes of Booking.

Above shows that all the attributes of Booking are preserved after decomposition, so that it can be said that the decomposition is lossless and dependency preserving.

 

The cross product is very expensive because it matches each record of E1 with each of the record of E2. Let E1 has m records and E2 has n records then total entries would be m x n. if the selection operation is applied then we scan through m x n entries to find out the suitable which satisfies the condition ɵ. Therefore, it is optimal to use ɵ join which selects only those entries in the cross product that satisfies the theta condition without evaluating the entries cross product first.

 

Here applying ɵ1 intersection ɵ2 is very expensive. Therefore, filtering out the records satisfying condition ɵ2 and then applying the condition ɵ1 as outer selection which results fewer records. This reduce the process time so that it can be extended to two or more selections.

Finally, the optimized query is represented by following query tree.

 

Place Order For A Top Grade Assignment Now

We have some amazing discount offers running for the students

Order Now

Get Help Instantly

    FREE FEATURES

    Limitless Amendments

    $09.50 free

    Bibliography

    $10.50 free

    Outline

    $05.00 free

    Title page

    $07.50 free

    Formatting

    $07.50 free

    Plagiarism Report

    $10.00 free

    Get all these features for $50.00

    free

    Latest Blog Boost your grades with expert tips and tricks from our academic blog.

    Revising-Your-Own-Academic-Writing-A-Checklist-.jpg

    Revising Your Own Academic Writing: A Checklist

    Revising your own academic writing is not just about correcting grammar. Before the submission of your academic paper, you need to review your thesis statement, […]

    What-To-Do-If-Youre-Accused-of-Plagiarism-A-Guide-to-Protecting-Academic-Integrity-.jpg

    What To Do If You’re Accused of Plagiarism: A Guide to Protecting Academic Integrity

    If you are accused of plagiarism, remain calm, analyze the evidence, understand your university’s policies, preserve all your academic papers and sources, and respond honestly. […]

    How-to-Write-a-Methodology-Section-.jpg

    How to Write a Methodology Section

    A good methodology describes how and why research was done. For writing the methodology section of a research paper, first select a method suitable for […]

    View More Blogs

    Ready to Boost Your GPA?

    Join over 100,000 students who have score their target grades with verified PhD experts — human-written, rubric-matched, on time submission.

    Secure Payments: Visa Mastercard PayPal
    AmEx
    Stripe
    256-bit SSL GDPR Compliant DMCA Protected
    Academic Integrity & Disclaimer
    Great Assignment Help is an academic tutoring and reference service (Est. 2016). All work — including essays, dissertations, case studies, and research papers — is intended solely as reference material and learning guidance. Students must not submit our work as their own; doing so may violate your institution's academic integrity policy. Prices are starting rates and may vary by level, subject, and deadline. Results may vary. Data stored on encrypted U.S. servers (AWS, SOC 2). Not affiliated with any university. Read our Honor Code, Terms, and Privacy Policy before ordering.
    © 2016– GreatAssignmentHelp Inc. All rights reserved. "GreatAssignmentHelp" is a registered trademark. Unauthorized reproduction of site content is subject to DMCA takedown.
    3