Question
In a relational database, which key uniquely identifies
tuples within a table and can never contain NULL values?Solution
A Primary Key uniquely identifies each record (or tuple) in a table and cannot contain NULL values. It enforces entity integrity, ensuring that every row in a table has a unique identifier. For example, in a table of employees, an employee ID serves as a primary key, ensuring no duplicate or NULL entries exist. Why Other Options Are Incorrect:
- Foreign Key: Links one table to another and can contain NULL values in some cases; its purpose is to enforce referential integrity, not uniqueness within its table.
- Candidate Key: A potential key that can uniquely identify tuples but is not chosen as the primary key.
- Alternate Key: A candidate key not selected as the primary key but still capable of uniquely identifying records.
- Composite Key: A primary key consisting of multiple columns but is a type of primary key, not a separate concept.
Naira is the monetary unit of which of the following country?
As per the relevant regulatory requirement mentioned in the material, what is the minimum credit rating required for NBFCs?
How many Indian Private Sector Insurance companies are dealing with reinsurance in India?
Which of the statements relating to the Grievance Redressal Committee under the Industrial Disputes Act, 1947 is not correct?
Padma Bhushan, Guru Vempati Chinna Satyam is renowned for having trained hundreds of students in which of the following dance forms?
Where in the World can we find the Nobel museum?
Belgrade is the capital of which of the following country?
Which condition, also known as icterus, causes a yellowing of your skin and the whites of your eyes?
In which of the following States did India host the Hero Asian Champions Trophy hockey tournament in August 2023?
According to the Planning Commission of India (2011-2012), which of the following group of states has the highest percentage of population below the pov...