What Is The Difference Between Primary Key & Super Key

Answers were Sorted based on User's Feedback



What Is The Difference Between Primary Key & Super Key..

Answer / manoj

Primary Key is a column which uniquely identifies all records in a table. For example EmployeeID column in an Employee table.

If you add another column to a PK, like (EmployeeID+FirstName) it still identifies identifies all rows uniquely, is known as Super Key.

For more interview Questions on SQL Server: http://sqlwithmanoj.wordpress.com/interview-questions/

Is This Answer Correct ?    11 Yes 0 No

What Is The Difference Between Primary Key & Super Key..

Answer / tanmay dutta

Primary Key : Unique No. Not null.No duplicate.exam:Student_Id.
Super Key : Like (student_id + Student Name)

Is This Answer Correct ?    2 Yes 0 No

What Is The Difference Between Primary Key & Super Key..

Answer / anil kumar dubey

A candidate key that uniquely identifies a row in a table is called primary key.
A superkey (composite key) is a combination of columns that uniquely identifies any row within a relational database management system (RDBMS) table.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

I create a separate index on each column of a table. What are the advantages and disadvantages of this approach? : Sql server database administration

0 Answers  


Wht is SQL Injection Attack ?

3 Answers  


If i have one transaction say mainTransaction, within this mainTransaction i have another two transaction say t1 and t2. Now while execution t1 completes successfully and commit statement fires, but while executing t2 some error occurs and rollback statement fires. What happen to t1, is it rollback or not?

1 Answers   Ness Technologies,


What is Data model and how to prepare a data model.?

1 Answers   TCS,


As per your opinion what are the five top responsibilities of a dba? : sql server database administration

0 Answers  






What is lookup override?

0 Answers   Informatica,


How do I find my localdb version?

0 Answers  


Explain the concepts and capabilities of sql server?

0 Answers  


how many type of subquery?

2 Answers  


system date format is "yy-mm-dd" "select getdate()" ----> 2009-01-24 20:03:28.513 if i write "select dateadd(dd,2,getdate()) ".it returns "2009-01-26 19:59:38.340"...my question is dat could it be possible to retrive da date in da format "26 jan 2009 ...."??

8 Answers  


What are the types of sql server?

0 Answers  


How to see existing views in ms sql server?

0 Answers  


Categories