what is candidate key & primary key,different b/t the two?

Answer Posted / uday shankar dokku

candidate key: when we reduce unnecessary columns from a
super key it is called as candidate key
primary key: primary key is a constraint, in a table
there is only one primary key,a primary key is simple or
composite, a simple primary key is based on one column which
can be specified either inline outline of the constraint,a
composite primary key is based on (2-32)columns which can
be specified only out line of the constraint,a primary dose
not allows duplicates.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mean by dbms?

498


What is the main purpose of normalization?

531


What do you understand by sub-queries in sql?

493


What are the four objects in a database?

510


What is the purpose of normalization in dbms?

592






Is declare cursor executable?

535


What restrictions can you apply when you are creating views?

481


What are the database skills?

504


How many columns are in a database table?

466


What are the five important software components of a database management system?

488


Mention a query to calculate the even and odd records from a table

517


What is super key in dbms?

501


Explain the classification of Database Management System?

3722


what do u mean by implementation?

1600


What are the types of database lock?

560