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
What is data modeling with example?
Which data type cannot be used as a parameter in a udf?
explain detail about ftp in datastage?
If a column is an image value type, how you can compare column values? How can you use this column in join clause?
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
How is data stored in dbms?
What is a database development?
Explain about normal forms?
Explain about a primary key?
To convert IDMS to DB2, how to deal with IDMS occurs and redefined clause?
What is the database development process?
What is dbms explain in brief?
Explain about the database management systems.
Explain about relational operator join?
What are the key features of dbms?