I'm taking a database theory course, and it's not clear to me after doing the reading how I can infer keys, given a set of functional dependencies.
I have an example problem:
Find all keys of the relation R(ABCDEFG) with functional dependencies
AB → C
CD → E
EF → G
FG → E
DE → C
BC → A
Demonstrate your knowledge by identifying which of the following is a key.
a. BCDEF
b. ADFG
c. BDFG
d. BCDE
Can someone walk me through how I should decompose the functional dependencies to conclude that some combination of attributes is a key? I expect I'll face a number of these types of problems and I need to understand how to approach it.