Define candidate key, alternate key, composite key?

Answer Posted / mona

A set of fields that uniquely identifies a tuple according
to a key constraint is called candidate key for the relation.
(1)No two values of keys are same
(2)the set of fields{sid,sname} is not a key for
students,because this set properly contains the key{sid}.
The set {sid,sname} is an example of a super key,which is a
set of fields that contains a key.
EX:
create table customer(customer_name char(20),street
char(30),city char(30),primary key(customer_name));

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the rollup operator?

839


How to replace not in with not exist?

1705


What is data modeling with example?

718


Explain about the storage and physical database design?

724


What are the 18 schemas?

836


Explain the cube operator?

802


Can an extended stored procedure be called from inside a user-defined function?

843


How to read and create .LDC data files which are used by linguatic dictionary.

2289


Where is dbms used?

846


On friday, you issued several insert statements using query analyzer. You then verified the data had been correctly entered with a select statement on monday, your users report that the data is not there what happened?

767


Explain about network model?

794


What are the types of database model?

807


Write short notes on manual refreshes.

2506


Who are end users in dbms?

744


explain detail about ftp in datastage?

2021