1) Create table Room Reservation for hotel management system a. Assume that the hotel classify rooms...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1) Create table Room Reservation for hotel management system a. Assume that the hotel classify rooms by the number or size of beds in the room, and there are only 6 room types: Queen, King, Twin, Hollywood twin, Double-double and Studio. Therefore, apply check constraints on RoomType column; b. ReservationID is the primary key C. GuestEmail should not be NULL d. Departure date should not be earlier than the arrival date COMP122- Introduction to Database Concepts Pg. 6 e. Name all constraints properly 2) Insert two rows to the newly created table 3) Alter the table by adding guest name and guest address 4) Set specialRequests columnas Unused... and then remove all unused columns.. 5) Modify numGuests column as NUMBER(2) and set NOT NULL RoomReservation P ReservationID Room Type * GuestEmail bookingDate: arrivalDate departure Date numGuests NUMBER (10) VARCHAR2 (10) VARCHAR2 (100) DATE DATE DATE NUMBER (1) special Requests VARCHAR2 (250) RoomReservation_PK (ReservationID) 1) Create table Room Reservation for hotel management system a. Assume that the hotel classify rooms by the number or size of beds in the room, and there are only 6 room types: Queen, King, Twin, Hollywood twin, Double-double and Studio. Therefore, apply check constraints on RoomType column; b. ReservationID is the primary key C. GuestEmail should not be NULL d. Departure date should not be earlier than the arrival date COMP122- Introduction to Database Concepts Pg. 6 e. Name all constraints properly 2) Insert two rows to the newly created table 3) Alter the table by adding guest name and guest address 4) Set specialRequests columnas Unused... and then remove all unused columns.. 5) Modify numGuests column as NUMBER(2) and set NOT NULL RoomReservation P ReservationID Room Type * GuestEmail bookingDate: arrivalDate departure Date numGuests NUMBER (10) VARCHAR2 (10) VARCHAR2 (100) DATE DATE DATE NUMBER (1) special Requests VARCHAR2 (250) RoomReservation_PK (ReservationID)
Expert Answer:
Answer rating: 100% (QA)
Heres how you can create the RoomReservation table for a hotel management system based on your requirements and perform the specified tasks 1 Create t... View the full answer
Related Book For
Management Accounting
ISBN: 978-0132570848
6th Canadian edition
Authors: Charles T. Horngren, Gary L. Sundem, William O. Stratton, Phillip Beaulieu
Posted Date:
Students also viewed these databases questions
-
Explain why there are the same number of tables in the relational model as compared to the number of entities in the logical model.
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
You name the catastrophe, and JIT has been through it and survived. Toyota Motor Corporation has had its world-renowned JIT system tested by fire. The massive fire incinerated the main source of...
-
Consider Problem 10.41 In an effort to increase the condensation rate an engineer proposes to apply a L = 100m thick Teflon coating to the exterior surface of the brass tube to promote drop wise...
-
Chuck, a single taxpayer, earns $ 7 5 , 4 0 0 in taxable income and $ 1 0 , 4 0 0 in interest from an investment in City of Heflin bonds. ( Use the U . S . tax rate schedule. ) Required: If Chuck...
-
Explain why and under what circumstances an employee handbook can be considered a contract.
-
Harris owned a farm that was worth about $600 per acre. By false representations of fact, Harris induced Pringle to buy the farm at $1,500 per acre. Shortly after taking possession of the farm,...
-
Please help me solve the error to this Matlab question 2D. Image transcription text Consider a system similar to that considered in Problem 1 but with a different transfer function: V(s) 10 G(s) =...
-
You work in the human resources department of your company helping new employees fill out the necessary paperwork to get their first paycheck. There are a number of decisions that employees must make...
-
The cash account is the most liquid account and the easiest account to manipulate or steal from. Describe an example of a weakness in a business internal control that led to cash theft or fraud.
-
Which of the following is probably the most cooperative witness? a. The subject b. The victim c. Records custodian d. The police
-
The perishability of services and variability of customer demand call for flexible working practices by front-line employees in the services sector. Identify methods of improving employee flexibility...
-
Hostile witnesses should be interviewed when? a. Setup an appointment b. Talk to the witness over the telephone c. Approach the witness unannounced d. Don't approach the witness at all.
-
Critically examine the marketing advantages and disadvantages of small-and large-scale service providers in either the hospitality sector or the provision of local bus services.
-
What are the key items to consider when arranging transportation for an athletic team?
-
5. Which of the following is a correct statement, where r(t) = (0, 1, t)? (a) [ r(t) dt = (0,t, 17). 2 (b) [ r(t)dt = (0,t) + c. 2 (c) [ r(t)dt = (0.1.) + + C. 2 (d) [ r(t) dt = (0,t) + (c.c. c)....
-
What are bounds and what do companies do with them?
-
This is an expansion of E14-8. The primary difference between the EVA and residual income measures is the increased focus on cash flow by EVA. EVA companies make several adjustments to both operating...
-
Riverside Mining and Manufacturing is a vertically integrated company that mines, processes, and finishes various non-precious metals and minerals. Riverside has decentralized both on a geographical...
-
The Sea Pines Company is planning to spend $45,000 for modernized production equipment. It will replace equipment that has zero book value and no salvage value , although the old equipment would last...
-
The position vector along a trajectory expressed in terms of the scalar distance \(s\) from the origin is given by the relation \(\mathbf{r}=\mathbf{a} s^{2}+\mathbf{b} s+\mathbf{c}\), with the...
-
A particle moves on a predetermined trajectory with the equation of motion \(s(t)=k t^{2}\), with \(k\) constant and with magnitude of the acceleration equal to \(a=2 k\). Show by using (3.74) that...
-
A particle is constrained to move on a circular guideway of radius \(R=3.00 \mathrm{~m}\), on which it can slide without friction, according to the motion equation law \(s(t)=k t^{3}\), with \(k=2.0...
Study smarter with the SolutionInn App