TD1 2023
TD1 2023
Department Faculty
Course Tutor
Exercise 2
In the following figure, let's consider the relation representing information about a company's
products. Given: the component type of a product (Type attribute), the quantity of the component
required for a product (Quantity attribute), the unit price of the component of a product (PriceOfC
attribute), the supplier of the component (Supplier attribute), and the total price of the individual
product (PriceOfP attribute).
- Identify the minimal functional dependencies (FDs) and the key(s) of the relation.
Exercise 3
Exercice 4
Consider the following relation R(ABCDEF) and F the set of functional dependencies FDs
ABC
B E
CDEF
1- Prove that AD F ∈ F+
2- Calculate the closure {A,B}+
3- Find a candidate key for R
Exercice 5
F et G are two set of FDs
F = {A BC, A D, CD E}, and
G = {A BCE, A ABD, CD E}