CBSE eBooks CBSE Guess > eBooks > Class XII > Computer Science By . Mr. MRK
Chapter – 7. DATA BASE CONCEPTS Delhi 2008 5.a. Differentiate between Candidate key and Primary key in context of RDBMS. Ans. Candidate Key: All attribute combinations inside a relation that can serve primary key are Candidate Keys as they are candidates for the primary key position. Outside Delhi 2008 5.a. Differentiate between Candidate Key and alternate Key in context of RDBMS. Ans. Candidate Key. All attribute combinations inside a relation that can serve as primary key are Candidate Keys as they are candidates for the primary key position. Delhi (2007) 5.a. Differentiate between primary key and alternate key. Ans: Primary Key: A primary key is a set of one or more attributes that can uniquely identify tuples within the relations. Alternate Key: A candidate key that is not the primary key is called an Alternate Key. (Where Candidate Key: All attribute combinations inside a relation that can serve primary key(uniquely identifies a row in a relation) are Candidate Keys as they are candidates for the primary key position.) Outside Delhi (2007) 5.a. What is the importance of a primary key in a table? Explain with suitable example. Ans : Primary Key: A primary key is a set of one or more attributes that can uniquely identify tuples within the relations. |