Question
In a relational database, which key uniquely identifies
tuples within a table and can never contain NULL values?Solution
A Primary Key uniquely identifies each record (or tuple) in a table and cannot contain NULL values. It enforces entity integrity, ensuring that every row in a table has a unique identifier. For example, in a table of employees, an employee ID serves as a primary key, ensuring no duplicate or NULL entries exist. Why Other Options Are Incorrect:
- Foreign Key: Links one table to another and can contain NULL values in some cases; its purpose is to enforce referential integrity, not uniqueness within its table.
- Candidate Key: A potential key that can uniquely identify tuples but is not chosen as the primary key.
- Alternate Key: A candidate key not selected as the primary key but still capable of uniquely identifying records.
- Composite Key: A primary key consisting of multiple columns but is a type of primary key, not a separate concept.
A bank pays simple interest at 4% per annum on the first Rs.5500 and an interest of 6% for amounts above that. Find the interest earned by Sameera if sh...
A certain sum of money at simple interest amounts to Rs 7200 in 3 years and Rs 8000 in 5 years. What is the rate of interest per annum?
A sum of Rs.80 is lent to be returned in 90 months installments of Rs.10 each, interest simple. The rate of interest is: -
A certain sum of money becomes 2500 in 6 years and Rs. 3240 in 10 years at any certain rate of simple interest. Find the principal amount.
At the rate of any compound interest rate, it gets tripled in 4 years, in how many years it will become 729 times its own?
Suresh earned an interest of Rs. 1677 on principal amount of Rs. 5200 at some rate of compound interest in 2 years. How much more/less interest would he...
- Find the compound interest earned on Rs. 35000 at 11% per annum, compounded half yearly, after 1 year.
'X' deposited Rs.24000 at 20% per annum compound interest in SIP 'P' while Rs.18600 at 24% per annum simple interest in SIP 'Q'. What would be his total...
If Vipul invests Rs.βaβ in scheme βMβ with a compound interest rate of 20% p.a. for two years, and the total amount received from scheme βMβ...
Simple interest received at the rate of 9% p.a. for 5 years on a principal amount of Rs. 4000 is twice of the simple interest received at 10% p.a. for 6...