Sample Header Ad - 728x90

What is the difference between a primary key and a superkey in a DBMS

26 votes
3 answers
122628 views
1) What is the difference between a primary key and a superkey in a DBMS? 2) Can a primary key and a superkey **both** have multiple columns? 3) Is a primary key a subset of a superkey or vice versa?
Asked by MikeHil (369 rep)
Jul 20, 2014, 12:13 PM
Last activity: Jan 8, 2023, 02:48 PM