sqldatabase-designrelational-databasecomposite-keyunique-key

Difference between superkey and composite key


What is the difference between a superkey and a composite key?


Solution

  • The accepted answer is not entirely accurate...

    Few more points:


    1 Aka. compound, complex or concatenated.

    2 On NOT NULL columns.