@shivam kasat .....From above PDF
If a relation has only two attributes then it is in BCNF.
Proof: Let a, b be the two attributes in a relation R.
The possible functional dependencies are:
case 1: LHS contains both attributes
a b -> ---
clearly this is a trivial functional dependency because RHS attributes form subset of LHS attributes .
Case 2 : LHS contains only one attribute.
clearly in this case, the LHS attribute will be candidate key
how can you decide it is candidate key.......plz explain