Question

Consider the following legal instance of a database: A B C D E ‘a’ 11 3...

Consider the following legal instance of a database:

A

B

C

D

E

‘a’

11

3

‘XY’

123

‘aa’

11

7

‘XY’

234

‘abc’

22

15

‘XY’

345

‘a’

22

16

‘XY’

456

Can the following functional dependency hold?

A --> B

Homework Answers

Answer #1

The logic behind functional dependency holding is that for a given Left Hand Side (LHS) value of an attribute (or set of attributes) of a functional dependency, there should be at most one Right Hand Side (RHS) value of an attribute (or set of attributes). Then we would say that the functional dependency holds on that relation.

In the given relation A --> B, we see that the attribute 'a' of A has two values '11' and '22' in B, so in this relation, functional dependency doesn't hold.

(Feel free to give an upvote or comment if you have any doubts)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Please quesiton on database function dependency: Suppose we have relation R (A, B, C, D, E),...
Please quesiton on database function dependency: Suppose we have relation R (A, B, C, D, E), with some set of FD’s , and we wish to project those FD’s onto relation S (A, B, C). Give the FD’s that hold in S if the FD’s for R are: c) AB --> D, AC --> E, BC --> D, D --> A, and E --> B. d) A --> B, B --> C, C --> D, D --> E, and E...
Please answer ASAP Database Consider the relation scheme R = {A, B, C, D, E} with...
Please answer ASAP Database Consider the relation scheme R = {A, B, C, D, E} with the FDs A --> BC CD --> E Consider the following decompositions: (4.a) R1 = {A, B, C} and R2 = {C, D, E} (4.b) R1 = {A, B, C} and R2 = {A, D, E} (4.c) R1 = {A, B} and R2 = {A, C, D, E} (4.d) R1 = {A, B, C}, R2 = {C, D, E} and R3 ={A, D}. For...
4. Consider the relation schema R(ABCDE) with the set of functional dependencies F={B→E, A→B, DE→C, D→A,...
4. Consider the relation schema R(ABCDE) with the set of functional dependencies F={B→E, A→B, DE→C, D→A, C→AE}. For the following relations resulting from a possible decomposition of R, identify the non-trivial functional dependencies which can be projected to each of the decomposed relations. a) S(ABC) b) T(BCE) c) U(ABDE
a = [-5, -3, 2] b = [1, -7, 9] c = [7, -2, -3] d...
a = [-5, -3, 2] b = [1, -7, 9] c = [7, -2, -3] d = [4, -1, -9, -3] e = [-2, -7, 5, -3] a. Find (d) (e) b. Find (3a) (7c) c. Find Pe --> d d. Find Pc --> a +2b ex. C = |x|(xy/xy) C = xy/|x| ex. P x --> y = Cux = C(xy/x) (1/|x|) (x) =( xy/yy)(y)
Consider the following mechanism. 2A <-----> B+C Equillibrium B+D-----> C Slow ---------------------------------- 2A+D-----------> C+E Determine the...
Consider the following mechanism. 2A <-----> B+C Equillibrium B+D-----> C Slow ---------------------------------- 2A+D-----------> C+E Determine the rate law
Given the following data set: X: 3 7 9 11 15 Y: 11 16 16 16...
Given the following data set: X: 3 7 9 11 15 Y: 11 16 16 16 16 a. Find the correlation coefficient. b. What is the regression equation? c. Using the regression to predict the value of Y when X = 11. d. What is the predicted residual when X = 11? e. Find the root mean square error.
         d          - a     b    c           +    e    Consider the...
         d          - a     b    c           +    e    Consider the arrangement of two fixed point charges, equal in magnitude, shown in the figure. Which of the following statements are correct for the initial motion of a third charge if it is released from rest in the vicinity of the two charges shown? (Correct or incorrect) A positive charge at point d will accelerate up. A negative charge at point b will accelerate down. A...
Find variance of the following stocks A,B and C: Stock A B C 1 3 19...
Find variance of the following stocks A,B and C: Stock A B C 1 3 19 -2 2 5 17 4 3 7 15 0 4 9 13 8 5 11 11 12 6 13 9 14 8 15 7 -8 9 17 5 16 10 19 3 20
Consider the following symbols and their frequencies: a:1, b:2, c:3, d:4, e:5, f:6 What is the...
Consider the following symbols and their frequencies: a:1, b:2, c:3, d:4, e:5, f:6 What is the amount of bits needed per character for a balanced tree encoding.
1. Consider the following tables in a relational database. Provide the appropriate "SELECT" SQL statement necessary...
1. Consider the following tables in a relational database. Provide the appropriate "SELECT" SQL statement necessary to answer the queries that follow. Primary keys are underlined and foreign key fields have an asterisk at the end of the field. CUSTOMERS (CUST-NO, C-NAME, C-ADDRESS, BALANCE) SALESPERSONS (SP-NO, S-NAME, DATE-EMPLOYED, SALARY) SALES (INVOICE-NO, DATE, CUST-NO*, SP-NO*) a) List the salesperson name and salary for all sales to customers whose balance outstanding is greater than 20000. b) List the names and addresses of...