Question

What are Keys in a relational database? Differentiate among the following with suitable
examples. (4 Marks)
 Candidate Key
 Super Key
 Primary Key
 Alternate Key
d. Explain Conflict Serializability.
Construct a precedence graph for a suitable schedule involving two transactions and determine
whether the schedule is conflict serializable.

07 Aug 2026
Answer :
Word Count : 1452
In a relational database, a key is an attribute or a combination of attributes used to uniquely identify a tuple (row) in a relation (table). Keys are fundamental to the design of a relational database because they help maintain data integrity, prevent duplicate records, establish relationships between tables, and support efficient retrieval of data. Different types of keys are used depending on their purpose and properties. The important keys in a relational database include super key, candidate key, primary key, and alternate key. Consider a relation STUDENT with the following attributes: STUDENT(RollNo, Name, Email, Course, Phone) Suppose RollNo and Email are both unique for every student. A possible set of records may be: | RollNo | Name | Email | Course | Phone | | ------ | ---- | --------------------------------------- | ------ | ---------- | | 101 | Ravi | [ravi@gmail.com](mailto:ravi@gmail.com) | BCA | 9876543210 | | 102 | Neha | [neha@gmail.com](mailto:neha@gmail.com) | BCA | 9876543211 | | 103 | Aman | [aman@gmail.com](mailto:aman@gmail.com) | BCA | 9876543212 | A super key is any set of one or more attributes that can uniquely identify each record in a relation. A super key may contain additional attributes that are not necessary for establishing uniqueness. For example, in the STUDENT relation, RollNo is a super key because every student has a different RollNo. Similarly, Email is a super key if every email address is unique. The combination (RollNo, Name) is also a super key because RollNo alone is sufficient to identify a student, even though Name is an unnecessary attribute. Likewise, (RollNo, Email) is a super key. Thus, a relation can have many super keys. A candidate key is a minimal super key. It uniquely identifies every tuple, but none of its attributes can be removed without losing the uniqueness property. In the STUDENT relation, RollNo can be a candidate key because it uniquely identifies each student and contains no unnecessary attribute. Email can also be a candidate key if email addresses are guaranteed to be unique. However, (RollNo, Name) is not a candidate key because Name can be removed and RollNo still uniquely identifies the student. Therefore, candidate keys are selected from the set of _______ _____ _____ ___ ________.
_________ _______ ___ __________ ________.
______ ________ ________ _______ ___ ________ ________.
________ ___ ____ _______ _________ ________ _______ __________ ______.
_________ ________ ____ ____ ___ ____ _________.
____ _________ ____ ______ _________ __________ _____ ________.
_______ ___ __________ _________ __________ ___ __________ _______ ____.
_______ _________ ________ __________ __________ ____.
___ _________ __________ ___ _________ _________ _____ _____ _________ _____ __________.
________ ____ ____ __________ _______ _______ __________ _____.
_______ ________ _________ ________ ______ __________.
_______ _________ _____ _____ __________ ________ __________.
_________ _________ ____ ______ ________ _________ ____ ____ _____ _______ _____ ____.
__________ _________ _____ _____ _______ ________ ________ ________ ______ _____ _______ ________.
_________ ___ __________ ____ ___ ___ ______ _________.
__________ ______ ________ __________ ______ ____ _________.
___ _______ ________ ________ _______ ____ ____.
_________ ___ ____ _________ ______.
____ ______ _________ _________ ___ ________ _____ ______.
____ ___ _________ ____ ________ _________ _______ __________ _________ ____.
______ _____ ___ _______ _______ _______.
_____ _________ ___ ________ ________ ______ ________ ___ ____ _____ ____ _________.
________ ___ ________ ______ ______ ______ _____ _________ _____ __________.
________ ___ _______ _______ ____ ____ ___ ________.
_____ _____ ___ __________ ________ ________ ________ ____.
_________ ____ ________ _____ ______ ________ ____ _____ ______ ______.
___ ___ ___ _________ _________ _______ ___ __________.
_______ ___ ___ ___ _______ ____ ______ ______ ____ ____ _____ ________.
________ ______ ________ _______ _____.
____ _______ ___ __________ ____ _____ ________.
_________ _____ ___ ________ ________ __________ ____ ___ _____.
_____ ______ _____ __________ ___ _______.
_______ ___ _______ ______ _____.
_____ _____ ______ ______ ________ ________ __________ ______ _____ _______ ____ _______.
__________ ______ ________ ______ _____ ____.
________ ______ ________ _________ __________ _______ ____.
______ _______ __________ __________ __________ _____ __________ __________ ________ _______.
__________ ____ _____ ____ _______.
________ ________ ______ __________ __________ __________ _________ __________ __________ _______ __________.
__________ ______ _________ ____ _____ ____ ________ _____ _____ ______ ___ _________.
_______ ________ __________ ____ _________ ___ ___.
_____ _____ ______ _____ ________.
______ ________ __________ ___ ____ ____ ________ ________ ______ ____ ______.
_____ _______ _____ ___ _____ ____ ______ ____ _________.
________ ________ ___ _____ ________ ________ ________ _____ _____ ______ _________ ______.
__________ __________ ____ ____ ______ ___ _____ ____ ___.
__________ _____ ____ ___ ___.
___ _______ ____ _____ _____ _____ _______ _____.
_________ _______ ___ ________ ___ ____ _________ ______ ______ __________ ______ ____.
___ _____ _________ _______ ___ ____ ____ _________ _____.
____ _________ ____ ________ ___ __________ ________ ________ ______ _____ _____.
________ _________ ___ ______ _______ _________ _____ _________.
__________ ________ ______ _________ ______ _______ ___ __________ __________ ________.
_______ _________ ________ ______ ___ ________ ______ ___.
_________ ________ __________ ________ ___.
_________ _______ ________ ________ ____ ___ ___ _____.
________ _______ ____ __________ ____ __________ ________.
________ _______ ___ ____ _________.
_______ _____ _______ __________ _____ ____ ______ ___.
_____ ______ ________ _________ __________ ___ ______ ___ _____ ________.
_________ _______ ______ _______ ____.
__________ _____ _______ __________ ____ _______ _________ _______ ________ _______ _____ ________.
__________ _______ ____ _______ _____ _______ __________ ___.
___ _______ _________ __________ ________ _______ _______ _____.
___ ___ ________ ______ __________ _________ ___ ____ ______.
___ ______ _________ ______ _____ ______ _____ ______ ____.
___ ________ ___ _______ _________ _____ ______ ________ ____ __________ _______ ________.
________ ___ _________ _________ _________ ____ ____ _____.
______ _________ _________ _____ _________ _______ ____ _____ ____ ___.
____ ____ ______ _____ _________ ________ ____.
___ ____ ___ ______ ____.
______ ________ _________ ______ ______ ___.
_______ ______ __________ _____ _____ __________ ____ ____ ___ __________ ___ _________.
_________ ________ _____ ____ ___ _____ _________.
________ __________ _______ ________ _____.
_______ ___ ________ _________ _______ ________ ________ __________.
__________ _________ ____ _____ ____ ___ ___ ___ ________.
_________ ________ ____ _______ __________ __________ __________ ___ ____.
__________ _______ ____ ___ ___ ______.
_____ ______ __________ ____ _____ ________ ____ _____ __________.
_________ ____ ____ __________ ______ _________ ________ ___ __________ _________.
____ ____ _________ ___ _______ _____ _______ ___ _____ ___ _____.
_________ ___ ______ ____ ___ _____ ___ ___ ____.
_______ ________ ____ _________ __________ _____ ____ __________ ________ ______ ______ ___.
_________ _______ ________ _______ ______ __________.
_________ _______ ____ ____ ____ _____ ________ _________ ____ _____ _____.
_________ ___ _________ ___ ____.
_____ ____ _______ _____ __________ ____ ________ _______ _______ ______.
____ _____ ___ ________ _____ _______ ________ _______ _____.
___ ______ ________ __________ __________.
_______ _________ _____ _____ _____ _________ ________ ________ ____ ___ _________.
___ _____ _____ _______ _______.
__________ ________ ______ ____ _______.
____ ___ _________ ________ _____ __________ ___ ______ _____ ____ ________ _________.
________ ___ _______ ___ ______ _______ __________.
__________ ________ __________ ________ ____.
______ _______ ________ __________ ____.
____ __________ _______ ___ _______ _____ ___ ______ _______ ____ _________.
_______ _________ _____ ________ ________ _____ ________ ___ __________ _____ ______ __________.
_________ _____ ______ _________ __________ _______ ____.
________ ________ __________ ________ ______ ________.
________ __________ ______ ______ ___ ________ _________ _______ __________.
________ _________ ____ _____ _____.
________ ______ ___ ________ ________ _____ _____ ________.
_______ __________ __________ ___ _______ _______ _______ ____ ___ _____ _______.
____ _____ _____ ______ _____ ____ _______ ___ _____ _________ ____ _____.
_____ __________ _________ _________ ____ ____ __________.
_________ _______ _________ _______ ________ ___ _________ ____ ___ ______.
_____ _________ ________ ______ ______ _________ __________ _________ __________ ____ ___ ___.
_____ ___ _________ _______ _______ _____.
___ ___ _________ ____ ____ __________.
____ _______ ______ ______ _________.
_____ ___ _________ __________ _________ ________ ____ _________ ________ ________.
______ _________ _______ ________ ____ ________.
_____ __________ _________ _______ _____ __________ __________ ______ _______ ___.
________ ___ _________ _______ ____ __________ ______ _______ _____.
______ _____ _______ ___ __________.
___ ____ ____ __________ _______ ___ ________ _________ _________ _________ _________ _____.
____ ________ _____ __________ _________ __________ _______ ___ _________.
________ ____ ____ _______ ________ ___.
_______ ________ ______ __________ _________ ___ _____.
_____ _______ __________ ________ ______ __________ ____ _____ _____ _____ ____ ____.
________ _____ _____ _________ _____ _________ ______ _______ _______ ______ ___.
____ ____ ______ ______ _________ ______.
________ ________ _________ __________ ____.
________ _____ ______ _______ ___ ____ ____ ________ ______ ____ _______.
______ _______ _____ _____ ______ _______ __________ _________ _________ _______.
_________ _______ _________ ____ _______ _______.
___ __________ ___ ________ _______ ____ _________ ______.
____ _________ ________ _________ ___.
________ _______ _____ ___ ______ _____ ________ __________.
____ __________ _____ _________ _____ ______ _______ ____ __________.
_________ ______.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance What are Keys in a relational database? Differentiate among the follow
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→