SQL

Question:

Define Candidate Key, Alternate Key and Composite Key.

Answer:

A Candidate Key is one that can identify each row of a table uniquely. Generally a Candidate Key becomes the Primary Key of the table.

If the table has more than one Candidate Key, one of them will become the Primary Key, and the rest are called Alternate Keys.

A key formed by combining at least two or more columns is called Composite Key.

  Go Back    Print This Page    Submit Feedback

Share

© 2008 - Some Rights Reserved. - Terms and Credits - Contact Form - Advertising - Admin Login - About - News