Question
Which of the following integrity constraints ensures
that every non-null foreign key value must reference an existing primary key value in another table?Solution
Referential integrity enforces a relationship between two tables by ensuring that a foreign key in one table matches a valid primary key in another table. This constraint guarantees that the data is consistent and prevents "orphan" records. For example, in an "Orders" table with a foreign key referencing a "Customers" table, referential integrity ensures that every order must belong to an existing customer. If a foreign key value does not match any primary key value in the referenced table, the database system will reject the operation, ensuring data consistency. Why Other Options Are Incorrect:
- Option A: Entity integrity relates to primary keys, ensuring they are unique and not NULL. It does not address relationships between tables.
- Option C: Domain integrity enforces the validity of data types and permissible values for attributes, such as ensuring an "age" column only contains integers.
- Option D: Key integrity is not a formal term in relational database theory. It may be confused with primary or candidate key constraints but is not relevant here.
- Option E: Tuple integrity is not a standard concept in relational databases, making this option invalid.
Under the PM Mudra Yojana, which type of loan can be availed for a maximum amount of ₹50,000?
The major aim of the PM Away Yojna Gramin is to provide a pucca house with basic amenities to all rural families, who are homeless or living in kutcha o...
What is the rank of India in Gender Gap report?
The concept of diminishing marginal utility implies that:
What is the percentage of Adjusted Net Banking Credit (ANBC) that domestic banks are required to lend to the weaker section according to the lending re...
What is the new loan limit under the Kisan Credit Card (KCC) modified interest subvention scheme as announced in the Union Budget 2025–26?
Which of the following is NOT a category for the National Gopal Ratna Award?
Which of the following is the investment arm of World Bank?
Which scheme received the Gold Award for Application of Emerging Technologies for Providing Citizen Centric Services at the 26th National Conference on ...
In PMAY-G, the housing unit constructed should be in the name of ________________.