answersLogoWhite

0


Best Answer

Different set of attributes which are able to identify any row in the database is known as super key. And minimal super key is termed as candidate key i.e. among set of super keys one with minimum number of attributes. Primary key could be any key which is able to identify a specific row in database in a unique manner.

User Avatar

Aisha Wiza

Lvl 10
1y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Super Key : A Super key is a combination of attributes that can be uniquely used to identify a database record. A table might have many super keys.

Candidate Key : A Candidate key uniquely idnetifies rows in the table. Any of identified candidate keys can be used as primary key.

Candidate keys are a special subset of superkeys that do not have extraneous information in them.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Candidate key - A candidate key is a field or combination of fields that can act as a primary key field for that table to uniquely identify each record in that table.

Superkey - A superkey is defined in the relational model as a set of attributes of a relation variable (relvar) for which it holds that in all relations assigned to that variable there are no two distinct tuples (rows) that have the same values for the attributes in this set. Equivalently a superkey can also be defined as a set of attributes of a relvar upon which all attributes of the relvar are functionally dependent.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between a super key and a candidate key?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between primary key and candidate key?

Candidate Key is used to uniquely identify the records of a table. An attribute becomes a Primary Key, if all the other candidate keys lose race for being qualified as Primary Key.


What is difference between primary candidate and candidate key?

don't ask me I'm trying to find out to but i think it has something to do with the government


How many types of key used in SQL Server.Difference between them all?

there are 5 types of keys.those are primary,foriegn,super,candidate and unique key


What is the prime attribute in DBMS?

prime attributes are the attributes of a candidate key which will give uniqueness. a candidate key is (the subset of superkey) which gives uniqueness. Super key is the maximum set of attributes that can provide uniqueness example ABCDE is a super key AB CD DE are the candidate keys s.t. AB is the primary key. CD and DE are the secondary/alternate keys.


Difference between super key and composite key?

A Super key and composite key are similar to one another. Both of them are used to uniquely identify a row in a database table. A super key is a set of columns within a table that can be used to identify a particular row in a table. A super key can be only one column or a combination of multiple columns. If a super key contains multiple columns it becomes a composite key.


Candidate key and primary key differnece?

All Primary keys are definitely Candidate Keys. A Candidate key is one which can be used as a Primary key that is not null and unique. That is one of the candidate keys can be chosen as a primary key.A Candidate key is a Unique Key and it can be used to find out any particular Tuple (row) in a table. The following are the differences between A Candidate key and a Primary Key: 1) A Unique key can be null but not a Primary key 2) On a table we can have only 1 primary key but 'N' number of unique keys.


What is overlapping key DBMS?

Overlapping Key is a type of candidate key which occurs in BCNF (Boyce –Codd Normal Form).In the difference between 3NF and BCNF Example : A 3NF table which does not have multiple overlapping candidate keys is guaranteed to be in BCNF. Depending on what its functional dependencies are, a 3NF table with two or more overlapping candidate keys may or may not be in BCNF.


What is the key difference between a protosun and a sun?

what is the key difference between a protosun and the real sun?


What is the difference between primary key and secondary key in database?

A primary key is a unique identifier for each record in a database table and is used to ensure data integrity and enforce entity integrity. A secondary key, also known as a candidate key, is an alternate unique key that can be used to identify records, but is not designated as the primary key.


What is the difference between candidate key and primary key with example?

Any group of keys or columns (may be one or more than one) which can be used to uniquely refer to any row is together called as candidate key.A primary key only one column name which can be used to uniquely refer any row.there is no much difference b/w these two except the number of columns in consideration.


Types of keys in database management system?

super key foreign key candidate key surrogate key unique key alternate key composite key compound key


What is the difference between a key and a legend?

There is no difference.