
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Consider the schema R = (A, B, C, D, E, G) and the set F of functional dependencies: AB → CD B → D DE → B DEG → AB AC → DE R is not in BCNF for many reasons, one of which arises from the functional dependency AB → CD. Explain why AB → CD shows that R is not in BCNF and then use the BCNF decomposition generate a BCNF decomposition of R. Once that is done, determine whether your result is or is not dependency preserving, and explain your reasoning. |
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Normalization Here is a set of FDs for a relation R {A, B, C, D, E, F, G}; AB BC>DE AEF>G AC>DE a. Compute the closure of {A, C}, i.e. (A, C}* b. What are the candidate keys for R? Justify your answer. c. Is R in BCNF? Justify your answer. d. Give a 3NF decomposition of this relation.arrow_forwardfollow the algorithm in Figure 7.12. You do not need to be overly verbose, but each stage of the decomposition should be shown and justified. Be sure to clearly show the final decompositionarrow_forward27 of 40 Let R(A, B, С, D) be a relation with FD's: A — В, С — D, AD — С, and BC — А. If we decompose R into BCNF relations, which of the following relations will NOT be present in the decomposition result? Select one: АВ O ACD AC CDarrow_forward
- Give a lossless, dependency-preserving decomposition into 3NF of schema R of Exercise 7.1.arrow_forwardConsider the relation R = {A, B, C, D, E, F, G, H, I,J} and the set of functional dependencies F = { {A, B} → {C}, {A} → {D, E}, {B} → {F}, {F} →{G, H}, {D} → {I, J} }. (b) Whether (A,B,F} is a super key? Whether {A,B,F} is a candidate key? Why? (c) Whether {A,D} is a super key? Whether {A,D} is a candidate key? Why?arrow_forwardSuppose you are given a database relation R with single-valued atomic attributes (A, B, C, D, E) and a set of functional dependencies F = {AB-C, AC→B, AE, B→D, BC→AE} (a) List all candidate keys for R. (6 points) (b) Name the strongest normal form that holds on R and explain. (4 points) (c) Decompose it into a collection of BCNF relations if it is not in BCNF. Show all steps. (6 points) For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). Open Sans,ari... 10pt x² X2 می P> † {;} Ка ? لاک (+ BIUS Paragraph == = 由用 EXE + Œ P - ||| ABC A П "" Ω Ix 用 : 0 WORDS POWERED BY TINYarrow_forward
- Consider the relation prereg in the University Database and its transitive closure defined in Section 5.4 of the textbook. Consider the recursive query in Figure 5.16 that outputs this transitive closure. Write a recursive query that finds all direct or indirect prerequisite of BIO-301. Output a table with one column that contains the IDs of all such prerequisites. Note that your query must work correctly not only for the given instance of prereg, but also for all possible instances. Run this query.arrow_forwardOur discussion of lossless decomposition implicitly assumed that attributes on the left-hand side of a functional dependency cannot take on null values. What could go wrong on decomposition, if this property is violated?arrow_forwardConsider the following set F of functional dependencies on the relation schema(A, B, C, D, E, G):A → BCDBC → DEB → DD → A Give a 3NF decomposition of the given schema based on a canonical cover.arrow_forward
- Compute the closure of the following set F of functional dependencies for relation schema R = (A, B, C, D, E). A → BC CD → E B → D E → A List the candidate keys for R.arrow_forwardConsider a schema R = {A, B,C, D, E} and the following set of functional dependencies: {AB → C,C → D,D → BE} Is R in Boyce-Codd normal form? Justify your answer.arrow_forward5 of 40 A decomposition is in 3NF if every decomposed relation is in 3NF. A decomposition is in BCNF if every decomposed relation is in BCNF. Let R(A,B,C,D,E,F,G) be a relation with the FDs: F = {CD → G, DG → C, AD→ G, G –→A, AB → F}. Consider the decomposition of R into R1(C, D, G), R2(A, D, G), R3(A, B, F) and R4(C, E). Which of the following statements is TRUE about this decomposition? Select one: O Ris in BCNF but Not in 3NF. Ris in 3NF but Not in BCNF. R is Not in 3NF and Not in BCNF. O R is in 3NF and in BCNF.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education