Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Database Management System Lab (BCAC-491)

Date: 14.05.24
Lab Assignment
Hotel (Hno, Hname, Haddress)
Room ( Rno, Hno, Type, Charge)
Booking (Hno, Gno, Rno, Date_from, Date_to)
Guest (Gno, Gname, Gaddress)

1. Create a table with above schema.


2. Describe the structure of the table.
3. Insert 10 rows in the above table.
4. Show the inserted values of all tables.
5. List full details of all hotels.
6. List full details of all hotels in Kolkata.
7. List the names and address of all guest in London alphabetically order by name.
8. List all double or family rooms with the price below 400 rupees per night in ascending
order of price.
9. How many hotels are there?
10. What is the average price of a room?
11. How many different guest have made booking for August?
12. List the price and type of all rooms at sunrise hotel.
13. List the number of rooms in each hotel.
14. List the number of rooms in each hotel in Kolkata.
15. What is the total revenue per night from double room.

You might also like