SlideShare a Scribd company logo
1 of 2
Chapter 5 
Terminology 
 A table is made out of records, records are made out of fields and fields are made out of 
characters. 
• The table (entity) must have a unique name 
• Each field (attribute) must have a unique name 
• Each record must be unique 
• Each field must only contain a single data item 
 A record is a single row within a table 
 A field is an individual item within a record. Each field within a record should have unique 
name. A field should only contain a single item of data. 
 A primary key allows a record in a table to be uniquely identified. Every value of the primary 
key must be unique – e.g. Student ID number, passport number, barcode, ISBN number etc. 
A simple key – is made up of a single field, e.g. student ID 
A composite primary key combines more than one field to make a unique value 
 A secondary key is a field that is considered suitable for indexing the data, It is used to sort 
the data in a different order to the primary key. 
 A foreign key is used to link tables together, a foreign key is a field in one table that is linked 
to a primary key in another table. The data types of the linked fields must be the same
Chapter 5 
Relationships and Entities

More Related Content

Viewers also liked

Promoção KeroKeroFesta
Promoção KeroKeroFestaPromoção KeroKeroFesta
Promoção KeroKeroFesta
Beatriz Maciel
 
Documento fotos cabeçote fresa kone
Documento fotos  cabeçote fresa koneDocumento fotos  cabeçote fresa kone
Documento fotos cabeçote fresa kone
Elias Ribeiro Elias
 
Instructional technology
Instructional technologyInstructional technology
Instructional technology
Amanda
 
Imprenditori Cinesi e dipendenti italiani
Imprenditori Cinesi e dipendenti italianiImprenditori Cinesi e dipendenti italiani
Imprenditori Cinesi e dipendenti italiani
Alessio Viscardi
 
การจัดแต่งเอกสาร ms word
การจัดแต่งเอกสาร ms wordการจัดแต่งเอกสาร ms word
การจัดแต่งเอกสาร ms word
タナコン チャイヤシ
 
REGLAMENTO ESTUDIANTIL UPC
REGLAMENTO ESTUDIANTIL UPCREGLAMENTO ESTUDIANTIL UPC
REGLAMENTO ESTUDIANTIL UPC
Romario Duran
 

Viewers also liked (14)

Storyboard
StoryboardStoryboard
Storyboard
 
Macro
MacroMacro
Macro
 
Juan Gelman
Juan Gelman Juan Gelman
Juan Gelman
 
Promoção KeroKeroFesta
Promoção KeroKeroFestaPromoção KeroKeroFesta
Promoção KeroKeroFesta
 
Documento fotos cabeçote fresa kone
Documento fotos  cabeçote fresa koneDocumento fotos  cabeçote fresa kone
Documento fotos cabeçote fresa kone
 
Instructional technology
Instructional technologyInstructional technology
Instructional technology
 
Passarello espedito y aranguren reingenieria y calidad en salud
Passarello espedito y  aranguren  reingenieria y calidad en saludPassarello espedito y  aranguren  reingenieria y calidad en salud
Passarello espedito y aranguren reingenieria y calidad en salud
 
Wicket ajax busy indicator [sc]
Wicket   ajax busy indicator [sc]Wicket   ajax busy indicator [sc]
Wicket ajax busy indicator [sc]
 
Formulir BDDN excel 2011
Formulir BDDN excel 2011Formulir BDDN excel 2011
Formulir BDDN excel 2011
 
Imprenditori Cinesi e dipendenti italiani
Imprenditori Cinesi e dipendenti italianiImprenditori Cinesi e dipendenti italiani
Imprenditori Cinesi e dipendenti italiani
 
การจัดแต่งเอกสาร ms word
การจัดแต่งเอกสาร ms wordการจัดแต่งเอกสาร ms word
การจัดแต่งเอกสาร ms word
 
REGLAMENTO ESTUDIANTIL UPC
REGLAMENTO ESTUDIANTIL UPCREGLAMENTO ESTUDIANTIL UPC
REGLAMENTO ESTUDIANTIL UPC
 
Lectura aproximacion a la educacion virtual
Lectura aproximacion a la educacion virtualLectura aproximacion a la educacion virtual
Lectura aproximacion a la educacion virtual
 
Les Français et la nature
Les Français et la natureLes Français et la nature
Les Français et la nature
 

Chapter 5

  • 1. Chapter 5 Terminology  A table is made out of records, records are made out of fields and fields are made out of characters. • The table (entity) must have a unique name • Each field (attribute) must have a unique name • Each record must be unique • Each field must only contain a single data item  A record is a single row within a table  A field is an individual item within a record. Each field within a record should have unique name. A field should only contain a single item of data.  A primary key allows a record in a table to be uniquely identified. Every value of the primary key must be unique – e.g. Student ID number, passport number, barcode, ISBN number etc. A simple key – is made up of a single field, e.g. student ID A composite primary key combines more than one field to make a unique value  A secondary key is a field that is considered suitable for indexing the data, It is used to sort the data in a different order to the primary key.  A foreign key is used to link tables together, a foreign key is a field in one table that is linked to a primary key in another table. The data types of the linked fields must be the same
  • 2. Chapter 5 Relationships and Entities