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.
Yuan is currency of _______
Which is not a function of RBI?
Which of the following blocks is not included in the district of Champawat?
In which year was the recommendation for the establishment of the Indian Environment Service (IES) made by a committee headed by former Cabinet Secretar...
Under Pradhan Mantri Awas Yojana (PMAY) by which year central government plans to provide houses to all?
In which district of Tamil Nadu, India, do the Badagas, an ethno-linguistic community, primarily reside?
 International Day of Awareness of Food Loss and Waste is being celebrated annually on?
Africa Continent is what percent of total land area on earth?
Ahilyabai, the queen of the Maratha Empire, after which the Ahmednagar in Maharashtra will be named Ahilya nagar, belonged to which dynasty?Â
Who among the following wrote the basic text of Vaisheshika philosophy?