Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions