SlideShare a Scribd company logo
Lecture 11
Introduction to Databases
Today’s lecture outline
Databases1
Where are databases used?
1) Maintaining address-books
2) Managing household budgets
3) Maintaining a home book-library
a.
Where are databases used?
b.
1) Inventory tracking system
2) Human resources/ payroll
3) Discipline specific databases
Where are databases used?
c.
1) Police
2) Vehicle Registery
3) Banks
4) Tax records/ National IDs
5) All dynamic websites
Where are databases used?
d.
1) Google
2) Amazon
3) Youtube
4) Websites having search facility
Databases Types2
Flat-file Databases2.a
Flat file tables
Student Reg. No.
ICT marks
Student Reg. No.
ECA marks
Student Reg. No.
Student Name
Home City
City
Province
Rural/ Urban
Student Reg. No. ICT marks
001 84
002 80
003 86
004 67
005 72
006 88
ICT instructor’s table
A record, row or a tuple
An attribute or a column
Student Reg. No. ECA marks
001 72
002 83
003 66
004 87
005 82
006 91
ECA instructor’s table
Student Reg. No. Student’s Name Home City
001 Ahmad Karachi
002 Mustafa Lahore
003 Hassan Sukhur
004 Qasim Peshawar
005 Tayyib Swat
006 Tahir Zhob
Training Branch’s table1
This column is shared between all tables till now
City Province
Rural/
Urban
Karachi Sindh Urban
Lahore Punjab Urban
Sukhur Sindh Rural
Peshawar NWFP Urban
Swat NWFP Rural
Zhob Balochistan Rural
Training Branch’s table2
This column is shared with the table before
One flat file database
Student Reg. No.
ICT marks
ECA marks
Student Name
Home City
Home Province
City—Rural/ Urban
16
Q. Who’s the best student?
Suppose, we are interested to find
the highest scoring urban student.
Problem: Searching a text file will not be
efficient for large sizes of text file.
Reason: One has to search sequentially
through the entire file to gather desired info.
How can performance be improved?
Relational Databases2.b
Relational databases
Student
Reg. No.
ICT marks
Student
Reg. No.
ECA marks
Student
Reg. No.
Student
Name
Home City
City
Province
Rural/ Urban
Student
Reg. No.
ICT
marks
ECA
marks
001 84 72
002 80 83
004 67 87
New table generated
Total
marks
156
163
154
It’s easy to find the highest-scoring
rural student in the generated table
Relational Database Schema
Student
Reg. No.
ICT marks
Student
Reg. No.
ECA marks
Student
Reg. No.
Student
Name
Home City
City
Province
Rural/
Urban
In a relational database, the schema defines:
1) the tables,
2) the fields in each table, and
3) the relationships between fields and tables.
Databases
Management System3
What is a DBMS?
A database management system is a
software system that manages databases.
:
1) Data Housekeeping
(e.g., creating/ deleting/ backing up tables; data entry)
2) Data Sorting
3) Data Searching
4) Data Query Response and Report Generation
What is a DBMS?
A DBMS ensures the following:
1) Data Integrity (correctness and consistency)
 Type Integrity (e.g., char input instead of numeric)
 Limit Integrity (e.g., age cannot be negative)
 Referential Integrity (e.g., referred item must exist)
2) Data Accessibility (support for concurrency)
3) Data Security (proper access control)
Data querying: SQL
SQL is the standard database query language
SQL is a 4G Computer language (non-
procedural query specification language)
:
1) Database schema creation/ modification
2) Retrieving/ manipulating database data
SQL example
SELECT isbn, title, price, date
FROM Book
WHERE price > 100.00 AND (date = '2004-04-16' OR date =
'2005-04-16') ORDER BY title;
ISBN Title Author Edition InStock Price Date
… … … … … … …
… … … … … … …
… … … … … … …
… … … … … … …
… … … … … … …
… … … … … … …
… … … … … … …
The database table: Book
Popular DBMS4
Example DBMS: MySQL
Data Mining5
What is Data Mining?
Data mining is the process of (automatically)
extracting useful information from data
Also known as Knowledge Discovery in
Databases (KDD)
Data mining is used in:
1) Recommender systems
2) Pattern mining
Recommender Systems
Youtube Amazon
Pattern Mining
NZ team uses SAS data
mining software for making
team strategy
Today’s lecture summary
http://tinyurl.com/5hb8pp

More Related Content

What's hot

Data structures Lecture no.3
Data structures Lecture no.3Data structures Lecture no.3
Data structures Lecture no.3
AzharIqbal710687
 
Data structures Lecture no. 2
Data structures Lecture no. 2Data structures Lecture no. 2
Data structures Lecture no. 2
AzharIqbal710687
 
Data structures lectures no 1
Data structures lectures no 1Data structures lectures no 1
Data structures lectures no 1
AzharIqbal710687
 
RDBMS Arch & Models
RDBMS Arch & ModelsRDBMS Arch & Models
RDBMS Arch & ModelsSarmad Ali
 
Elements analysis dfd_er_std
Elements analysis dfd_er_stdElements analysis dfd_er_std
Elements analysis dfd_er_std
Ammar Jamali
 

What's hot (8)

Data structures Lecture no.3
Data structures Lecture no.3Data structures Lecture no.3
Data structures Lecture no.3
 
Data structures Lecture no. 2
Data structures Lecture no. 2Data structures Lecture no. 2
Data structures Lecture no. 2
 
Data structures lectures no 1
Data structures lectures no 1Data structures lectures no 1
Data structures lectures no 1
 
DATA BASE MODEL Rohini
DATA BASE MODEL RohiniDATA BASE MODEL Rohini
DATA BASE MODEL Rohini
 
03usecase
03usecase03usecase
03usecase
 
RDBMS Arch & Models
RDBMS Arch & ModelsRDBMS Arch & Models
RDBMS Arch & Models
 
Db sys concept
Db sys conceptDb sys concept
Db sys concept
 
Elements analysis dfd_er_std
Elements analysis dfd_er_stdElements analysis dfd_er_std
Elements analysis dfd_er_std
 

Similar to Week11 final

RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
milanmehta7
 
Lecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.pptLecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.ppt
Prabin Pandit
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databases
MR Z
 
Database, Lecture-1.ppt
Database, Lecture-1.pptDatabase, Lecture-1.ppt
Database, Lecture-1.ppt
MatshushimaSumaya
 
Introduction to DBMS and SQL Overview
Introduction to DBMS and SQL OverviewIntroduction to DBMS and SQL Overview
Introduction to DBMS and SQL Overview
Prabu U
 
DISE - Database Concepts
DISE - Database ConceptsDISE - Database Concepts
DISE - Database Concepts
Rasan Samarasinghe
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
SSN College of Engineering, Kalavakkam
 
EDI Training Module 6: Creating Quality Metadata
EDI Training Module 6:  Creating Quality MetadataEDI Training Module 6:  Creating Quality Metadata
EDI Training Module 6: Creating Quality Metadata
Environmental Data Initiative
 
EDI Training Module 12: An Introduction to Metadata and Data Repositories
EDI Training Module 12:  An Introduction to Metadata and Data RepositoriesEDI Training Module 12:  An Introduction to Metadata and Data Repositories
EDI Training Module 12: An Introduction to Metadata and Data Repositories
Environmental Data Initiative
 
DBMS_Unit_1.pptx
DBMS_Unit_1.pptxDBMS_Unit_1.pptx
DBMS_Unit_1.pptx
Amit Vyas
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
Rupali Rana
 
Database management systems
Database management systemsDatabase management systems
Database management systems
Ravindra Singh Gohil
 
DBMS
DBMSDBMS
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
Surkhab Shelly
 
New Directions in Metadata
New Directions in MetadataNew Directions in Metadata
New Directions in Metadata
suyu22
 
APPLICATION 2.4Projectile motionAbout 400 yr ago, the phys.docx
APPLICATION 2.4Projectile motionAbout 400 yr ago, the phys.docxAPPLICATION 2.4Projectile motionAbout 400 yr ago, the phys.docx
APPLICATION 2.4Projectile motionAbout 400 yr ago, the phys.docx
armitageclaire49
 

Similar to Week11 final (20)

RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
 
Lecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.pptLecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.ppt
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databases
 
Database, Lecture-1.ppt
Database, Lecture-1.pptDatabase, Lecture-1.ppt
Database, Lecture-1.ppt
 
Dbms Basics
Dbms BasicsDbms Basics
Dbms Basics
 
Introduction to DBMS and SQL Overview
Introduction to DBMS and SQL OverviewIntroduction to DBMS and SQL Overview
Introduction to DBMS and SQL Overview
 
D B M S Animate
D B M S AnimateD B M S Animate
D B M S Animate
 
DISE - Database Concepts
DISE - Database ConceptsDISE - Database Concepts
DISE - Database Concepts
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
EDI Training Module 6: Creating Quality Metadata
EDI Training Module 6:  Creating Quality MetadataEDI Training Module 6:  Creating Quality Metadata
EDI Training Module 6: Creating Quality Metadata
 
EDI Training Module 12: An Introduction to Metadata and Data Repositories
EDI Training Module 12:  An Introduction to Metadata and Data RepositoriesEDI Training Module 12:  An Introduction to Metadata and Data Repositories
EDI Training Module 12: An Introduction to Metadata and Data Repositories
 
DBMS_Unit_1.pptx
DBMS_Unit_1.pptxDBMS_Unit_1.pptx
DBMS_Unit_1.pptx
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Database
DatabaseDatabase
Database
 
Database
DatabaseDatabase
Database
 
DBMS
DBMSDBMS
DBMS
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
New Directions in Metadata
New Directions in MetadataNew Directions in Metadata
New Directions in Metadata
 
APPLICATION 2.4Projectile motionAbout 400 yr ago, the phys.docx
APPLICATION 2.4Projectile motionAbout 400 yr ago, the phys.docxAPPLICATION 2.4Projectile motionAbout 400 yr ago, the phys.docx
APPLICATION 2.4Projectile motionAbout 400 yr ago, the phys.docx
 

More from Irfan Ali Memon

MaMarksheet
MaMarksheetMaMarksheet
MaMarksheet
Irfan Ali Memon
 
IT Ait ict quiz_two
IT Ait ict quiz_twoIT Ait ict quiz_two
IT Ait ict quiz_two
Irfan Ali Memon
 
Week14 final
Week14 finalWeek14 final
Week14 final
Irfan Ali Memon
 
Week13 final
Week13 finalWeek13 final
Week13 final
Irfan Ali Memon
 
Week12 final
Week12 finalWeek12 final
Week12 final
Irfan Ali Memon
 
Week10 final
Week10 finalWeek10 final
Week10 final
Irfan Ali Memon
 
Week9 final
Week9 finalWeek9 final
Week9 final
Irfan Ali Memon
 
Week8 final
Week8 finalWeek8 final
Week8 final
Irfan Ali Memon
 
Week7 final
Week7 finalWeek7 final
Week7 final
Irfan Ali Memon
 
Uc13.chapter.16
Uc13.chapter.16Uc13.chapter.16
Uc13.chapter.16
Irfan Ali Memon
 
Uc13.chapter.15
Uc13.chapter.15Uc13.chapter.15
Uc13.chapter.15
Irfan Ali Memon
 
Uc13.chapter.14
Uc13.chapter.14Uc13.chapter.14
Uc13.chapter.14
Irfan Ali Memon
 
Uc13.chapter.13
Uc13.chapter.13Uc13.chapter.13
Uc13.chapter.13
Irfan Ali Memon
 
Uc13.chapter.12
Uc13.chapter.12Uc13.chapter.12
Uc13.chapter.12
Irfan Ali Memon
 
Uc13.chapter.11
Uc13.chapter.11Uc13.chapter.11
Uc13.chapter.11
Irfan Ali Memon
 
Uc13.chapter.10
Uc13.chapter.10Uc13.chapter.10
Uc13.chapter.10
Irfan Ali Memon
 
Uc13.chapter.09
Uc13.chapter.09Uc13.chapter.09
Uc13.chapter.09
Irfan Ali Memon
 
Uc13.chapter.08
Uc13.chapter.08Uc13.chapter.08
Uc13.chapter.08
Irfan Ali Memon
 
Uc13.chapter.07
Uc13.chapter.07Uc13.chapter.07
Uc13.chapter.07
Irfan Ali Memon
 
Uc13.chapter.06
Uc13.chapter.06Uc13.chapter.06
Uc13.chapter.06
Irfan Ali Memon
 

More from Irfan Ali Memon (20)

MaMarksheet
MaMarksheetMaMarksheet
MaMarksheet
 
IT Ait ict quiz_two
IT Ait ict quiz_twoIT Ait ict quiz_two
IT Ait ict quiz_two
 
Week14 final
Week14 finalWeek14 final
Week14 final
 
Week13 final
Week13 finalWeek13 final
Week13 final
 
Week12 final
Week12 finalWeek12 final
Week12 final
 
Week10 final
Week10 finalWeek10 final
Week10 final
 
Week9 final
Week9 finalWeek9 final
Week9 final
 
Week8 final
Week8 finalWeek8 final
Week8 final
 
Week7 final
Week7 finalWeek7 final
Week7 final
 
Uc13.chapter.16
Uc13.chapter.16Uc13.chapter.16
Uc13.chapter.16
 
Uc13.chapter.15
Uc13.chapter.15Uc13.chapter.15
Uc13.chapter.15
 
Uc13.chapter.14
Uc13.chapter.14Uc13.chapter.14
Uc13.chapter.14
 
Uc13.chapter.13
Uc13.chapter.13Uc13.chapter.13
Uc13.chapter.13
 
Uc13.chapter.12
Uc13.chapter.12Uc13.chapter.12
Uc13.chapter.12
 
Uc13.chapter.11
Uc13.chapter.11Uc13.chapter.11
Uc13.chapter.11
 
Uc13.chapter.10
Uc13.chapter.10Uc13.chapter.10
Uc13.chapter.10
 
Uc13.chapter.09
Uc13.chapter.09Uc13.chapter.09
Uc13.chapter.09
 
Uc13.chapter.08
Uc13.chapter.08Uc13.chapter.08
Uc13.chapter.08
 
Uc13.chapter.07
Uc13.chapter.07Uc13.chapter.07
Uc13.chapter.07
 
Uc13.chapter.06
Uc13.chapter.06Uc13.chapter.06
Uc13.chapter.06
 

Recently uploaded

Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
JeyaPerumal1
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
Trish Parr
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 

Recently uploaded (20)

Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 

Week11 final

  • 4. Where are databases used? 1) Maintaining address-books 2) Managing household budgets 3) Maintaining a home book-library a.
  • 5. Where are databases used? b. 1) Inventory tracking system 2) Human resources/ payroll 3) Discipline specific databases
  • 6. Where are databases used? c. 1) Police 2) Vehicle Registery 3) Banks 4) Tax records/ National IDs 5) All dynamic websites
  • 7. Where are databases used? d. 1) Google 2) Amazon 3) Youtube 4) Websites having search facility
  • 10. Flat file tables Student Reg. No. ICT marks Student Reg. No. ECA marks Student Reg. No. Student Name Home City City Province Rural/ Urban
  • 11. Student Reg. No. ICT marks 001 84 002 80 003 86 004 67 005 72 006 88 ICT instructor’s table A record, row or a tuple An attribute or a column
  • 12. Student Reg. No. ECA marks 001 72 002 83 003 66 004 87 005 82 006 91 ECA instructor’s table
  • 13. Student Reg. No. Student’s Name Home City 001 Ahmad Karachi 002 Mustafa Lahore 003 Hassan Sukhur 004 Qasim Peshawar 005 Tayyib Swat 006 Tahir Zhob Training Branch’s table1 This column is shared between all tables till now
  • 14. City Province Rural/ Urban Karachi Sindh Urban Lahore Punjab Urban Sukhur Sindh Rural Peshawar NWFP Urban Swat NWFP Rural Zhob Balochistan Rural Training Branch’s table2 This column is shared with the table before
  • 15. One flat file database Student Reg. No. ICT marks ECA marks Student Name Home City Home Province City—Rural/ Urban
  • 16. 16 Q. Who’s the best student? Suppose, we are interested to find the highest scoring urban student. Problem: Searching a text file will not be efficient for large sizes of text file. Reason: One has to search sequentially through the entire file to gather desired info. How can performance be improved?
  • 18. Relational databases Student Reg. No. ICT marks Student Reg. No. ECA marks Student Reg. No. Student Name Home City City Province Rural/ Urban
  • 19. Student Reg. No. ICT marks ECA marks 001 84 72 002 80 83 004 67 87 New table generated Total marks 156 163 154 It’s easy to find the highest-scoring rural student in the generated table
  • 20. Relational Database Schema Student Reg. No. ICT marks Student Reg. No. ECA marks Student Reg. No. Student Name Home City City Province Rural/ Urban In a relational database, the schema defines: 1) the tables, 2) the fields in each table, and 3) the relationships between fields and tables.
  • 22. What is a DBMS? A database management system is a software system that manages databases. : 1) Data Housekeeping (e.g., creating/ deleting/ backing up tables; data entry) 2) Data Sorting 3) Data Searching 4) Data Query Response and Report Generation
  • 23. What is a DBMS? A DBMS ensures the following: 1) Data Integrity (correctness and consistency)  Type Integrity (e.g., char input instead of numeric)  Limit Integrity (e.g., age cannot be negative)  Referential Integrity (e.g., referred item must exist) 2) Data Accessibility (support for concurrency) 3) Data Security (proper access control)
  • 24. Data querying: SQL SQL is the standard database query language SQL is a 4G Computer language (non- procedural query specification language) : 1) Database schema creation/ modification 2) Retrieving/ manipulating database data
  • 25. SQL example SELECT isbn, title, price, date FROM Book WHERE price > 100.00 AND (date = '2004-04-16' OR date = '2005-04-16') ORDER BY title; ISBN Title Author Edition InStock Price Date … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … The database table: Book
  • 29. What is Data Mining? Data mining is the process of (automatically) extracting useful information from data Also known as Knowledge Discovery in Databases (KDD) Data mining is used in: 1) Recommender systems 2) Pattern mining
  • 31. Pattern Mining NZ team uses SAS data mining software for making team strategy