SlideShare une entreprise Scribd logo
1  sur  24
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill Technology Education
McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill Technology Education
Chapter 11A
Database Management
Systems
11A-3
Database Management Systems
• Database management system (DBMS)
• Store large collections of data
• Organize the data
• Becomes a data storage system
11A-4
The Database
• Stores a collection of related items
• Collection is arranged in a structure
– Organizes and describes the data
• Often includes helper documents
• Two different types
11A-5
Database Structure
Field NameField Name
RecordRecord
FieldField
11A-6
The Database
• Fields
– Hold an individual piece of data
– Are named descriptively
– Often called a column
– Phone book examples
• Name, address, e-mail, phone number
– Fields may contain no data
11A-7
The Database
• Records
– One full set of fields
– Often called a row
– Phone book example
• Smith, Joe, 123 Some Street, 412-555-7777
– Databases may have unlimited rows
11A-8
The Database
• Tables
– One complete collection of records
– Databases may have thousands of tables
11A-9
Database Helper Documents
• Forms
– Present one record to the user
– Often used to change or view data
11A-10
Database Helper Documents
• Reports
– Produce printed results from the database
– Includes tools to summarize data
11A-11
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-12
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-13
ER Diagram
11A-14
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-15
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-16
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-17
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-18
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-19
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-20
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-21
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-22
Query Examples
• SQL
Select FirstName, LastName, Phone
From tblPhoneNumbers
Where LastName=“Norton”;
• xBase
Use tblPhoneNumbers
List FirstName, LastName, Phone
For LastName=“Norton”
11A-23
Working with a Database
• Generating reports
– Printed information extracted from
a database
– Can calculate data
• Calculate data per row
• Calculate for entire table
– Pictures and formatting can be included
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill Technology Education
Chapter 11A
End of Chapter

Contenu connexe

Tendances

File Organization
File OrganizationFile Organization
File OrganizationManyi Man
 
Data management principles
Data management principlesData management principles
Data management principlesFiddy Prasetiya
 
File organization
File organizationFile organization
File organizationGokul017
 
Steam Learn: Introduction to RDBMS indexes
Steam Learn: Introduction to RDBMS indexesSteam Learn: Introduction to RDBMS indexes
Steam Learn: Introduction to RDBMS indexesinovia
 
Lecture #1 Introduction
Lecture #1 IntroductionLecture #1 Introduction
Lecture #1 IntroductionRico
 
Fileorganization AbnMagdy
Fileorganization AbnMagdyFileorganization AbnMagdy
Fileorganization AbnMagdyMohamed Magdy
 
File organisation in system analysis and design
File organisation in system analysis and designFile organisation in system analysis and design
File organisation in system analysis and designMohitgauri
 
Concept of computer files
Concept of computer filesConcept of computer files
Concept of computer filesSamuel Igbanogu
 
Ch05 records management
Ch05 records managementCh05 records management
Ch05 records managementxtin101
 
Ch06 records management
Ch06 records managementCh06 records management
Ch06 records managementxtin101
 
Postgres db performance improvements
Postgres db performance improvementsPostgres db performance improvements
Postgres db performance improvementsMahesh Chopker
 

Tendances (20)

File Organization
File OrganizationFile Organization
File Organization
 
Data management principles
Data management principlesData management principles
Data management principles
 
File organization
File organizationFile organization
File organization
 
Dbms
DbmsDbms
Dbms
 
Steam Learn: Introduction to RDBMS indexes
Steam Learn: Introduction to RDBMS indexesSteam Learn: Introduction to RDBMS indexes
Steam Learn: Introduction to RDBMS indexes
 
MS Access Intro
MS Access IntroMS Access Intro
MS Access Intro
 
Introduction to data management, terminologies and use of data management pla...
Introduction to data management, terminologies and use of data management pla...Introduction to data management, terminologies and use of data management pla...
Introduction to data management, terminologies and use of data management pla...
 
Lecture #1 Introduction
Lecture #1 IntroductionLecture #1 Introduction
Lecture #1 Introduction
 
Fileorganization AbnMagdy
Fileorganization AbnMagdyFileorganization AbnMagdy
Fileorganization AbnMagdy
 
File organisation in system analysis and design
File organisation in system analysis and designFile organisation in system analysis and design
File organisation in system analysis and design
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
Concept of computer files
Concept of computer filesConcept of computer files
Concept of computer files
 
Ch05 records management
Ch05 records managementCh05 records management
Ch05 records management
 
Ch06 records management
Ch06 records managementCh06 records management
Ch06 records management
 
File organisation
File organisationFile organisation
File organisation
 
itft-File design
itft-File designitft-File design
itft-File design
 
Chap01 (ics12)
Chap01 (ics12)Chap01 (ics12)
Chap01 (ics12)
 
Ch 8 data base
Ch 8 data baseCh 8 data base
Ch 8 data base
 
File organization
File organizationFile organization
File organization
 
Postgres db performance improvements
Postgres db performance improvementsPostgres db performance improvements
Postgres db performance improvements
 

Similaire à Introduction to computer

bilal tariq presentation 01 cfm.ppt
bilal tariq presentation 01 cfm.pptbilal tariq presentation 01 cfm.ppt
bilal tariq presentation 01 cfm.pptSardarBilal15
 
Presentation DBMS (1)
Presentation DBMS (1)Presentation DBMS (1)
Presentation DBMS (1)Ali Raza
 
Databasesmycopy
DatabasesmycopyDatabasesmycopy
DatabasesmycopyMR Z
 
Database Management Systems 1
Database Management Systems 1Database Management Systems 1
Database Management Systems 1Nickkisha Farrell
 
DataBaseManagementSystem-DBMS
DataBaseManagementSystem-DBMSDataBaseManagementSystem-DBMS
DataBaseManagementSystem-DBMSkangrehmat
 
Chapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptxChapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptxAbdullaahiHashiSabri
 
C1 basic concepts of database
C1 basic concepts of databaseC1 basic concepts of database
C1 basic concepts of databaseWan Azni
 
SQL Server 2012 - FileTables
SQL Server 2012 - FileTables SQL Server 2012 - FileTables
SQL Server 2012 - FileTables Sperasoft
 
Sas short course_presentation_11-4-09
Sas short course_presentation_11-4-09Sas short course_presentation_11-4-09
Sas short course_presentation_11-4-09Prashant Ph
 
Sas short course_presentation_11-4-09
Sas short course_presentation_11-4-09Sas short course_presentation_11-4-09
Sas short course_presentation_11-4-09Prashant Ph
 
Chapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project ManagementChapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project ManagementAxmedMaxamuudYoonis
 
[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12AnusAhmad
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemM Harris Hashmi
 

Similaire à Introduction to computer (20)

bilal tariq presentation 01 cfm.ppt
bilal tariq presentation 01 cfm.pptbilal tariq presentation 01 cfm.ppt
bilal tariq presentation 01 cfm.ppt
 
Database (IT) Lecture Slide
Database (IT) Lecture SlideDatabase (IT) Lecture Slide
Database (IT) Lecture Slide
 
4 create database
4 create database4 create database
4 create database
 
Presentation DBMS (1)
Presentation DBMS (1)Presentation DBMS (1)
Presentation DBMS (1)
 
Databasesmycopy
DatabasesmycopyDatabasesmycopy
Databasesmycopy
 
Database Management Systems 1
Database Management Systems 1Database Management Systems 1
Database Management Systems 1
 
DataBaseManagementSystem-DBMS
DataBaseManagementSystem-DBMSDataBaseManagementSystem-DBMS
DataBaseManagementSystem-DBMS
 
Chapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptxChapter 9 Microsoft Access Database.pptx
Chapter 9 Microsoft Access Database.pptx
 
C1 basic concepts of database
C1 basic concepts of databaseC1 basic concepts of database
C1 basic concepts of database
 
SQL Server 2012 - FileTables
SQL Server 2012 - FileTables SQL Server 2012 - FileTables
SQL Server 2012 - FileTables
 
6.2 software
6.2 software6.2 software
6.2 software
 
Sas short course_presentation_11-4-09
Sas short course_presentation_11-4-09Sas short course_presentation_11-4-09
Sas short course_presentation_11-4-09
 
Sas short course_presentation_11-4-09
Sas short course_presentation_11-4-09Sas short course_presentation_11-4-09
Sas short course_presentation_11-4-09
 
Case mis ch05
Case mis ch05Case mis ch05
Case mis ch05
 
Databases
DatabasesDatabases
Databases
 
Chapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project ManagementChapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project Management
 
ITE 101 - Week 7
ITE 101 - Week 7ITE 101 - Week 7
ITE 101 - Week 7
 
[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12[Www.pkbulk.blogspot.com]dbms12
[Www.pkbulk.blogspot.com]dbms12
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 

Plus de Ujjwal 'Shanu' (20)

Risk return trade off
Risk return trade offRisk return trade off
Risk return trade off
 
Risk perceprtion of ads of infosys
Risk perceprtion of ads of infosysRisk perceprtion of ads of infosys
Risk perceprtion of ads of infosys
 
Mutual funds
Mutual fundsMutual funds
Mutual funds
 
Corporate governance
Corporate governanceCorporate governance
Corporate governance
 
Whistle blower final
Whistle blower finalWhistle blower final
Whistle blower final
 
M&a
M&aM&a
M&a
 
T test
T testT test
T test
 
Research design
Research designResearch design
Research design
 
Business research
Business researchBusiness research
Business research
 
Measurement and scaling techniques
Measurement  and  scaling  techniquesMeasurement  and  scaling  techniques
Measurement and scaling techniques
 
Taxation
TaxationTaxation
Taxation
 
Shri palaniappan chidambram
Shri palaniappan chidambramShri palaniappan chidambram
Shri palaniappan chidambram
 
Planning
PlanningPlanning
Planning
 
Merger & acquisition
Merger & acquisitionMerger & acquisition
Merger & acquisition
 
Gaar ppt
Gaar pptGaar ppt
Gaar ppt
 
Rbi
RbiRbi
Rbi
 
Production theory
Production theoryProduction theory
Production theory
 
Perfect competition
Perfect competitionPerfect competition
Perfect competition
 
Oligopoly
OligopolyOligopoly
Oligopoly
 
National income
National incomeNational income
National income
 

Dernier

Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture conceptP&CO
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLkapoorjyoti4444
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...amitlee9823
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1kcpayne
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...amitlee9823
 
Phases of negotiation .pptx
 Phases of negotiation .pptx Phases of negotiation .pptx
Phases of negotiation .pptxnandhinijagan9867
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with CultureSeta Wicaksana
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...rajveerescorts2022
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...lizamodels9
 

Dernier (20)

Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Phases of negotiation .pptx
 Phases of negotiation .pptx Phases of negotiation .pptx
Phases of negotiation .pptx
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 

Introduction to computer

  • 1. Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill Technology Education McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.
  • 2. Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill Technology Education Chapter 11A Database Management Systems
  • 3. 11A-3 Database Management Systems • Database management system (DBMS) • Store large collections of data • Organize the data • Becomes a data storage system
  • 4. 11A-4 The Database • Stores a collection of related items • Collection is arranged in a structure – Organizes and describes the data • Often includes helper documents • Two different types
  • 5. 11A-5 Database Structure Field NameField Name RecordRecord FieldField
  • 6. 11A-6 The Database • Fields – Hold an individual piece of data – Are named descriptively – Often called a column – Phone book examples • Name, address, e-mail, phone number – Fields may contain no data
  • 7. 11A-7 The Database • Records – One full set of fields – Often called a row – Phone book example • Smith, Joe, 123 Some Street, 412-555-7777 – Databases may have unlimited rows
  • 8. 11A-8 The Database • Tables – One complete collection of records – Databases may have thousands of tables
  • 9. 11A-9 Database Helper Documents • Forms – Present one record to the user – Often used to change or view data
  • 10. 11A-10 Database Helper Documents • Reports – Produce printed results from the database – Includes tools to summarize data
  • 11. 11A-11 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
  • 12. 11A-12 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
  • 14. 11A-14 The DBMS • Programs that control the database • Allows – Entering data – Querying data – Printing reports • Supports thousands of users • Includes tools to protect the data
  • 15. 11A-15 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
  • 16. 11A-16 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
  • 17. 11A-17 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
  • 18. 11A-18 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
  • 19. 11A-19 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
  • 20. 11A-20 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
  • 21. 11A-21 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
  • 22. 11A-22 Query Examples • SQL Select FirstName, LastName, Phone From tblPhoneNumbers Where LastName=“Norton”; • xBase Use tblPhoneNumbers List FirstName, LastName, Phone For LastName=“Norton”
  • 23. 11A-23 Working with a Database • Generating reports – Printed information extracted from a database – Can calculate data • Calculate data per row • Calculate for entire table – Pictures and formatting can be included
  • 24. Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill Technology Education Chapter 11A End of Chapter

Notes de l'éditeur

  1. Discussion point Ask your student if anyone knows why sorting by zip code is important. Hopefully, someone knows that the post office provides a discount on presorted mail.
  2. Teaching tip Figure 11A.2 on page 423 describes the database structure
  3. Teaching tip Figure 11A.3 on page 423 provides examples of forms and reports.
  4. Teaching tip Start your students thinking about real databases, with millions of records. Using PA instead of Pennsylvania saves 10 bytes per record. In a database with 1 million records, this saves 10,000,000 bytes. This is roughly equal to a stack of 10 floppy disks
  5. Teaching tip To demonstrate the power of relationships, setup a flat file database with music, artists, CD and year released. Demonstrate how difficult and wasteful it is to store several songs by the same artist and CD. Be sure to make several typing mistakes. Then build the same structure relationally. Create music, artist and CD tables. Join the artist and CD to the music table. Now show how easy it is to add songs from the same CD. While creating this database, it helps to use music the students know.
  6. Teaching tip Protecting databases is similar to network administration, covered in chapter 9. Access to read and change data is limited to a list of allowed users.
  7. Teaching tip Dates are stored sequentially in a database. 0 is January 1, 1970 at midnight. 1 is one millisecond after midnight on January 1, 1970. Each date represents the number of milliseconds from January 1, 1970.
  8. Teaching tip Using a DBMS, demonstrate the power of sorting for the class.
  9. Teaching tip Page 432 and 433 show examples of the different querying languages.