Question: 1. What is functional dependency, partial functional dependency and transitive functional dependency? 2. Why normalization is important for database design? 3. What are the two

1. What is functional dependency, partial functional dependency and transitive functional dependency?

2. Why normalization is important for database design?

3. What are the two typical structure arrangements?

4. Write a pseudocode for the sorting algorithm (i.e., put a list of numbers into an order).

II. (1 mark) SQL advanced SQL

a) Declare a cursor of the room table containing all hotel numbers and hotel names

b) Open the above cursor and use it to generate the hotel numbers and names one by one

c) Release the above cursor

d) Create a stored procedure to update the room prices in hotel Hilton by 6% and in other hotels by 4%.

e) Use the above procedure to update the room prices.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!