Question
In relational databases, which of the following best
describes the role of a "foreign key"?Solution
A foreign key is a column or group of columns in one table that refers to the primary key of another table, thus creating a relationship between the two tables. This key ensures referential integrity , meaning that the data in the foreign key column must match existing data in the primary key column of the referenced table. Referential integrity prevents orphaned records and maintains the consistency of the data across the database. A (Incorrect): This describes a primary key , not a foreign key. C (Incorrect): Foreign keys may allow duplicate values if the relationship permits it, but this is not their defining characteristic. D (Incorrect): While a foreign key references the primary key of another table, it is not itself the primary key of the current table. E (Incorrect): Foreign keys are not used solely for indexing; their main purpose is to enforce relationships between tables.
What is the rank of the Indian men’s hockey team in the FIH world rankings released in March 2020?
Consider the following statements: India had plan holiday during 1966-69 due to
1. Indo-Pakistan conflict in 1965.
2. Severe drought fo...
Consider the following statements:
1. The first report of the Administrative Reforms Commission recommended the creation of Lok Pal and Lok Ayu...
Tri-service contingent of which one of the following countries participated in India's Republic Day parade in 2021?
In the word MASTER, each consonant is changed to the letter immediately preceding it in the English alphabetical order and each vowel is changed to the ...
Which one of the following concerns prepares Receipts and Payments Account?
The lifespan of Red Blood Cells (RBCs) is:
Which one of the following is not a feature of the Aadhaar (Targeted Delivery of Financial and other Subsidies, Benefits and Services) Act, 2016?
Which of the following options should come in place of the question mark (?) in the given series based on the English alphabetical order?
Series:...
The income ratio of Aman to Qureshi is 5:7. Both individuals save ₹900 each. If the ratio of their expenditures is 7:11, determine Qureshi's total exp...