Define candidate key, alternate key, composite key?

Answers were Sorted based on User's Feedback



Define candidate key, alternate key, composite key? ..

Answer / palanivel

primary key:- The attribute or combination of attributes
that uniquely identifies a row or record.

Foreign Key:- an attribute or combination of attribute in a
table whose value match a primary key in another table.

Composite key:- A primary key that consistsof two or more
attributes is known as composite key

candidate key:- is a column in a table which has the
ability to become a primary key.

Alternate Key:- Any of the candidate keys that is not part
of the primary key is called an alternate key.

Is This Answer Correct ?    3 Yes 1 No

Define candidate key, alternate key, composite key? ..

Answer / divya

candidate key: is a column in a table which has thhe ability
to become a primary key.

alternate key:any of the candidate key that is not part of
the primary key.

Is This Answer Correct ?    34 Yes 33 No

Define candidate key, alternate key, composite key? ..

Answer / garima sinha

candidate keys are those key which can be treated as
primary key when required.

composite key is made up of more than on key and treated as
primary key.


Alternate key (or secondary key) is any candidate key which
is not selected to be the primary key.

Is This Answer Correct ?    7 Yes 6 No

Define candidate key, alternate key, composite key? ..

Answer / vishal sharma

hi, to all. In a interview i asked a question that

"How to apply practically candidate key in SQL SERVER ?
like for primary key we apply PRIMERY KEY keyword how to apply in SQL-SEVER ?"

Plz help me to solve this question Plzzzzzzzz

Is This Answer Correct ?    4 Yes 3 No

Define candidate key, alternate key, composite key? ..

Answer / zulfiqar ali

ANSWER 22.. 1 A candidate key is the combination of one or
more attributes which is used to identify records uniquely a
candidate can be selected as a primary key.

2 A key which is not selected is called Alternate key.
3 combination of attributes is called composite key.

Is This Answer Correct ?    2 Yes 1 No

Define candidate key, alternate key, composite key? ..

Answer / jaison

Candidate key: A candidate key of an entity set is a
superkey for which no proper subset is a superkey

Is This Answer Correct ?    1 Yes 0 No

Define candidate key, alternate key, composite key? ..

Answer / vishnu

Combine all foreign key in a table is none as composite key

Is This Answer Correct ?    1 Yes 0 No

Define candidate key, alternate key, composite key? ..

Answer / koteswararao bora

candidate key:the minimum set of attributes which uniquely
identifies the touples in a table .
primary key:any candidate key choosen by the developer is
called primary key.
composite key: a candidate key which have more than one
attribute is called composite key.
alternate key: a candidate key other than primary key
is called alternate key.

Is This Answer Correct ?    0 Yes 0 No

Define candidate key, alternate key, composite key? ..

Answer / deependra kumar shukla

Candidate key:- A key 'X' is said to be candidate key if proper subset of 'X' is not a key where X is simple or composite key.

Alternate key:- A candidate key is said to be Alternate key if it is not defined as primary key.An Alternate key may accept null values.

Composite key:- A key is said to be composite key if it contain more than one atribute of the relation.

Is This Answer Correct ?    0 Yes 0 No

Define candidate key, alternate key, composite key? ..

Answer / sanjay p sonar

Candidate key:-A candidate key is unique. We may say that
candidate key is another name of primary key. We can have
more than one candidate key. From which we have to choose
one as a primary key.

Alternate key:-The Candidate key other than primary key is
Alternate key. We can have more than one Alternate keys.

Composite key:- When we combine more than 1 column by key
then that key is called Composite key

Clustered Key:- When we combine more than 1 column to form
Primary key then it will become Cluster key.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB Development Interview Questions

how to find the first two highest salaries in deptno in emp table

2 Answers  


Which data type cannot be used as a parameter in a udf?

0 Answers  


What are triggers? How many triggers you can have on a table?

2 Answers   Ramco,


I HAVE A PI ON COL A THE NEXT DAY I WANT CHANGE THE PI ON COL B? PLS SEND ME THE ANS

0 Answers   IBM,


What is dbms and its application?

0 Answers  


How to use timestamp datatypes

0 Answers  


Explain about a primary key?

0 Answers  


How would you design a database for an online site, which would average a million hits a day?

0 Answers  


What is the difference between a primary index and a secondary index? What is a duplicate data entry in an index? Can a primary index contain duplicates?

5 Answers   IBM,


What is denormalization and when would you go for it?

9 Answers   NBP,


How can I detect whether a given connection is blocked?

0 Answers  


State the acid rules?

0 Answers  


Categories