This presentation covers the fundamentals of database management systems, focusing on primary and foreign keys, entity identifiers, and candidate keys. Learn how these concepts are used to uniquely identify entities and establish relationships between tables.
Download Database Management: Primary & Foreign Keys, Entity Identifiers, Candidate Keys and more Slides Database Management Systems (DBMS) in PDF only on Docsity!
Slide 2 WCC
Entity Identifier
(^) one or more attributes of the entity which is used to identify the entity instance
(^) Roll_No or Std_Code of the STUDENT entity
(^) more than one attribute is called composite identifier
Slide 4
(^) combination of attributes from a Key known as Composite Key
(^) attribute that uniquely identifies the each instance of an entity type
(^) used for establishing relationships between entities
Slide 5
Primary key
An attribute or combination of
attributes that unique identify each
instance of an entity type is known
as Primary key
Slide 7
For example in the EMPLOYEE
entity of Organization that has
attributes ‘EmpCode’ , EmpName’,
Empsalary’, ‘ EmpDOB’. Each
employee has unique Code
assigned by the Organization
Slide
Slide
Slide 10
(^) Roll_No’, NIC’, Regis_No’, and ‘Phone_No
(^) Any one of these attributes can be selected as Primary key
(^) Candidate Keys for the STUDENT entity
Slide 11
(^) one of the Candidate Key is selected as Primary key, the other Candidate Keys of an entity become Alternate Keys