Start learning 50% faster. Sign in now
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.
A shopkeeper planned to sell 150 shirts each priced at Rs 1,250 in a particular year. Each shirt, if it had been sold at the mentioned price would have ...
Rahul purchased a car for Rs 1,30,000 and spent Rs 6000 on transportation and 15% of its cost on repair. At what price should he sell it so as to earn a...
The cost price of article 'B' is (250/7)% of the selling price of article 'A'. Article 'A' is sold at a 40% profit, and the cost price of article 'A' ex...
A piece of furniture is marked 60% above its cost price and is sold for Rs. 1,512 after giving two successive discounts of 15% and 10%, respectively. De...
A school bag is sold for Rs.450 after giving two successive discounts of 10% and 20%. If school bag is marked up by Rs.300 above its cost price, then fi...
A bag of cost price of Rs. 6000 is marked up by a certain percentage, and a discount percent of twice the markup percent is offered on it. If there is a...
A shopkeeper sold an article after giving a discount of 20% and made a profit of Rs. 60. Find the marked price of the article if cost price of the artic...
A seller makes a profit of 20% by selling 45 kg of pure sugar. Later, he mixes some impurities into the sugar and sells the entire mixture at the origin...
A man sells a product at a price of ₹120. If he had sold it at ₹150, his profit would have been 50% more. What is the cost price of the product?
Mina sold 25 lamps at a profit of 20%. If she had sold all the lamps for Rs. 2500 more, her overall profit would have been 40%. What is the selling pric...