waht is the difference between primary key and super key?

Answers were Sorted based on User's Feedback



waht is the difference between primary key and super key?..

Answer / nilesh

Different set of attributes which are able to identify any
row in the database is known as super key. And minimal
super key is termed as candidate key i.e. among set of
super keys one with minimum number of attributes. Primary
key could be any key which is able to identify a specific
row in database in a unique manner.

Is This Answer Correct ?    56 Yes 19 No

waht is the difference between primary key and super key?..

Answer / manoj jain

Primary key is subset of candidate key
primary key=not null+unique

candidate key is minimal form of super key ie. candidate key
is subset of super key

common feature:-
primary key,super key,candidate key is used to identify a
entity in relation

Is This Answer Correct ?    30 Yes 4 No

waht is the difference between primary key and super key?..

Answer / avinash

primary key:
primary key could be any key which is able to identify
a specific row in data base in a unique manner.
super key;
different set of attributes which are able to identify
any row in the database is known as super key.

Is This Answer Correct ?    29 Yes 6 No

waht is the difference between primary key and super key?..

Answer / kishore singh bisht

primary key is a uniquely identified key,in primary key we use only a single attribute to identify a row.......
example:- roll no. of an student, employee id etc.
primary key=unique+not null.
and super key is a combination of two or more attributes which make the uniqueness.......
ex:-name+d.o.b+contact no...
these three attributes make the uniqueness by which we can easily identify.............

Is This Answer Correct ?    11 Yes 5 No

waht is the difference between primary key and super key?..

Answer / sweety singh

superkey is a set of attributes that can uniquely identify
individual tuples whereas a key or a primary key is a
minimal super key that can identify individual tuples.
ex..eno pno hrs
1 1 2
2 4 7

i.e...here eno,pno,hrs together are a superkey but eno,pno
is primary key and hence eno,pno cant hav null values and
repeated enteries....

Is This Answer Correct ?    8 Yes 3 No

waht is the difference between primary key and super key?..

Answer / mulukengossaye

er diagram university data base

Is This Answer Correct ?    4 Yes 2 No

waht is the difference between primary key and super key?..

Answer / zain zany (gcu lahore)

Basic difference in a primary key and Super key is that in
Primary key,we use only a single attribute to identify a
row,where as in,
Super key,we use Different set of attributes to identify any
row in database...

Is This Answer Correct ?    16 Yes 21 No

waht is the difference between primary key and super key?..

Answer / anilchauhan85

Primary is a unik value it not contain null and only single
in a table.

Is This Answer Correct ?    17 Yes 32 No

waht is the difference between primary key and super key?..

Answer / guneetinder singh

primary key has two properties
* uniqueness.
* not null value acceptable.
where as super key is candidate key minus primary key
attributes.

Is This Answer Correct ?    14 Yes 32 No

Post New Answer

More Oracle General Interview Questions

What is transport network substrate (tns) in oracle?

0 Answers  


Table E: Name dept month sal 1 A JAN 800 2 B APR 1000 3 A JAN 300 4 A JAN 600 5 C JUN 400 1) SELECT HIGHEST SAL PAID DEPT IN JAN MONTH? 2) WRITE QUERY GET MAX SAL DEPT NO?

6 Answers   IBM,


Explain the use of indexes option in imp command.

0 Answers  


What is the difference between Outer join and Full outer join?

5 Answers  


You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

0 Answers  






Which Database is the best for the Security issue ? 1. DB2 2.SQL Server 3.MySQL 4.ORACLE

1 Answers  


What is Library Cache in Oracle?

0 Answers   MCN Solutions,


What is sharded cluster?

0 Answers  


Explain the different normalization forms?

0 Answers  


What is the use of aggregate functions in oracle?

0 Answers  


what is the difference between data migration and production migration.

0 Answers  


How to divide query output into groups in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)