SlideShare uma empresa Scribd logo
1 de 20
AJAYI, Olusola Olajide
CSC Dept., AAU Akungba
olusola.ajayi@aaua.edu.ng
08137044500 / 07056433798
 Chap 1: Database Concepts
 Common Concepts
 Connecting to Databases
 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
 Instance: This refers to the content of a
particular database at a particular
point in time.
It can simply be regarded as the value of
a variable in a database.
 Schema: This refers to the logical
structure of the database.
It exists in two forms: Physical Schema
& Logical Schema.
 Physical schema described the
design of a database at physical
level e.g. storage of records unto
the database.
 Logical schema discusses the design
of a database at logical level e.g.
illustrating the relationship among /
between records/tables in a
database.
 …using MS-ACCESS
So, put on your system NOW and LOAD your
MS-ACCESS package.
 Creating Database (ourdb) &Tables (scorefile)
i. Matric_Data (containing matricno, dept, fac)
ii. Bio_Data (containing name, dob, soo, sex,
matricno)
iii. Testfile (containing matricno, csc301t_score,
csc303t_score, csc305t_score)
iv. Examfile (containing matricno, csc301e_score,
csc303e_score, csc305e_score)
i. Populate each table with 10 related records
ii. Generate MatricList based on Faculty
iii. Generate MatricList based on Department
iv. Generate MatricList based on Gender &
State
v. ComputeTOTAL and AVERAGE forTestfile
and Examfile
vi. Generate Matricno,Totaltestscore and
Totalexamscore for each candidate
vii. Generate a detail report showing all records
 Using the existing database (ourdb), create a
table called ELIGIBILITYfile such that it
contains the fllg fields:
 Name
 MatricNo
 Year of Birth
 SOO
 Nationality
 Region / Continent
 Populate the table with 15data
 From the data, fire the following queries:
 Candidates <=40 as eligible
 Candidates from Asian Countries as not eligible
 All Candidates from Africa as eligible except those
from the Southern Africa
 All Candidates from Nigeria as eligible except those
from Borno State
 Generate a Report that shows all the candidates
that applied
 Generate a Report that presents all candidates
from Africa
 TAKE HOME 1
 Create a database named STUDDB containing
STUDREG file/table (registration data of all
students in AAUA across the different faculties).
Populate the table with 30 data.
 Create a sister table, called STUDPAY, containing
students’ payment information. Also populate this
with corresponding 30 data.
 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.

Mais conteúdo relacionado

Mais procurados

Authority Control Part II
Authority Control Part IIAuthority Control Part II
Authority Control Part IIKelley Rowan
 
LIS 653, Session 7: Classification and Categorization
LIS 653, Session 7: Classification and CategorizationLIS 653, Session 7: Classification and Categorization
LIS 653, Session 7: Classification and CategorizationDr. Starr Hoffman
 
Introduction to data structure
Introduction to data structureIntroduction to data structure
Introduction to data structureNUPOORAWSARMOL
 
Introduction To Data Structures
Introduction To Data StructuresIntroduction To Data Structures
Introduction To Data StructuresSpotle.ai
 
Instructions to locate an abstract in the DOAJ
Instructions to locate an abstract in the DOAJInstructions to locate an abstract in the DOAJ
Instructions to locate an abstract in the DOAJY Casart
 
Spreadsheet basics ppt
Spreadsheet basics pptSpreadsheet basics ppt
Spreadsheet basics pptTammy Carter
 
What is authoritative information
What is authoritative informationWhat is authoritative information
What is authoritative informationjncorbin
 
Table naming convention
Table naming conventionTable naming convention
Table naming conventionDilip Murugan
 
Spreadsheets and databases
Spreadsheets and databasesSpreadsheets and databases
Spreadsheets and databasesDiana A. Pérez
 
Applied systems 1 vocabulary
Applied systems 1 vocabularyApplied systems 1 vocabulary
Applied systems 1 vocabularyPaola Rincón
 
CREATING SAVING & OPENING SPREADSHEET USING WORKSHEET https://youtu.be/r8Qj5D...
CREATING SAVING & OPENING SPREADSHEET USING WORKSHEET https://youtu.be/r8Qj5D...CREATING SAVING & OPENING SPREADSHEET USING WORKSHEET https://youtu.be/r8Qj5D...
CREATING SAVING & OPENING SPREADSHEET USING WORKSHEET https://youtu.be/r8Qj5D...Tasneem Ahmad
 

Mais procurados (18)

Struktur data ppt
Struktur data pptStruktur data ppt
Struktur data ppt
 
Authority Control Part II
Authority Control Part IIAuthority Control Part II
Authority Control Part II
 
Lesson 5
Lesson 5Lesson 5
Lesson 5
 
LIS 653, Session 7: Classification and Categorization
LIS 653, Session 7: Classification and CategorizationLIS 653, Session 7: Classification and Categorization
LIS 653, Session 7: Classification and Categorization
 
Databases
DatabasesDatabases
Databases
 
Introduction to data structure
Introduction to data structureIntroduction to data structure
Introduction to data structure
 
Introduction To Data Structures
Introduction To Data StructuresIntroduction To Data Structures
Introduction To Data Structures
 
Day 3 chapter 1 unit 1
Day 3 chapter 1 unit 1Day 3 chapter 1 unit 1
Day 3 chapter 1 unit 1
 
Instructions to locate an abstract in the DOAJ
Instructions to locate an abstract in the DOAJInstructions to locate an abstract in the DOAJ
Instructions to locate an abstract in the DOAJ
 
Spreadsheet basics ppt
Spreadsheet basics pptSpreadsheet basics ppt
Spreadsheet basics ppt
 
What is authoritative information
What is authoritative informationWhat is authoritative information
What is authoritative information
 
Table naming convention
Table naming conventionTable naming convention
Table naming convention
 
Data structures slideshare
Data structures slideshareData structures slideshare
Data structures slideshare
 
Spreadsheets and databases
Spreadsheets and databasesSpreadsheets and databases
Spreadsheets and databases
 
Applied systems 1 vocabulary
Applied systems 1 vocabularyApplied systems 1 vocabulary
Applied systems 1 vocabulary
 
data structure
data structuredata structure
data structure
 
Spreadsheet Concepts
Spreadsheet ConceptsSpreadsheet Concepts
Spreadsheet Concepts
 
CREATING SAVING & OPENING SPREADSHEET USING WORKSHEET https://youtu.be/r8Qj5D...
CREATING SAVING & OPENING SPREADSHEET USING WORKSHEET https://youtu.be/r8Qj5D...CREATING SAVING & OPENING SPREADSHEET USING WORKSHEET https://youtu.be/r8Qj5D...
CREATING SAVING & OPENING SPREADSHEET USING WORKSHEET https://youtu.be/r8Qj5D...
 

Semelhante a Csc303 part1 chap1

Chapter 6 (information system) answer
Chapter 6 (information system) answerChapter 6 (information system) answer
Chapter 6 (information system) answersmkengkilili2011
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentalscrystalpullen
 
Data Archiving and Processing
Data Archiving and ProcessingData Archiving and Processing
Data Archiving and ProcessingCRRC-Armenia
 
3. Biostatistics classification of data tabulation
3. Biostatistics classification of data tabulation3. Biostatistics classification of data tabulation
3. Biostatistics classification of data tabulationSudhakar Khot
 
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
 
Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.SivakumarSivakumar R D .
 
Database Management.pptx
Database Management.pptxDatabase Management.pptx
Database Management.pptxElProfesor14
 

Semelhante a Csc303 part1 chap1 (20)

Database: An Intro
Database: An IntroDatabase: An Intro
Database: An Intro
 
Chapter 6 (information system) answer
Chapter 6 (information system) answerChapter 6 (information system) answer
Chapter 6 (information system) answer
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 
Dbms
DbmsDbms
Dbms
 
Data structer chapter 1
Data structer   chapter 1 Data structer   chapter 1
Data structer chapter 1
 
Data Archiving and Processing
Data Archiving and ProcessingData Archiving and Processing
Data Archiving and Processing
 
Dbms
DbmsDbms
Dbms
 
3. Biostatistics classification of data tabulation
3. Biostatistics classification of data tabulation3. Biostatistics classification of data tabulation
3. Biostatistics classification of data tabulation
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
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
 
Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.Sivakumar
 
Fundamentals of Database Design
Fundamentals of Database DesignFundamentals of Database Design
Fundamentals of Database Design
 
Data processing
Data processingData processing
Data processing
 
Database Management.pptx
Database Management.pptxDatabase Management.pptx
Database Management.pptx
 
Access 2010
Access 2010Access 2010
Access 2010
 

Mais de Bro Shola Ajayi

Mais de Bro Shola Ajayi (12)

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
 
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
 

Último

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
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
 

Último (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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
 

Csc303 part1 chap1

  • 1. AJAYI, Olusola Olajide CSC Dept., AAU Akungba olusola.ajayi@aaua.edu.ng 08137044500 / 07056433798
  • 2.  Chap 1: Database Concepts  Common Concepts  Connecting to Databases
  • 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.  Instance: This refers to the content of a particular database at a particular point in time. It can simply be regarded as the value of a variable in a database.
  • 11.  Schema: This refers to the logical structure of the database. It exists in two forms: Physical Schema & Logical Schema.
  • 12.  Physical schema described the design of a database at physical level e.g. storage of records unto the database.
  • 13.  Logical schema discusses the design of a database at logical level e.g. illustrating the relationship among / between records/tables in a database.
  • 14.  …using MS-ACCESS So, put on your system NOW and LOAD your MS-ACCESS package.
  • 15.  Creating Database (ourdb) &Tables (scorefile) i. Matric_Data (containing matricno, dept, fac) ii. Bio_Data (containing name, dob, soo, sex, matricno) iii. Testfile (containing matricno, csc301t_score, csc303t_score, csc305t_score) iv. Examfile (containing matricno, csc301e_score, csc303e_score, csc305e_score)
  • 16. i. Populate each table with 10 related records ii. Generate MatricList based on Faculty iii. Generate MatricList based on Department iv. Generate MatricList based on Gender & State v. ComputeTOTAL and AVERAGE forTestfile and Examfile vi. Generate Matricno,Totaltestscore and Totalexamscore for each candidate vii. Generate a detail report showing all records
  • 17.  Using the existing database (ourdb), create a table called ELIGIBILITYfile such that it contains the fllg fields:  Name  MatricNo  Year of Birth  SOO  Nationality  Region / Continent
  • 18.  Populate the table with 15data  From the data, fire the following queries:  Candidates <=40 as eligible  Candidates from Asian Countries as not eligible  All Candidates from Africa as eligible except those from the Southern Africa  All Candidates from Nigeria as eligible except those from Borno State  Generate a Report that shows all the candidates that applied  Generate a Report that presents all candidates from Africa
  • 19.  TAKE HOME 1  Create a database named STUDDB containing STUDREG file/table (registration data of all students in AAUA across the different faculties). Populate the table with 30 data.  Create a sister table, called STUDPAY, containing students’ payment information. Also populate this with corresponding 30 data.
  • 20.  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.