Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

subject:DBMS(database management system) a) Create a view to check the hotel name, room number and the guest names who booked the room b) Select everything

subject:DBMS(database management system)

a) Create a view to check the hotel name, room number and the guest names who booked the room

b) Select everything from the view created above

c) Drop the above view

d) Create a view to check the hotel number and hotel names and the number of rooms they have.

e) Create a view to see the pair of room types and prices.

f) Create a view to see the distinct pair of room types and prices.

g) Create an index of room types and prices on the room table

h) Drop the above index

i) Create an index of the guest names

j) Create a new table including hotel information (i.e., hotel names and numbers) from the room table

k) Backup the room table

l) Insert the staff numbers and names as the guest numbers and names into the guest table. If not successful, why?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 23rd European Conference Adbis 2019 Bled Slovenia September 8 11 2019 Proceedings Lncs 11695

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Aida Kamisalic Latific

1st Edition

3030287297, 978-3030287290

More Books

Students also viewed these Databases questions