SlideShare a Scribd company logo
1 of 13
PRESENTER
OUSMAN FAAL
Database Concept And
Terminology
What is a Database
 Its an organized collection of information which can
easily be retrieve.
 Telephone Book
 Mailing List
 Address List
 Set of data related for a specific purpose or topic.
 It includes tools needed to work with data, such as:
 Sorting
 Filtering
 Extracting
 Summarizing
Database Terminology
 Table
 A list of related information in columns and rows
 Each Row in a table is considered a Record (your information in
the phone book is a record)
 Each Column in the table is a category or a Field (a column of
phone numbers in the phone book would be considered field)
 One item of data, such as your phone number in the phone book is
called a Data value
Query
 A query is a database object that can be used to
extract or show information in Datasheet view.
 You can use a query to show all customers who has ordered a
certain product.
 A query can get its data from one or more tables, from existing
queries, or from a combination of the two. The tables or
queries from which a query gets its data are referred to as its
record source.
Forms
 A form is a database object that you can use to
enter, edit, or display data from a table or a query.
 For example, certain users might need to see only several fields
in a table with many fields. Providing those users with a form
that contains just those fields makes it easier for them to use
the database.
 A visually attractive form makes working with the database
more pleasant and more efficient, and it can also help prevent
incorrect data from being entered.
Report
 A report is another database object which can be
use to summarize information from a table or query.
 Reports can be very useful when you have already create
queries from tables and you want to analyze or summarize
those queries so that they can be ready for printing. And you
can be able to choose which fields you want in your report.
Macros
 A macro can be use to create an action or set of
actions that can be use to automate a task.
 You can create a macro to perform a specific series of actions.
 macros can be contained in macro objects or they can be
embedded into the forms and reports.
Relational Database Concept
 Ms Access is a Relational Database
 Contain multiple Tables
 Each Table pertains a specific topic
 We just need to add fields to each table that will contain data
that will uniquely identifies each record.
Name
Address
City
Phone#
Customers
Account#
Account Type
Date Opened
Balance
Accounts
Primary Keys
 A primary key is a field or set of fields in your
table that provide Ms Access with a unique identifier
for every row.
 In a relational database you divide your information into
separate tables. You then use table relationships and primary
keys to bring the information together.
 Each table in a database must have a primary key before it can
be related to another table.
Primary Keys and Foreign Keys
• For example, a Customer ID field in the Customers
table might also appear in the Accounts table. In the
Customers table, it is the primary key. In the Accounts
table it is called a foreign key. A foreign key, simply
stated, is another table's primary key.
Primary Table Related Table
Customer
ID (*)
Name
Address
City
Phone#
Customers
Customer ID
Account# (*)
Account Type
Date Opened
Balance
Accounts
Types Of Relationship
 One-to-One relationship exist when a primary
record from the primary table has only one related
record in the related table.
 You might use a one-to-one relationship to divide a table with
many fields, to isolate part of a table for security reasons, or to
store information that applies only to a subset of the main
table
 One-to-Many relationship exist when a primary
record from the primary table is related to many
records in the related table.
 One customer can have many accounts
 One customer can order many products
 One person may have many phone numbers
 A person may have multiple e-mail addresses
 A music CD usually has many songs
 Many-to-Many relationship exist when a
primary record from the primary table is related to
many records in the related table AND a related
record in the related table is also related to many
records in the primary table.
 People can have many address; and addresses may have
many people
 A single order can include more than one product. On the
other hand, a single product can appear on many orders.
 A supplier can carry many products; and a single product
may be available from many suppliers
 A student takes many classes; and each class has many
students

More Related Content

What's hot

Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Introduction to database & sql
Introduction to database & sqlIntroduction to database & sql
Introduction to database & sqlzahid6
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational modelChirag vasava
 
Creating a database
Creating a databaseCreating a database
Creating a databaseRahul Gupta
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationshipswmassie
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship DiagramShakila Mahjabin
 
Database management system
Database management systemDatabase management system
Database management systemSayed Ahmed
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity ConstraintsMegha yadav
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksskomadina
 

What's hot (20)

Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Introduction to database & sql
Introduction to database & sqlIntroduction to database & sql
Introduction to database & sql
 
Entities and attributes
Entities and attributesEntities and attributes
Entities and attributes
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Creating a database
Creating a databaseCreating a database
Creating a database
 
DBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCLDBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCL
 
MySQL and its basic commands
MySQL and its basic commandsMySQL and its basic commands
MySQL and its basic commands
 
RDBMS concepts
RDBMS conceptsRDBMS concepts
RDBMS concepts
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 
Ms access
Ms accessMs access
Ms access
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationships
 
Dbms
DbmsDbms
Dbms
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Database management system
Database management systemDatabase management system
Database management system
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
database
databasedatabase
database
 
Relational model
Relational modelRelational model
Relational model
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
 

Viewers also liked

Introduction To Blogging
Introduction To BloggingIntroduction To Blogging
Introduction To BloggingOusman Faal
 
Google Search Techniques
Google Search TechniquesGoogle Search Techniques
Google Search TechniquesOusman Faal
 
Internet Awareness
Internet AwarenessInternet Awareness
Internet AwarenessOusman Faal
 
Effective Presentation Using PowerPoint
Effective Presentation Using PowerPointEffective Presentation Using PowerPoint
Effective Presentation Using PowerPointOusman Faal
 
ระบบจัดการหอพัก
ระบบจัดการหอพักระบบจัดการหอพัก
ระบบจัดการหอพักmeaw_concon
 
ตัวอย่าง DFD level 1
ตัวอย่าง DFD level 1ตัวอย่าง DFD level 1
ตัวอย่าง DFD level 1rubtumproject.com
 
ระบบจัดการร้านเบเกอรี่
ระบบจัดการร้านเบเกอรี่ระบบจัดการร้านเบเกอรี่
ระบบจัดการร้านเบเกอรี่Visiene Lssbh
 
การเขียนแผนภาพ DFD
การเขียนแผนภาพ DFDการเขียนแผนภาพ DFD
การเขียนแผนภาพ DFDskiats
 
Hands on robotics in coimbatore
Hands on robotics in coimbatoreHands on robotics in coimbatore
Hands on robotics in coimbatoreHands-On Robotics
 
ENGAGEMENT SOCIAL DES ETABLISSEMENTS FINANCIERS
 ENGAGEMENT SOCIAL DES ETABLISSEMENTS FINANCIERS ENGAGEMENT SOCIAL DES ETABLISSEMENTS FINANCIERS
ENGAGEMENT SOCIAL DES ETABLISSEMENTS FINANCIERSRaphaëlle Monier
 
Joseph george kalure certificates (1)
Joseph george kalure certificates (1)Joseph george kalure certificates (1)
Joseph george kalure certificates (1)Joseph Kalure
 
Sindhuja updated resume (1) (1) (1)
Sindhuja updated resume (1) (1) (1)Sindhuja updated resume (1) (1) (1)
Sindhuja updated resume (1) (1) (1)sindhuja d
 
Martinez Polling Company Final Report (1)
Martinez Polling Company Final Report  (1)Martinez Polling Company Final Report  (1)
Martinez Polling Company Final Report (1)Alexandria Martinez
 

Viewers also liked (18)

Introduction To Blogging
Introduction To BloggingIntroduction To Blogging
Introduction To Blogging
 
Google Search Techniques
Google Search TechniquesGoogle Search Techniques
Google Search Techniques
 
Internet Awareness
Internet AwarenessInternet Awareness
Internet Awareness
 
Effective Presentation Using PowerPoint
Effective Presentation Using PowerPointEffective Presentation Using PowerPoint
Effective Presentation Using PowerPoint
 
ระบบจัดการหอพัก
ระบบจัดการหอพักระบบจัดการหอพัก
ระบบจัดการหอพัก
 
ตัวอย่าง DFD level 1
ตัวอย่าง DFD level 1ตัวอย่าง DFD level 1
ตัวอย่าง DFD level 1
 
ระบบจัดการร้านเบเกอรี่
ระบบจัดการร้านเบเกอรี่ระบบจัดการร้านเบเกอรี่
ระบบจัดการร้านเบเกอรี่
 
การเขียนแผนภาพ DFD
การเขียนแผนภาพ DFDการเขียนแผนภาพ DFD
การเขียนแผนภาพ DFD
 
Hands on robotics in coimbatore
Hands on robotics in coimbatoreHands on robotics in coimbatore
Hands on robotics in coimbatore
 
ENGAGEMENT SOCIAL DES ETABLISSEMENTS FINANCIERS
 ENGAGEMENT SOCIAL DES ETABLISSEMENTS FINANCIERS ENGAGEMENT SOCIAL DES ETABLISSEMENTS FINANCIERS
ENGAGEMENT SOCIAL DES ETABLISSEMENTS FINANCIERS
 
Augmenta
AugmentaAugmenta
Augmenta
 
Joseph george kalure certificates (1)
Joseph george kalure certificates (1)Joseph george kalure certificates (1)
Joseph george kalure certificates (1)
 
Sindhuja updated resume (1) (1) (1)
Sindhuja updated resume (1) (1) (1)Sindhuja updated resume (1) (1) (1)
Sindhuja updated resume (1) (1) (1)
 
Opovo 6
Opovo 6Opovo 6
Opovo 6
 
Cenovnik FLP proizvoda
Cenovnik FLP proizvodaCenovnik FLP proizvoda
Cenovnik FLP proizvoda
 
1 الباب الاول
1 الباب الاول1 الباب الاول
1 الباب الاول
 
Martinez Polling Company Final Report (1)
Martinez Polling Company Final Report  (1)Martinez Polling Company Final Report  (1)
Martinez Polling Company Final Report (1)
 
свистушкин
свистушкинсвистушкин
свистушкин
 

Similar to Database Concepts and Terminologies (20)

18 database features
18 database features18 database features
18 database features
 
Data processing
Data processingData processing
Data processing
 
CIS145 Final Review
CIS145 Final ReviewCIS145 Final Review
CIS145 Final Review
 
Cis145 Final Review
Cis145 Final ReviewCis145 Final Review
Cis145 Final Review
 
Access 2010
Access 2010Access 2010
Access 2010
 
Cis145 Final Review
Cis145 Final ReviewCis145 Final Review
Cis145 Final Review
 
Create a table access - office
Create a table   access - officeCreate a table   access - office
Create a table access - office
 
1. access
1. access1. access
1. access
 
Ms access 2010
Ms access 2010Ms access 2010
Ms access 2010
 
Database
DatabaseDatabase
Database
 
Database Fundamentals
Database FundamentalsDatabase Fundamentals
Database Fundamentals
 
Databases
DatabasesDatabases
Databases
 
MS ACCESS Tutorials
MS ACCESS TutorialsMS ACCESS Tutorials
MS ACCESS Tutorials
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access Tutorial
 
Database
Database Database
Database
 
Data resource management
Data resource managementData resource management
Data resource management
 
CIS 145 test 1 review
CIS 145 test 1 reviewCIS 145 test 1 review
CIS 145 test 1 review
 
access1.ppt
access1.pptaccess1.ppt
access1.ppt
 
10359485
1035948510359485
10359485
 
Database
DatabaseDatabase
Database
 

Recently uploaded

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

Database Concepts and Terminologies

  • 2. What is a Database  Its an organized collection of information which can easily be retrieve.  Telephone Book  Mailing List  Address List  Set of data related for a specific purpose or topic.  It includes tools needed to work with data, such as:  Sorting  Filtering  Extracting  Summarizing
  • 3. Database Terminology  Table  A list of related information in columns and rows  Each Row in a table is considered a Record (your information in the phone book is a record)  Each Column in the table is a category or a Field (a column of phone numbers in the phone book would be considered field)  One item of data, such as your phone number in the phone book is called a Data value
  • 4. Query  A query is a database object that can be used to extract or show information in Datasheet view.  You can use a query to show all customers who has ordered a certain product.  A query can get its data from one or more tables, from existing queries, or from a combination of the two. The tables or queries from which a query gets its data are referred to as its record source.
  • 5. Forms  A form is a database object that you can use to enter, edit, or display data from a table or a query.  For example, certain users might need to see only several fields in a table with many fields. Providing those users with a form that contains just those fields makes it easier for them to use the database.  A visually attractive form makes working with the database more pleasant and more efficient, and it can also help prevent incorrect data from being entered.
  • 6. Report  A report is another database object which can be use to summarize information from a table or query.  Reports can be very useful when you have already create queries from tables and you want to analyze or summarize those queries so that they can be ready for printing. And you can be able to choose which fields you want in your report.
  • 7. Macros  A macro can be use to create an action or set of actions that can be use to automate a task.  You can create a macro to perform a specific series of actions.  macros can be contained in macro objects or they can be embedded into the forms and reports.
  • 8. Relational Database Concept  Ms Access is a Relational Database  Contain multiple Tables  Each Table pertains a specific topic  We just need to add fields to each table that will contain data that will uniquely identifies each record. Name Address City Phone# Customers Account# Account Type Date Opened Balance Accounts
  • 9. Primary Keys  A primary key is a field or set of fields in your table that provide Ms Access with a unique identifier for every row.  In a relational database you divide your information into separate tables. You then use table relationships and primary keys to bring the information together.  Each table in a database must have a primary key before it can be related to another table.
  • 10. Primary Keys and Foreign Keys • For example, a Customer ID field in the Customers table might also appear in the Accounts table. In the Customers table, it is the primary key. In the Accounts table it is called a foreign key. A foreign key, simply stated, is another table's primary key. Primary Table Related Table Customer ID (*) Name Address City Phone# Customers Customer ID Account# (*) Account Type Date Opened Balance Accounts
  • 11. Types Of Relationship  One-to-One relationship exist when a primary record from the primary table has only one related record in the related table.  You might use a one-to-one relationship to divide a table with many fields, to isolate part of a table for security reasons, or to store information that applies only to a subset of the main table
  • 12.  One-to-Many relationship exist when a primary record from the primary table is related to many records in the related table.  One customer can have many accounts  One customer can order many products  One person may have many phone numbers  A person may have multiple e-mail addresses  A music CD usually has many songs
  • 13.  Many-to-Many relationship exist when a primary record from the primary table is related to many records in the related table AND a related record in the related table is also related to many records in the primary table.  People can have many address; and addresses may have many people  A single order can include more than one product. On the other hand, a single product can appear on many orders.  A supplier can carry many products; and a single product may be available from many suppliers  A student takes many classes; and each class has many students