CSCI 4333 Database Design and Implementation – Exercise (4) Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539 xiang.lian@utrgv.edu
Attribute Closure and Entailment If X = {AB} and F = {AD, BCEJ, BDAE, EJG, ADEH, HDJ}, what is XF+? Are the FDs ABC and AEG entailed by F?
Derivation with Armstrong's Axioms Using only Armstrong's axioms and the FDs (a) ABC (b) ABE (c) CD Give a complete derivation of the FD AD.
BCNF R={B, C, E} F={EB, BCE} What are candidate keys in R? Is R in BCNF? If not, how to decompose R losslessly? BC, EC
3NF Given R= {BCDFGH} with a set of FDs F={BGCD, GF, CDGH, CFG, FD} Use the 3NF algorithm to obtain a lossless, dependency-preserving decomposition into 3NF.