I have a relation A,B,C,D,E with functional dependencies
1) A->BC
2) CD->E
3) B->D
4) E->A
Using 1 gives A,D,E and then using 4 will make it D,E
Using 2 gives A,B,C,D and then using 3 gives A,B,C and using 1 gives A
Using 2 gives A,B,C,D and using 1 gives A,D
Using 4 gives B,C,D,E and using 2 gives B,C,D and using 3 gives B,C
Using 3 gives A,B,C,E and using 1 gives A,E and using 4 gives E
So I would have 5 super keys? (A, E, AD, BC, DE). And from my super keys I would pick the unique ones.
Since I can get A from E, I can remove A and AD(since DE is the same) and since I can get BC from A I can remove that so I am left with
E, DE
Would that be my super key? Or would it just be E?