Question

In: Computer Science

Please question on DATABASE Function dependencey: i) S(A, B, C, D) with FD’s A --> B,...

Please question on DATABASE Function dependencey:

i) S(A, B, C, D) with FD’s A --> B, B --> C, and B --> D.

ii) T(A, B, C, D) with FD’s AB --> C, BC --> D, CD --> A, and AD --> B.

Solutions

Expert Solution

(i)

Functional dependency from A-->B means that for each values of A there will be a unique value in B. In the question we have 3 FD's so we can say that B is functionally dependent on A and C is functionally dependent on B and D is functionally dependent on B. One more important thing that you notice here that using A we can reach to each attribute. There is link from A to D directly. We can go from A to B then B to C and B to D. So the final conclusion is that A is primary key.

(ii)

In the second question AB is composite key and for unique values of AB we can find unique value in C.

Similarly BC is composite and we can get unique values in D for unique values in BC, Another FD's are CD-->A and AD-->B.

We usually avoid composite key dependency for higher degree normalization.

Normally one can Question you to normalize the tables using FD's. What is primary key? What is Super key? These are the common questions that can be asked.

DON'T FORGET TO HIT LIKE.

THANKS BY HEART.


Related Solutions

Given a Boolean function: f(a,b,c,d) = m(1,6,7,10,12)+dc(3,4,9,15). i) Design a circuit for implementing f(a,b,c,d) with ONE...
Given a Boolean function: f(a,b,c,d) = m(1,6,7,10,12)+dc(3,4,9,15). i) Design a circuit for implementing f(a,b,c,d) with ONE 4-to-1 MUX and other basic logic gates. USE a and b as select inputs. ii) Draw the circuit. iii) Write the VHDL code for a 4-to-1 MUX, named “mux_4to1”, with input: a, b, c, d, s0, s1; and output: z. iv) Write the complete VHDL code for the above circuit in part (iii), named “Boolean_MUX”.
please i need the solve for A&B&C&D&E ESPECIALLY B&C&D&E Company Information Wood Work Ltd manufacture specialist...
please i need the solve for A&B&C&D&E ESPECIALLY B&C&D&E Company Information Wood Work Ltd manufacture specialist wood furniture and sell their products all over Saudi  Arabia. The company was established three  years ago in Jeddah and is performing well to date. Wood work Ltd have three main product lines; TV tables, dining table and chairs. The following financial information has been provided.   Financial Information TV tables dining Tables Chairs Selling Price per unit SAR 1,000 SAR 5,000 SAR 700 Direct Materials (wood...
Please fill in the blanks (values of A, B, C, D, E, F, G, H, I...
Please fill in the blanks (values of A, B, C, D, E, F, G, H, I , J) for the following financial statements. The firm’s tax rate is 35.3%. Income Statement for Fiscal Year 2015 Sales 2,000 Cost of goods sold 1,500 Gross margin 500 Selling and general expenses 300 Operating income 200 Interest income 5 205 Interest expense 21 Restructuring charges 14 Income before tax 170 Income tax 60 Net income J Balance Sheet, Year 2014 and Year 2015...
you can see the answer a, b, and c. I have a question about d, e,...
you can see the answer a, b, and c. I have a question about d, e, and f only how to solve theses questions Mist (airborne droplets or aerosols) is generated when metal-removing fluids are used in machining operations to cool and lubricate the tool and work-piece. Mist generation is a concern to OSHA, which has recently lowered substantially the workplace standard. The article "Variables Affecting Mist Generation from Metal Removal Fluids" (Lubrication Engr., 2002: 10-17) gave the accompanying data...
Use the table for the question(s) below. Combination A B C D E F G Vaccine...
Use the table for the question(s) below. Combination A B C D E F G Vaccine doses (millions) 6 5 4 3 2 1 0 Guns 0 10,000 19,000 24,000 28,000 30,000 31,000 In the table above, the opportunity cost of vaccines remains constant as more vaccines are produced. remains constant as more guns are produced. increases as more guns are produced. increases as more vaccines are produced. decreases as more vaccines are produced. If the economy is currently producing...
Consider the cross: A/a; b/b; C/c; D/d; E/e x A/a; B/b; c/c; D/d; e/e a) what...
Consider the cross: A/a; b/b; C/c; D/d; E/e x A/a; B/b; c/c; D/d; e/e a) what proportion of the progeny will phenotypically resemble the first parent? b) what proportion of the progeny will genotypically resemble neither parent?
Hi ,I need your answer today for all parts /a/b/c/d of these question below.Br/Ha This question...
Hi ,I need your answer today for all parts /a/b/c/d of these question below.Br/Ha This question is about the wage distribution. a) The Gini-coefficient can be used to measure wage inequality. How is this measure formally defined? Also provide a graphical illustration. b) The P90/P10 and P50/P10 are also common measures of wage inequality. Explain the measures. c) What are the pros and cons with the two types of measures in a) and b)? Are there situations where one of...
Hi ,I need your answer today for all parts /a/b/c/d of these question below.Br/Ha This question...
Hi ,I need your answer today for all parts /a/b/c/d of these question below.Br/Ha This question is about human capital accumulation in terms of on-the-job training. a) Define general and firm specific human capital. b) Discuss who pays for investments in human capital that leads to general human capital and to firm specific human capital.
Work is a a) point function b) path function c) depends on the state d) none...
Work is a a) point function b) path function c) depends on the state d) none of the mentioned
Which of the following is NOT a database management task? a. retrieval b. storage c. summarization d. deletion
Which of the following is NOT a database management task?a. retrievalb. storagec. summarizationd. deletion 
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT