SlideShare a Scribd company logo
1 of 12
AJAYI, Olusola Olajide
CSC Dept., AAU Akungba
olusola.ajayi@aaua.edu.ng
08137044500 / 07056433798
 Chap 1: Database Concepts
 Definitions of common concepts
 Other concepts
 Database vsTraditional File System
 Intro to SQL
 Data/Data Item:
It is regarded as the smallest element
in a database system.
It is the smallest indivisible element or
component in a database system.
 Database:
This can be viewed as the collection of
related data.
It can also be said to be a repository
of data.
…base
 Database Management System:
This is a software that manages
database files.
It is a shared and integrated computer
structure that stores data.
Operational Data
…..inputs
Meta Data
…..query generated data
i.e. data about data
Output Data
…..outputs i.e.
Report etc.
 ROW: Is defined as a collection of data items belonging to an entity. It
represents RECORD of such an entity.
ID Matric Name Sex Reg.
No
Age
001 140404001 Ade Peters M 789 45
002 140404002 Anthony Joshua M 790 27
003 140404003 EkwesiliCecilia F 791 56
004 140404004 Aisha Buhari F 792 63
Record
belonging
to AJ!
 COLUMN: Is defined as a collection of data items belonging to
different entities. It represents FIELD in such entities.
ID Matric Name Sex Reg.
No
Age
001 140404001 Ade Peters M 789 45
002 140404002 Anthony Joshua M 790 27
003 140404003 EkwesiliCecilia F 791 56
004 140404004 Aisha Buhari F 792 63
Matric
FIELD
common to
all entities
 TABLE: Is defined as a collection of related RECORDS belonging to
entities in such a table/file.
ID Matric Name Sex Reg.
No
Age
001 140404001 Ade Peters M 789 45
002 140404002 Anthony Joshua M 790 27
003 140404003 EkwesiliCecilia F 791 56
004 140404004 Aisha Buhari F 792 63 TABLE
 DATABASE: Is defined as a collection of logically related
TABLES/FILES.
ID Matric Name Sex Reg.
No
Age
001 140404001 Ade Peters M 789 45
002 140404002 Anthony Joshua M 790 27
003 140404003 EkwesiliCecilia F 791 56
TABLE 1 /
FILE 1:
studfile
ID Matric Score Grade
001 140404001 67 B
002 140404002 54 C
003 140404003 89 A
TABLE 2 /
FILE 2:
csc212ex
…both stored
into one (1)
DATABASE
 …using MS-ACCESS
 So, put on your system NOW and LOAD your
MS-ACCESS package.
 TAKE HOME 1
 Database VS Traditional File System: Comment on the
‘Fight’
 Create a database named STAFFDB; in it have two
files: staffpro and staffacco. While staffprofile depicts
the bio-data (typical of a CV) of staff, staffacco stores
info about accomplishment of staff (e.g. laurels won
etc.).
 Create a database named STUDDB containing
studreg (registration data of all students in AAUA).
 TAKE HOME 2
 Consider a Customer and a Producer. Ponder
computationally and come up with the necessary
fields for both entities for the design of your tables.
Further work on these entities by populating each
with 20 records.
 From the Customer and Producer tables, fire queries
to detect : a. Customers and Producers residing in
Lagos; b. Producers that major in electronics;
c. Producers that have more than one branch.
 Generate Report for (a) Customers (b) Producers
(c) the meta data generated

More Related Content

What's hot (19)

Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.Sivakumar
 
Library Research for Education Students
Library Research for Education StudentsLibrary Research for Education Students
Library Research for Education Students
 
L4 working with tables and data
L4 working with tables and dataL4 working with tables and data
L4 working with tables and data
 
Research_Paper_Final_ISSC431_Intindolo
Research_Paper_Final_ISSC431_IntindoloResearch_Paper_Final_ISSC431_Intindolo
Research_Paper_Final_ISSC431_Intindolo
 
Ehis Eds Europe May2009 Brussels Deel 1
Ehis Eds Europe May2009  Brussels   Deel 1Ehis Eds Europe May2009  Brussels   Deel 1
Ehis Eds Europe May2009 Brussels Deel 1
 
Data structures introduction
Data structures   introductionData structures   introduction
Data structures introduction
 
Database
Database Database
Database
 
Classification 1207530467697071 9
Classification 1207530467697071 9Classification 1207530467697071 9
Classification 1207530467697071 9
 
Lecture 2b lists
Lecture 2b listsLecture 2b lists
Lecture 2b lists
 
LAWE2530
LAWE2530LAWE2530
LAWE2530
 
Programming concepts and data management
Programming concepts and data management Programming concepts and data management
Programming concepts and data management
 
Day 3 chapter 1 unit 1
Day 3 chapter 1 unit 1Day 3 chapter 1 unit 1
Day 3 chapter 1 unit 1
 
Intro To DataBase
Intro To DataBaseIntro To DataBase
Intro To DataBase
 
Database intro
Database introDatabase intro
Database intro
 
Directory implementation and allocation methods
Directory implementation and allocation methodsDirectory implementation and allocation methods
Directory implementation and allocation methods
 
Instruction Pp
Instruction PpInstruction Pp
Instruction Pp
 
The MLA International Bibliography and JSTOR
The MLA International Bibliography and JSTORThe MLA International Bibliography and JSTOR
The MLA International Bibliography and JSTOR
 
Database Analysis
Database AnalysisDatabase Analysis
Database Analysis
 
Databases
DatabasesDatabases
Databases
 

Similar to Database: An Introduction

Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentalscrystalpullen
 
Chapter 6 (information system) answer
Chapter 6 (information system) answerChapter 6 (information system) answer
Chapter 6 (information system) answersmkengkilili2011
 
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...Bahria University Islamabad, Pakistan
 
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Conceptsoudesign
 
Research data management
Research data managementResearch data management
Research data managementLeon Osinski
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Bahria University Islamabad, Pakistan
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Bahria University Islamabad, Pakistan
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 

Similar to Database: An Introduction (20)

Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 
Chapter 6 (information system) answer
Chapter 6 (information system) answerChapter 6 (information system) answer
Chapter 6 (information system) answer
 
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
 
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
 
Database system Handbook 3rd DONE Complete DBMS book Full book.pdf
Database system Handbook 3rd DONE Complete DBMS book Full book.pdfDatabase system Handbook 3rd DONE Complete DBMS book Full book.pdf
Database system Handbook 3rd DONE Complete DBMS book Full book.pdf
 
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
 
Database system Handbook 3rd DONE Complete DBMS book Full book.pdf
Database system Handbook 3rd DONE Complete DBMS book Full book.pdfDatabase system Handbook 3rd DONE Complete DBMS book Full book.pdf
Database system Handbook 3rd DONE Complete DBMS book Full book.pdf
 
Database system Handbook 3rd DONE Complete DBMS book Full book.pdf
Database system Handbook 3rd DONE Complete DBMS book Full book.pdfDatabase system Handbook 3rd DONE Complete DBMS book Full book.pdf
Database system Handbook 3rd DONE Complete DBMS book Full book.pdf
 
Dbms
DbmsDbms
Dbms
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
 
Research data management
Research data managementResearch data management
Research data management
 
Database systems Handbook 4th dbms by Muhammad Sharif.pdf
Database systems Handbook 4th  dbms by Muhammad Sharif.pdfDatabase systems Handbook 4th  dbms by Muhammad Sharif.pdf
Database systems Handbook 4th dbms by Muhammad Sharif.pdf
 
Database systems Handbook 4th dbms by Muhammad Sharif.pdf
Database systems Handbook 4th  dbms by Muhammad Sharif.pdfDatabase systems Handbook 4th  dbms by Muhammad Sharif.pdf
Database systems Handbook 4th dbms by Muhammad Sharif.pdf
 
Database systems Handbook 4th dbms by Muhammad Sharif.pdf
Database systems Handbook 4th  dbms by Muhammad Sharif.pdfDatabase systems Handbook 4th  dbms by Muhammad Sharif.pdf
Database systems Handbook 4th dbms by Muhammad Sharif.pdf
 
Database
DatabaseDatabase
Database
 
Access 2010
Access 2010Access 2010
Access 2010
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
 

More from Bro Shola Ajayi

More from Bro Shola Ajayi (13)

DMA Chap2
DMA Chap2DMA Chap2
DMA Chap2
 
DMA113 Chap1
DMA113 Chap1DMA113 Chap1
DMA113 Chap1
 
STRUCTURED PROGRAMMING Chap2
STRUCTURED PROGRAMMING Chap2STRUCTURED PROGRAMMING Chap2
STRUCTURED PROGRAMMING Chap2
 
CSC431_Chap1
CSC431_Chap1CSC431_Chap1
CSC431_Chap1
 
Csc413 chap1
Csc413 chap1Csc413 chap1
Csc413 chap1
 
INTRO TO SQL
INTRO TO SQLINTRO TO SQL
INTRO TO SQL
 
Intro to Web Prog
Intro to Web ProgIntro to Web Prog
Intro to Web Prog
 
Database: An Intro
Database: An IntroDatabase: An Intro
Database: An Intro
 
Seminar on cgpa calculation
Seminar on cgpa calculationSeminar on cgpa calculation
Seminar on cgpa calculation
 
CSC426 - SDLC Models
CSC426 - SDLC ModelsCSC426 - SDLC Models
CSC426 - SDLC Models
 
CSC426 - Software Engineering Lecture Note Cont'd
CSC426   - Software Engineering Lecture Note Cont'dCSC426   - Software Engineering Lecture Note Cont'd
CSC426 - Software Engineering Lecture Note Cont'd
 
CSC426 - Software Engineering Lecture Note
CSC426   - Software Engineering Lecture NoteCSC426   - Software Engineering Lecture Note
CSC426 - Software Engineering Lecture Note
 
Requirement analysis
Requirement analysisRequirement analysis
Requirement analysis
 

Recently uploaded

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 

Database: An Introduction

  • 1. AJAYI, Olusola Olajide CSC Dept., AAU Akungba olusola.ajayi@aaua.edu.ng 08137044500 / 07056433798
  • 2.  Chap 1: Database Concepts  Definitions of common concepts  Other concepts  Database vsTraditional File System  Intro to SQL
  • 3.  Data/Data Item: It is regarded as the smallest element in a database system. It is the smallest indivisible element or component in a database system.
  • 4.  Database: This can be viewed as the collection of related data. It can also be said to be a repository of data. …base
  • 5.  Database Management System: This is a software that manages database files. It is a shared and integrated computer structure that stores data. Operational Data …..inputs Meta Data …..query generated data i.e. data about data Output Data …..outputs i.e. Report etc.
  • 6.  ROW: Is defined as a collection of data items belonging to an entity. It represents RECORD of such an entity. ID Matric Name Sex Reg. No Age 001 140404001 Ade Peters M 789 45 002 140404002 Anthony Joshua M 790 27 003 140404003 EkwesiliCecilia F 791 56 004 140404004 Aisha Buhari F 792 63 Record belonging to AJ!
  • 7.  COLUMN: Is defined as a collection of data items belonging to different entities. It represents FIELD in such entities. ID Matric Name Sex Reg. No Age 001 140404001 Ade Peters M 789 45 002 140404002 Anthony Joshua M 790 27 003 140404003 EkwesiliCecilia F 791 56 004 140404004 Aisha Buhari F 792 63 Matric FIELD common to all entities
  • 8.  TABLE: Is defined as a collection of related RECORDS belonging to entities in such a table/file. ID Matric Name Sex Reg. No Age 001 140404001 Ade Peters M 789 45 002 140404002 Anthony Joshua M 790 27 003 140404003 EkwesiliCecilia F 791 56 004 140404004 Aisha Buhari F 792 63 TABLE
  • 9.  DATABASE: Is defined as a collection of logically related TABLES/FILES. ID Matric Name Sex Reg. No Age 001 140404001 Ade Peters M 789 45 002 140404002 Anthony Joshua M 790 27 003 140404003 EkwesiliCecilia F 791 56 TABLE 1 / FILE 1: studfile ID Matric Score Grade 001 140404001 67 B 002 140404002 54 C 003 140404003 89 A TABLE 2 / FILE 2: csc212ex …both stored into one (1) DATABASE
  • 10.  …using MS-ACCESS  So, put on your system NOW and LOAD your MS-ACCESS package.
  • 11.  TAKE HOME 1  Database VS Traditional File System: Comment on the ‘Fight’  Create a database named STAFFDB; in it have two files: staffpro and staffacco. While staffprofile depicts the bio-data (typical of a CV) of staff, staffacco stores info about accomplishment of staff (e.g. laurels won etc.).  Create a database named STUDDB containing studreg (registration data of all students in AAUA).
  • 12.  TAKE HOME 2  Consider a Customer and a Producer. Ponder computationally and come up with the necessary fields for both entities for the design of your tables. Further work on these entities by populating each with 20 records.  From the Customer and Producer tables, fire queries to detect : a. Customers and Producers residing in Lagos; b. Producers that major in electronics; c. Producers that have more than one branch.  Generate Report for (a) Customers (b) Producers (c) the meta data generated