There are 2⁴ possibilities of making a CK
out of which mail-id attribute is always ignored as it contain a null and it will violate the entity integrity constraint
So (Mail-id),(Mail-id,_),(mail-id,,)and (mail-id,,,__)
always ignored 1+3+3+1=8
We need the check the remaining 8
for the potential cks
Rating has aa repeated value
Name has a repeated value
Sal has repeated value
Rating,Name has repeated value
Rating,Salary has no repeated values so it's a possible ck
Name,Salary has no repeated values it's a possible CK
Name,Rating,Salary has no repeated values so it's a possible ck
But we said we will have 8 possibilities to check...we did for 7...the last one is ∅ so it's not a CK
Hence the given relation will have 3 possible cks,and max no of alternate keys will be 2