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.
Recently which of the following telecommunication company of in India has completed a successful trial of the country’s first 5G private network a...
What is the primary objective of Indonesia joining the BRICS’ New Development Bank?
Which of the following Statements about NCERT is/are True?
(i) NCERT provides academic and technical support for qualitative improvement of schoo...
Which of the following reforms is NOT included in Priority 9 of the budget, which focuses on Next Generation Reforms?
Recently which of the following Indian firm has buy the majority of stake in Isreal Haifa Port?
As per Union Budget 2023-24, which mission has been launched to facilitate the transition of the economy to low carbon intensity?
What is the total investment for 500 new ‘waste to Wealth’ plants under the GOBARdhan scheme?
How many projects have been sanctioned under the National Adaptation Fund for Climate Change (NAFCC) in India?
As per Union Budget 2025-26, what is the new cap on Foreign Direct Investment (FDI) in the space sector?
What is the allocated amount for the Defence Budget in the Financial Year 2024-25?