Difference between alternate key and candidate key
Answers
Answered by
38
Candidate key: A column or a set of columns can be called as candidate key if they identify each row of a table uniquely. ... Alternate key: There can be more than one keys which can identify each row of the table uniquely. One of them is defined as primary key and rest of them is called alternate keys of the table.
PLZZ MARK AS BRAINLIEST
rabbiyarazzaq4:
This the answer of your question .A column or a set of columns can be called as candidate key if they identify each row of a table uniquely .Alternate key .There can be more than one keys qhich can identify each row of the table uniquely
Answered by
4
The candidate key is a set of attributes that uniquely identify the rows in a table. An alternate key is a column or group of columns that uniquely identify every row in a table.
- To recognize a particular row in a table keys are used.
- Variety of keys are used for managing tables in the database.
- Alternate Key: In a table when more than one column is used for the identification of tuples in the table, then that is an alternate key.
- Each table has only one primary key, although there are several choices.
- All the columns in the table other than the primary key act as an alternate key for that table.
- Candidate Key: This key is also used to identify the rows in a table.
- It contains a group of attributes that can be used to identify a particular row.
- Every table must have at least one column as a candidate key.
- In the candidate key column it does not contain any NULL value.
Similar questions
English,
4 months ago
Social Sciences,
9 months ago
Science,
9 months ago
Math,
1 year ago
Science,
1 year ago