6. What is the composite key, candidate key, primary key and foreign key?
Answers
Answered by
4
───────────────────────
Composite Key is a candidate key that consists of two or more attributes (table columns) that together uniquely identify an entity occurrence (table row).
───────────────────────
Candidate Key is also a unique key, which identifies record uniquely, but, a table can have multiple candidate keys.
───────────────────────
Primary Key is a field in a table which uniquely identifies each row/record in a database table.
A table can have only one primary key.
───────────────────────
Foreign Key is a column (or columns) in a table which references with a column (most often primary key) of another table.
━━━━━━━━━━━━━━━━━━━━━━
Mark as brainliest ✔
Similar questions