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.
Mahatma Gandhi National Fellowship Programme (MGNF) in collaboration with IIM is providing certificate course in ______ ?
What will be covered under Pradhan Mantri Kaushal Vikas Yojana 4.0?
As per Union Budget 2023-24, which mission has been launched to facilitate the transition of the economy to low carbon intensity?
What is India's rank in the Human Development Index (HDI) report of 2021/2022?
As per the Economic Survey 2023-24, what was the fiscal deficit of the Union Government in FY24 according to provisional actuals (PA) data?
According to the Union Budget 2023-24, consider the following statements regarding Cooperation:
1. New co-operatives that commence manufacturing ...
Recently which of the following telecommunication company of in India has completed a successful trial of the country’s first 5G private network a...
Pradhan Mantri Shram Yogi Maan-Dhan Yojana assures a minimum assured pension of ________ upon attaining the age of 60 years.
According to the budget 24-25, "PM SVANidhi has extended credit assistance to how many street vendors?
Which of the following city of Gujarat become India’s first operational smart city with the development of world-class infrastructure and sustain...