
Lab๎Task๎4๎
๎
Consider๎the๎following๎schema:๎
Hotel๎(hotelno,๎hotelname,๎city)๎
Room๎(roomNo,๎type,๎price,๎hotelno)๎
Guest๎(guestNo,๎guestName,๎guestAddress,๎roomNo)๎
๎
1. Create๎the๎above๎tables.๎
2. Insert๎rows๎in๎the๎above๎mentioned๎table.๎
3. List๎the๎price๎and๎type๎of๎all๎rooms๎at๎the๎Grosvenor๎Hotel.๎
4. List๎the๎rooms๎that๎are๎currently๎unoccupied๎at๎Grosvenor๎Hotel.๎
5. List๎hotel๎name,๎room๎type๎from๎the๎above๎schema.๎
6. List๎hotel๎details,๎room๎details๎from๎the๎above๎table.๎
7. List๎city๎of๎hotel๎and๎room๎number๎having๎price๎greater๎than๎5000.๎