Determine the candidate keys and superkeys of the relation R(ABCDEF) with FD's: AEF → C, BF → C, EF → D, and ACDE → F
This is a problem from my book. The book claims that the candidate keys are ABCDE and ABEF. From what I understand, a candidate key is the minimal superkey, and closure test on ABEF captures the relation R perfectly. Since ABEF is more "minimal" than ABCDE, I would argue the only candidate key is in fact, ABEF only. I will grant that ABCDE is a superkey, but not a candidate key. Can somebody explain why I am in the wrong here? Or is it possible that the book is wrong?