DBMS Keys

Page 1

DBMS Keys Primary Key

Candidate Key

A primary key is a column or set of columns in a table that uniquely identifies each row of that table.

A candidate key is an attribute or set of attributes that can uniquely identify a tuple.

Super Key A super key is a superset of a candidate key.

DBMS Keys

Foreign Key A foreign key is a column that creates a relationship between two tables.

Alternate Key Alternate keys are those candidate keys which are not the Primary key.

Composite Key

Artificial Key The key created using arbitrarily assigned data are known as artificial keys.

A composite key refers to a set of multiple attributes that help us uniquely identify each tuple present in a table.

https://training.javatpoint.com/


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.