Assignment 1
Assignment 1
SWS 213
Assignment 1
Description
This lab is an individual assignment. In other word, the submitted solution should be your
individual work.
To answer questions group study and group chat are extremely recommended.
Remember if you copy the solution from other student you will not credited and will be
penalized accordingly.
Exercise
Use Oracle SQL Developer to create the following tables and insert some records in each table.
where Hotel contains hotel details and hotelNo is the primary key;
Room contains room details for each hotel and (roomNo, hotelNo) forms the primary key;
Booking contains details of the bookings and (hotelNo, guestNo, dateFrom) forms the primary key;
and Guest contains guest details and guestNo is the primary key.
Submission
Template to be submitted by a Microsoft Word document. The Name of the document should be:
Lastname_Firstname_Lab1.docx
First Name:
Last Name:
Student Id:
1. “Columns”
2. “Data”:
3. “Model”:
4. “Constraints”:
5. “Indexes”:
6. “SQL”: (this is text data; thus copy text and past it here)