Define candidate key, alternate key, composite key?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?

1988


Explain the rollup operator?

612


Explain about the database management systems.

568


How long can an error message be in raiseerror function?

548


Explain the cube operator?

598






You have a table with three columns: amount1, amount2, and amount3 in a single row only one of these three columns will have a value and the other two will be null. Write a sql query to retrieve the values from these columns?

547


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

576


How is data stored in dbms?

524


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

2060


Explain about the relational database?

608


Explain about normal forms?

599


What is the database development process?

688


What is database design and development?

601


What is dbms explain in brief?

563


What are the key features of dbms?

565