A rule that states that each foreign key value must match a primary key value in the other relation is called
Correct answer: A. Referential integrity
- A. Referential integrity
- B. Key match rule
- C. Entity key group rule
- D. Foreign/Primary match rule
Explanation
This is a database constraint that ensures that the foreign key value in a child table either references a valid primary key value in the parent table, or is null. It helps to maintain data consistency by preventing orphaned records (child records that reference non-existent parent records).
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
About Databases
Databases cover tables, records, fields, keys and relationships, together with database management systems and relational database design. The subject includes primary and foreign keys, normalization, SQL commands such as SELECT, INSERT, UPDATE and DELETE, queries, forms and reports, while distinguishing a database from a spreadsheet used for simple tabular data.
Practise Databases
210 free Databases MCQs from Computer Science and IT, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Computer Science and IT questions like this
Computer Science and IT is on 85 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.
More Databases questions
Which of the following is the process of analyzing the dependencies of attributes within entities
In which of the following normal forms, any repeating group from the table is removed
constraint between two attributes in a database table
Two or many attributes having different names but same meaning are
What is the prerequisite of independence
Which of the following anomalies result from a transitive dependency