Database Management Question: Download Database Management PDF

What is candidate key and primary key, explain different between these two?

Tweet Share WhatsApp

Answer:

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.

Download Database Management PDF Read All 15 Database Management Questions
Previous QuestionNext Question
Which acid property will effect when we use commit in trigger?Can we update table which is created from view?