Ask Experts Questions for FREE Help !
Ask
    lawal201's Avatar
    lawal201 Posts: 1, Reputation: 1
    New Member
     
    #1

    May 22, 2008, 06:20 AM
    Is This Normalisation Correct?
    Please I have these tables below, could somebody help me with the normalisation in the third normal form.


    1. Employee: Username, and Password

    2. Guest: Guest No, Name, Address, Telephone Number, confirm

    3. Room Details: Room No, Room Type, Room Rate, Status

    4. Reservation: Reservation NO, Reservation Date, Expiry Date, Arrival Date, Departure Date

    5. Report: Billing No, Reservation Date, Arrival Date, Departure Date, Total Amount

    6. Allocation/Registration: Allocation No, Allocation Date, Arrival Date, Departure Date, comment

    7. Billing: Billing No, Facility Type, Billing Rate, Total




    It is about computerisation of front office of hotel, where by customer make reservation through telephone or by going to the hotel, how to allocate rooms, billings and reports.

    Thanks
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    May 22, 2008, 06:36 AM
    First, let me say that a reservation system, especially for a hotel, is probably the hardest database to design. If this is for a real life situation I would recommend buying a software package already setup for this task.

    The main thing I see wrong with your structure is you have no relations set up. It should look more like this:

    1. tblEmployees: EmployeeID (P Autonumber), Username, Password

    2. tblGuests: GuestID (PK Autonumber), FirstName, LastName, Address, Telephone Number, confirm

    3. tblRooms: RoomID (PK Autonumber), RoomNo, RoomTypeID, RoomRate

    4. tblReservations: ReservationID (PK Autonumber), GuestID (FK), ReservationDate, ExpiryDate, ArrivalDate, LengthofStay, CheckInTime, DepartureDate, RoomID (FK)

    5. Report: Billing No, Reservation Date, Arrival Date, Departure Date, Total Amount (not sure what this is, doesn't seem right)

    6. Allocation/Registration: Allocation No, Allocation Date, Arrival Date, Departure Date, comment (unnecessary)

    7. Billing: Billing No, Facility Type, Billing Rate, Total (don't understand this)

    8. tluRoomtYpes: RoomTypeID (PK Autonumber), RoomType

    Your Reservations table should be the central table. You need to have the GuestID as a foreign key. You would turn a reservation into a stay, by entering a CheckinTime and assigning a Room number.
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #3

    May 22, 2008, 04:40 PM
    Please don't use e-mails for follow-up. Posts your response to this thread.

    I think you missed my point. I don't see the purpose of those three tables. So I don't know how they fit in.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Matching up the correct capacitor with the correct condenser fan motor? [ 4 Answers ]

How crucial is it to match the right capacitor to the right condenser fan motor? If you have the wrong capacitor, can this cause the motor to stop after running for a while, say 20 or 40 minutes? It would start up again, but would allways stop. The specs for the motor are: Emerson E-line, model no...

If the correct answer is May cgs, $15,500 how is the answer correct need to see work [ 1 Answers ]

P23-A The budget committee of Vinning office supply Co. Has assembled the following data. As the business manager, you must prepare the budgeted income statements for May and Jun 2006. A. Sales in April were $42,100.. You forecast that monthly sales will increase 2.0% in May and 2.4% in June.

Which is correct? [ 5 Answers ]

Which pair of accounts follows the rules of debit and credit in the same manner? a. Revenues from services and Equipment b. Prepaid rent and Advertising Expense c. Repair Expense and Notes Payable Common stock and Rent Expense

Is this correct? [ 14 Answers ]

My partner just got back from his third trip to the doctors. He has been feeling unwell for almost 2 months now and isn't getting batter. The short story is, the doctor said (after a blood test) that he has a high white blood cell count. He got the results back 2 weeks ago, the doctor told him it...

Do I need to correct my W2 [ 1 Answers ]

Hi TaxExpert, I have been working in the US from March 2006 and my wife joined me in August. I got my W2 with taxable marital status as Single. Can I go ahead with filing my returns with this W2 (beacuse now it is too late to get it corrected). Please help me out... Thanks...


View more questions Search