The table below provides osme sample data for an agency called Hotel Services supplies part- time/temporary staff to hotels within Strathclyde region. The relation in Figure 2 lists the number of hours worked by each staff at various hotels. The relation is first normal form (1NF). Assuming that a contract is for one hotel only but a staff may work in more than one hotel on different contracts,

identify the functional dependencies represented by the data in this relation.

What will be an ideal response?


![15260|527x168](upload://76BOeXDhSlCwii5XBh6dWN1uNP3.png)

Functional dependencies
(NIN, contractNo) ----> {hours, eName, hNo, hLoc}
(NIN, hNo) -----> {contractNo, hours, eName, hLoc)
contractNo -----> {hNo, hLoc}
hNo -----> hLoc
NIN ------> eName

Computer Science & Information Technology

You might also like to view...

The rectangle that defines an ellipse is called its ________.

a) bounding box b) boundary c) elliptical rectangle d) elliptical box e) ellipse boundary

Computer Science & Information Technology

You can use a form to delete records from a table

Indicate whether the statement is true or false

Computer Science & Information Technology

The properties in the Properties window are in alphabetic order.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which LCD components are powered by a high-voltage electrical circuit that can give you a nasty shock?

A. CCFL frontlights B. Convergers C. Low-voltage b-nodes D. Inverters

Computer Science & Information Technology