SlideShare a Scribd company logo
NAME:BILAL TARIQ
REG NO:FA21-024
NAME:QAIB
REG NO:SP22-085
Database Management
Systems
INTRODUCTION
11A-2
The Database
 Stores a collection of related items
 Collection is arranged in a structure
 Organizes and describes the data
 Often includes helper documents
11A-3
Database Structure
11A-4
Field Name
Record
Field
The Database
 Fields
 Hold an individual piece of data
 Often called a column
 Phone book examples
 Name, address, e-mail, phone number
11A-5
The Database
 Records
 One full set of fields
 Often called a row
 Databases may have unlimited rows
11A-6
The Database
 Tables
 One complete collection of records
 Databases may have thousands of tables
11A-7
• TYPES OF DATABASE
1-Flat-file Databases
2-Relational Databases
11A-8
Flat-file Databases
 Typically has only one table
 If multiple, each has a separate file
 Useful for simple data storage needs
 Hard to manage large data needs
 Can waste disk space
11A-9
Relational Databases
 Made of two or more tables
 Tables are related by a common field
 Called a relationship or join
 Can help organize data
 Most common form of database
 Maintaining data is easier than flat-file
 No wasted disk space
11A-
10
ER Diagram
11A-
11
The DBMS
 Programs that control the database
 Allows
 Entering data
 Querying data
 Printing reports
 Supports thousands of users
 Includes tools to protect the data
11A-
12
Working with a Database
 Creating tables
 List the necessary fields
 Steps to define a field
 Descriptively name the field
 Specify the field type
 Determine the field size
11A-
13
Working with a Database
 Field types
 Describes the type of data stored
 Most DBMS use the same types
 Text fields store letters and numbers
 Numeric field store numbers
 Date and time field
 Logical field stores yes or no
 Binary field stores images or sounds
 Counter field generates sequential numbers
 Memo fields store large amounts of data
11A-
14
Working with a Database
 Entering data into a table
 Users type data into a field
 Data must be entered accurately
 Constraints help to verify data
 Forms are typically used for data entry
11A-
15
Working with a Database
 Viewing records
 Datasheet view shows all records
 Filters can limit the records shown
 Display only records matching a criteria
 Forms allow viewing one record
11A-
16
Working with a Database
 Sorting records
 Order records based on a field
 Multiple sub sorts resolve ‘ties’
 Several types of sorts
 Alphabetic
 Numeric
 Chronological
 Ascending
 Descending
11A-
17
Working with a Database
 Querying a database
 Statement that describes desired data
 List of fields can be modified
 Uses of querying
 Find data
 Calculate values per record
 Delete records
 Most important DBMS skill
11A-
18
Working with a Database
 Query languages
 All DBMS use a query language
 Most DBMS modify the language
 Structured Query Language (SQL)
 Most common query language
 xBase
 Query language for dBase systems
 Query by example (QBE)
 Interface to SQL or xBase
 Interactive query design
11A-
19
Query Examples
 SQL
Select FirstName, LastName, Phone
From tblPhoneNumbers
Where LastName=“Norton”;
 xBase
Use tblPhoneNumbers
List FirstName, LastName, Phone
For LastName=“Norton”
11A-
20

More Related Content

Similar to bilal tariq presentation 01 cfm.ppt

Database Fundamentals
Database FundamentalsDatabase Fundamentals
Database Fundamentalswmassie
 
A database introduction
A database introductionA database introduction
A database introduction
Tushar Desarda
 
Databasesmycopy
DatabasesmycopyDatabasesmycopy
DatabasesmycopyMR Z
 
Intro databases (Table, Record, Field)
Intro databases (Table, Record, Field)Intro databases (Table, Record, Field)
Intro databases (Table, Record, Field)
Maryam Fida
 
Microsoft Access
Microsoft AccessMicrosoft Access
Microsoft Access
tormeyj
 
Database Management.pptx
Database Management.pptxDatabase Management.pptx
Database Management.pptx
ElProfesor14
 
18 database features
18 database features18 database features
18 database featuresRebecca Jones
 
Database Concepts and Terminologies
Database Concepts and TerminologiesDatabase Concepts and Terminologies
Database Concepts and Terminologies
Ousman Faal
 
Behind The Scenes Databases And Information Systems 6
Behind The Scenes  Databases And Information Systems 6Behind The Scenes  Databases And Information Systems 6
Behind The Scenes Databases And Information Systems 6guest4a9cdb
 
Database.pptx
Database.pptxDatabase.pptx
Database.pptx
AftabSaeed5
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representation
Ruhull
 
PPT SQL CLASS.pptx
PPT SQL CLASS.pptxPPT SQL CLASS.pptx
PPT SQL CLASS.pptx
AngeOuattara
 
Cds Isis Intro Huridocs
Cds Isis Intro HuridocsCds Isis Intro Huridocs
Cds Isis Intro Huridocshuridocs
 
Chapter 11
Chapter 11Chapter 11
VCAL Databases
VCAL DatabasesVCAL Databases
VCAL Databaseselenacap
 

Similar to bilal tariq presentation 01 cfm.ppt (20)

Access 2010
Access 2010Access 2010
Access 2010
 
Database Fundamentals
Database FundamentalsDatabase Fundamentals
Database Fundamentals
 
A database introduction
A database introductionA database introduction
A database introduction
 
Databasesmycopy
DatabasesmycopyDatabasesmycopy
Databasesmycopy
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
 
Intro databases (Table, Record, Field)
Intro databases (Table, Record, Field)Intro databases (Table, Record, Field)
Intro databases (Table, Record, Field)
 
Microsoft Access
Microsoft AccessMicrosoft Access
Microsoft Access
 
Database Management.pptx
Database Management.pptxDatabase Management.pptx
Database Management.pptx
 
18 database features
18 database features18 database features
18 database features
 
Database Concepts and Terminologies
Database Concepts and TerminologiesDatabase Concepts and Terminologies
Database Concepts and Terminologies
 
Behind The Scenes Databases And Information Systems 6
Behind The Scenes  Databases And Information Systems 6Behind The Scenes  Databases And Information Systems 6
Behind The Scenes Databases And Information Systems 6
 
Database.pptx
Database.pptxDatabase.pptx
Database.pptx
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representation
 
Cis145 Final Review
Cis145 Final ReviewCis145 Final Review
Cis145 Final Review
 
PPT SQL CLASS.pptx
PPT SQL CLASS.pptxPPT SQL CLASS.pptx
PPT SQL CLASS.pptx
 
chap1.pdf
chap1.pdfchap1.pdf
chap1.pdf
 
Database
DatabaseDatabase
Database
 
Cds Isis Intro Huridocs
Cds Isis Intro HuridocsCds Isis Intro Huridocs
Cds Isis Intro Huridocs
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
 
VCAL Databases
VCAL DatabasesVCAL Databases
VCAL Databases
 

Recently uploaded

一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
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
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
SEO Article Boost
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
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
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
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
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
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
 
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
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 
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
 
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
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
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
 
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
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 

Recently uploaded (20)

一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
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
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
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...
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
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
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
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
 
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
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 
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...
 
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
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
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
 
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
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 

bilal tariq presentation 01 cfm.ppt

  • 3. The Database  Stores a collection of related items  Collection is arranged in a structure  Organizes and describes the data  Often includes helper documents 11A-3
  • 5. The Database  Fields  Hold an individual piece of data  Often called a column  Phone book examples  Name, address, e-mail, phone number 11A-5
  • 6. The Database  Records  One full set of fields  Often called a row  Databases may have unlimited rows 11A-6
  • 7. The Database  Tables  One complete collection of records  Databases may have thousands of tables 11A-7
  • 8. • TYPES OF DATABASE 1-Flat-file Databases 2-Relational Databases 11A-8
  • 9. Flat-file Databases  Typically has only one table  If multiple, each has a separate file  Useful for simple data storage needs  Hard to manage large data needs  Can waste disk space 11A-9
  • 10. Relational Databases  Made of two or more tables  Tables are related by a common field  Called a relationship or join  Can help organize data  Most common form of database  Maintaining data is easier than flat-file  No wasted disk space 11A- 10
  • 12. The DBMS  Programs that control the database  Allows  Entering data  Querying data  Printing reports  Supports thousands of users  Includes tools to protect the data 11A- 12
  • 13. Working with a Database  Creating tables  List the necessary fields  Steps to define a field  Descriptively name the field  Specify the field type  Determine the field size 11A- 13
  • 14. Working with a Database  Field types  Describes the type of data stored  Most DBMS use the same types  Text fields store letters and numbers  Numeric field store numbers  Date and time field  Logical field stores yes or no  Binary field stores images or sounds  Counter field generates sequential numbers  Memo fields store large amounts of data 11A- 14
  • 15. Working with a Database  Entering data into a table  Users type data into a field  Data must be entered accurately  Constraints help to verify data  Forms are typically used for data entry 11A- 15
  • 16. Working with a Database  Viewing records  Datasheet view shows all records  Filters can limit the records shown  Display only records matching a criteria  Forms allow viewing one record 11A- 16
  • 17. Working with a Database  Sorting records  Order records based on a field  Multiple sub sorts resolve ‘ties’  Several types of sorts  Alphabetic  Numeric  Chronological  Ascending  Descending 11A- 17
  • 18. Working with a Database  Querying a database  Statement that describes desired data  List of fields can be modified  Uses of querying  Find data  Calculate values per record  Delete records  Most important DBMS skill 11A- 18
  • 19. Working with a Database  Query languages  All DBMS use a query language  Most DBMS modify the language  Structured Query Language (SQL)  Most common query language  xBase  Query language for dBase systems  Query by example (QBE)  Interface to SQL or xBase  Interactive query design 11A- 19
  • 20. Query Examples  SQL Select FirstName, LastName, Phone From tblPhoneNumbers Where LastName=“Norton”;  xBase Use tblPhoneNumbers List FirstName, LastName, Phone For LastName=“Norton” 11A- 20