Question
Which of the following scenarios best demonstrates a
potential use of candidate keys in a relational database?ÂSolution
Candidate keys in a relational database are columns or sets of columns that can uniquely identify records in a table and serve as potential primary keys. However, only one of them is chosen as the primary key, while the others remain as unique identifiers for backup or alternate purposes. For instance, in an employee database, both employee_id and social_security_number could be candidate keys, but only one is chosen as the primary key. The other remains a unique identifier, fulfilling the role of a candidate key. Candidate keys are essential in database design to ensure flexibility in record identification without data redundancy. They play a critical role in normalization by allowing tables to maintain unique records through various unique identifiers, ensuring data integrity and avoiding duplication. Option A - This option describes a scenario involving the selection of a primary key but does not capture the purpose of a candidate key, which exists as an alternative unique identifier. Option B - Foreign keys are used to create referential integrity by linking tables but are distinct from candidate keys, as they do not serve as unique identifiers within the original table. Option D - Composite keys, while related to unique identifiers, differ in function from candidate keys, as they are combinations of multiple fields that uniquely identify records. Option E - Normalization is achieved through functional dependencies and is not directly related to the role of candidate keys, which ensure uniqueness but are not involved in dependency elimination.
Sara deposited Rs. 18,000 into an investment that offers a compound interest rate of 20% per annum, with semi-annual compounding. Calculate the interest...
Raj invests a certain amount, which grows to Rs. 7,200 at the end of 2 years and further increases to Rs. 8,640 at the end of 3 y...
A property dealer bought a rectangular plot in Noida five years ago at the rate of Rs. 1000 thousand per square meter, the cost of plot increases by 5% ...
Digvijay takes a loan of ₹25,000 at an annual compound interest rate of 10%. He repays ₹4,000 at the end of each year. How much should he pay at the...
The compound interest on a certain sum in 2.5 years at 10% p.a., interest compounded yearly, is 1,623. The sum is:
A sum of money invested at a certain rate of compound interest per annum amounts to ₹86,800 in 2 years and to ₹95,4800 in 3 years. Find the rate of ...
A man invests ₹50,000 in a scheme offering compound interest at 10% per annum, compounded annually. He withdraws ₹25,000 after 2 years. If he lets t...
A sum of money amounts to ₹12,960 in 2 years at compound interest. If the rate of interest is 10% per annum, what is the principal amount?
A sum of money is invested at a rate of 12% per annum compound interest for 2 years. If the total amount after 2 years is ₹11,520, what is the princip...
Raman invested Rs. 70,000 in a bank offering 10% compound interest per annum for 2 years. After 2 years, he used the total amount to start a business wi...