Primary Key

In the relational model of database design, a unique key or primary key is a set of attributes whose values uniquely define the characteristics of each row. The primary key has to consist of characteristics that cannot collectively be duplicated by any other row. In an entity relationship diagram of a data model, one or more unique keys may be declared for each data entity. Each unique key is composed from one or more data attributes of that data entity. The set of unique keys declared for a data entity is often referred to as the candidate keys for that data entity. From the set of candidate keys, a single unique key is selected and declared the primary key for that data entity.
Posts about Primary Key
Get the top posts daily into your mailbox!
More from around the web