title: How can I determine the candidate keys in this relation
body: <p>I have the relation <code>R(ABCDEF)</code> and the functional dependencies <code>F{AC-&gt;B, BD-&gt;F, F-&gt;CE}</code></p>
  
  <p>I have to find all the candidate keys for the relation(Armstrong axioms).</p>
  
  <p>I did this:</p>
  
  <pre><code>A-&gt;A, B-&gt;B, C-&gt;C, D-&gt;D, E-&gt;E, F-&gt;F
  </code></pre>
  
  <p>From <code>F-&gt;CE</code> => <code>F-&gt;C and F-&gt;E</code></p>
  
  <pre><code>And then:
   1. BD-&gt;F
   2. F-&gt;E
   3. BD-&gt;E
   4. BD-&gt;EF
   5. BD-&gt;BD
   6. BD-&gt;BDEF
   7. BD-&gt;F
   8. F-&gt;CEF
   9. BD-&gt;CEF     =&gt; BD-&gt;BCDEF
  </code></pre>
  
  <p>Now I am trying to get <code>A</code> on the right hand side of <code>BD-&gt;BCDEF</code> so BD can become a candidate key.</p>
  
  <p>It would be great if someone could help.</p>
  
  <p>EDIT:</p>
  
  <pre><code> 1. ABD-&gt;ABCDEF
   2. ACD-&gt;BD
   3. ACD-&gt;ABD    =&gt; AC-&gt;B and ACD-&gt;ABCDEF =&gt; BD-&gt;ABCDEF
  </code></pre>