Define candidate key, alternate key, composite key?

Answer Posted / sonya jalil khan

candidate key:if it qualifies to uniquely select a specific
row in the table such that the data in that table depend
completely on that key and nothing else is required.the
candidate key cannot hold NULLS.the candidte key should
never change it must holds the same value for a given
occurence of an entity for the lifetime of that
entity.
example:
EMP ID , NAME,JOB,DEPARTEMENT ID
here emp id is a candidate key.becouse a minimal set of
columns that can be used to identify a single row

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what a database is?

615


What is the maximum length of an extended property?

561


Who are naive users?

611


What are data modelling techniques?

530


How long can an error message be in raiseerror function?

554






What are the 18 schemas?

615


Explain about xml databases?

626


How can you fix a poorly performing query?

624


What are the key features of dbms?

574


If a column is an image value type, how you can compare column values? How can you use this column in join clause?

598


Explain the cube operator?

607


Hi my program is accesing data from two db2 databases.what is the bind card for this program to genarate plan? how to specify the two owners and two qualifiers in bind card

1679


Explain about relational operator join?

621


What is DB Development software?

1619


The count() function always returns a int value type what should you do if you need to count rows from a query which you know will return a value that is too large for an int value type?

580