SlideShare une entreprise Scribd logo
1  sur  95
HAPTER 4 Relational Databases
INTRODUCTION ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
INTRODUCTION ,[object Object],[object Object],[object Object]
FILE VS. DATABASES ,[object Object],[object Object],04/20/85 555-5555 Artie Moore 123-45-6789 11/24/86 444-4444 Ned Sanders 111-11-1111 10/11/84 333-3333 Alice Simpson 333-33-3333 Birth Date Phone Number First Name Last Name Student ID STUDENTS
FILE VS. DATABASES ,[object Object],04/20/85 555-5555 Artie Moore 123-45-6789 11/24/86 444-4444 Ned Sanders 111-11-1111 10/11/84 333-3333 Alice Simpson 333-33-3333 Birth Date Phone Number First Name Last Name Student ID STUDENTS
FILE VS. DATABASES ,[object Object],[object Object],04/20/85 555-5555 Artie Moore 123-45-6789 11/24/86 444-4444 Ned Sanders 111-11-1111 10/11/84 333-3333 Alice Simpson 333-33-3333 Birth Date Phone Number First Name Last Name Student ID STUDENTS
FILE VS. DATABASES ,[object Object],[object Object],04/20/85 555-5555 Artie Moore 123-45-6789 11/24/86 444-4444 Ned Sanders 111-11-1111 10/11/84 333-3333 Alice Simpson 333-33-3333 Birth Date Phone Number First Name Last Name Student ID STUDENTS
FILE VS. DATABASES ,[object Object],Student File Class File Advisor File
FILE VS. DATABASES ,[object Object],[object Object],[object Object]
FILE VS. DATABASES ,[object Object],[object Object],[object Object],[object Object],[object Object],Master File 1 Fact A Fact B Fact C Master File 2 Fact A Fact D Fact F Master File 1 Fact A Fact B Fact F Enrollment Program Fin. Aid Program Grades Program
FILE VS. DATABASES ,[object Object],Database Fact A  Fact B Fact C  Fact D Fact E  Fact F Enrollment Program Fin. Aid Program Grades Program Database Management System
FILE VS. DATABASES ,[object Object],[object Object],Database Fact A  Fact B Fact C  Fact D Fact E  Fact F Enrollment Program Fin. Aid Program Grades Program Database Management System
FILE VS. DATABASES ,[object Object],Database Fact A  Fact B Fact C  Fact D Fact E  Fact F Enrollment Program Fin. Aid Program Grades Program Database Management System
FILE VS. DATABASES ,[object Object],[object Object],Database Fact A  Fact B Fact C  Fact D Fact E  Fact F Enrollment Program Fin. Aid Program Grades Program Database Management System
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object]
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object]
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object]
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object]
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
IMPORTANCE AND ADVANTAGES OF DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object]
Database Enrollment by Class Logical View—User A Logical View—User B DBMS Operating System The DBMS translates users’ logical views into instructions as to which data should be retrieved from the database.
Database Enrollment by Class Logical View—User A Logical View—User B DBMS Operating System The operating system translates DBMS requests into instructions to physically retrieve data from various disks.
DATABASE SYSTEMS ,[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Subschema--User A Smith . . . A Jones . . . B Arnold . . .D Subschema--User B Subschema--User C Enroll Cash Receipt Classes Student Mapping external-level views to conceptual-level schema Mapping conceptual-level items to internal-level descriptions
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Subschema--User A Smith . . . A Jones . . . B Arnold . . .D Subschema--User B Subschema--User C Enroll Cash Receipt Classes Student Mapping external-level views to conceptual-level schema Mapping conceptual-level items to internal-level descriptions
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Subschema--User A Smith . . . A Jones . . . B Arnold . . .D Subschema--User B Subschema--User C Enroll Cash Receipt Classes Student Mapping external-level views to conceptual-level schema Mapping conceptual-level items to internal-level descriptions
Subschema--User A Smith . . . A Jones . . . B Arnold . . .D Subschema--User B Subschema--User C Enroll Cash Receipt Classes Student Mapping external-level views to conceptual-level schema Mapping conceptual-level items to internal-level descriptions The bidirectional arrows represent mappings between the schema.
DATABASE SYSTEMS ,[object Object]
DATABASE SYSTEMS ,[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS ,[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object]
Relation
RELATIONAL DATABASES ,[object Object],[object Object]
Each row is called a tuple, which rhymes with “couple.”
Each row contains data about a specific occurrence of the type of entity in the table.
Each column in a table contains information about a specific attribute of the entity.
A primary key is the attribute or combination of attributes that uniquely identifies a specific row in a table.
In some tables, two or more attributes may be joined to form the primary key.
A foreign key is an attribute in one table that is a primary key in another table. 203 J.D. Radowski 1506 202 Xi Zhang 1503 316 Amy Melton 1419 420 Glen Howard 1418 Office No. First Name Last Name Advisor No. ADVISORS 1503 555-5555 Artie Moore 123-45-6789 1418 444-4444 Ned Sanders 111-11-1111 1418 333-3333 Alice Simpson 333-33-3333 Advisor No. Phone No. First Name Last Name Student ID STUDENTS
Foreign keys are used to link tables together. 203 J.D. Radowski 1506 202 Xi Zhang 1503 316 Amy Melton 1419 420 Glen Howard 1418 Office No. First Name Last Name Advisor No. ADVISORS 1503 555-5555 Artie Moore 123-45-6789 1418 444-4444 Ned Sanders 111-11-1111 1418 333-3333 Alice Simpson 333-33-3333 Advisor No. Phone No. First Name Last Name Student ID STUDENTS
Other non-key attributes in each table store important information about the entity. 203 J.D. Radowski 1506 202 Xi Zhang 1503 316 Amy Melton 1419 420 Glen Howard 1418 Office No. First Name Last Name Advisor No. ADVISORS 1503 555-5555 Artie Moore 123-45-6789 1418 444-4444 Ned Sanders 111-11-1111 1418 333-3333 Alice Simpson 333-33-3333 Advisor No. Phone No. First Name Last Name Student ID STUDENTS
RELATIONAL DATABASES ,[object Object],[object Object],[object Object]
[object Object],[object Object],11:00 AM Th 3 FIN-3213 555-5555 Artie Moore 123-45-6789 10:00 AM T 2 ACCT-3433 555-5555 Artie Moore 123-45-6789 9:00 AM F 7 ANSI-1422 444-4444 Ned Sanders 111-11-1111 8:00 AM W 5 MGMT-3021 444-4444 Ned Sanders 111-11-1111 10:00 AM T 2 ACCT-3433 444-4444 Ned Sanders 111-11-1111 12:00 PM TH 11 MGMT-3021 333-3333 Alice Simpson 333-33-3333 11:00 AM Th 3 FIN-3213 333-3333 Alice Simpson 333-33-3333 9:00 AM M 1 ACCT-3603 333-3333 Alice Simpson 333-33-3333 Time Day Section Course No. Phone No. First Name Last Name Student ID
[object Object],[object Object],11:00 AM Th 3 FIN-3213 555-5555 Artie Moore 123-45-6789 10:00 AM T 2 ACCT-3433 555-5555 Artie Moore 123-45-6789 9:00 AM F 7 ANSI-1422 444-4444 Ned Sanders 111-11-1111 8:00 AM W 5 MGMT-3021 444-4444 Ned Sanders 111-11-1111 10:00 AM T 2 ACCT-3433 444-4444 Ned Sanders 111-11-1111 12:00 PM TH 11 MGMT-3021 333-3333 Alice Simpson 333-33-3333 11:00 AM Th 3 FIN-3213 333-3333 Alice Simpson 333-33-3333 9:00 AM M 1 ACCT-3603 333-3333 Alice Simpson 333-33-3333 Time Day Sect. Course No. Phone No. First Name Last Name Student ID
[object Object],[object Object],[object Object],11:00 AM Th 3 FIN-3213 555-5555 Artie Moore 123-45-6789 10:00 AM T 2 ACCT-3433 555-5555 Artie Moore 123-45-6789 9:00 AM F 7 ANSI-1422 444-4444 Ned Sanders 111-11-1111 8:00 AM W 5 MGMT-3021 444-4444 Ned Sanders 111-11-1111 10:00 AM T 2 ACCT-3433 444-4444 Ned Sanders 111-11-1111 12:00 PM TH 11 MGMT-3021 333-3333 Alice Simpson 333-33-3333 11:00 AM Th 3 FIN-3213 333-3333 Alice Simpson 333-33-3333 9:00 AM M 1 ACCT-3603 333-3333 Alice Simpson 333-33-3333 Time Day Sect. Course No. Phone No. First Name Last Name Student ID
[object Object],[object Object],11:00 AM Th 3 FIN-3213 555-5555 Artie Moore 123-45-6789 10:00 AM T 2 ACCT-3433 555-5555 Artie Moore 123-45-6789 9:00 AM F 7 ANSI-1422 444-4444 Ned Sanders 111-11-1111 8:00 AM W 5 MGMT-3021 444-4444 Ned Sanders 111-11-1111 10:00 AM T 2 ACCT-3433 444-4444 Ned Sanders 111-11-1111 12:00 PM TH 11 MGMT-3021 333-3333 Alice Simpson 333-33-3333 11:00 AM Th 3 FIN-3213 333-3333 Alice Simpson 333-33-3333 9:00 AM M 1 ACCT-3603 333-3333 Alice Simpson 333-33-3333 Time Day Sect. Course No. Phone No. First Name Last Name Student ID
RELATIONAL DATABASES ,[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],    FIN-3213 ACCT-3433 555-5555 Artie Moore 123-45-6789   ANSI-1422 MGMT-3021 ACCT-3433 444-4444 Ned Sanders 111-11-1111   MGMT-3021 FIN-3213 ACCT-3603 333-3333 Alice Simpson 333-33-3333 Class 4 Class 3 Class 2 Class 1 Phone No. First Name Last Name Student ID0
[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object]
Advisor No.  is a foreign key in the STUDENTS table.  Every incident of  Advisor No.  in the STUDENTS table either matches an instance of the primary key in the ADVISORS table or is null. 203 J.D. Radowski 1506 202 Xi Zhang 1503 316 Amy Melton 1419 420 Glen Howard 1418 Office No. First Name Last Name Advisor No. ADVISORS 1503 555-5555 Artie Moore 123-45-6789 1418 444-4444 Ned Sanders 111-11-1111 1418 333-3333 Alice Simpson 333-33-3333 Advisor No. Phone No. First Name Last Name Student ID STUDENTS
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object]
RELATIONAL DATABASES ,[object Object],[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS AND THE FUTURE OF ACCOUNTING ,[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS AND THE FUTURE OF ACCOUNTING ,[object Object],[object Object],[object Object],[object Object]
DATABASE SYSTEMS AND THE FUTURE OF ACCOUNTING ,[object Object],[object Object]
SUMMARY ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances

Introduction to accounting information system
Introduction to accounting information systemIntroduction to accounting information system
Introduction to accounting information system
Abhishek Ghosh
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
07Deeps
 

Tendances (20)

Chapter 1 MIS
Chapter 1 MISChapter 1 MIS
Chapter 1 MIS
 
Deegan fat4e ppt_ch10
Deegan fat4e ppt_ch10Deegan fat4e ppt_ch10
Deegan fat4e ppt_ch10
 
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISMIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
 
Chapter 6 foundations of business intelligence
Chapter 6 foundations of business intelligenceChapter 6 foundations of business intelligence
Chapter 6 foundations of business intelligence
 
Introduction to accounting information system
Introduction to accounting information systemIntroduction to accounting information system
Introduction to accounting information system
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
Chapter 1 introduction to information system
Chapter 1 introduction to information systemChapter 1 introduction to information system
Chapter 1 introduction to information system
 
Ais Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational DatabasesAis Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational Databases
 
Information Systems
Information SystemsInformation Systems
Information Systems
 
Reactions of capital markets to financial reporting inggris
Reactions of capital markets to financial reporting inggrisReactions of capital markets to financial reporting inggris
Reactions of capital markets to financial reporting inggris
 
Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modeling
 
Database Management & Models
Database Management & ModelsDatabase Management & Models
Database Management & Models
 
Social and Ethical Issues in Information System
Social and Ethical Issues in Information SystemSocial and Ethical Issues in Information System
Social and Ethical Issues in Information System
 
Chapter 6 MIS
Chapter 6 MISChapter 6 MIS
Chapter 6 MIS
 
Database recovery
Database recoveryDatabase recovery
Database recovery
 
Accounting information system (AIS)
Accounting information system (AIS)Accounting information system (AIS)
Accounting information system (AIS)
 
Accounting Information System (AIS)
Accounting Information System (AIS)Accounting Information System (AIS)
Accounting Information System (AIS)
 
Fundamentals of Information Systems Security Chapter 4
Fundamentals of Information Systems Security Chapter 4Fundamentals of Information Systems Security Chapter 4
Fundamentals of Information Systems Security Chapter 4
 
Regulatory Compliance under the Information Technology Act, 2000
Regulatory Compliance under the Information Technology Act, 2000Regulatory Compliance under the Information Technology Act, 2000
Regulatory Compliance under the Information Technology Act, 2000
 
Applying Theory to Accounting Regulation
Applying Theory to Accounting RegulationApplying Theory to Accounting Regulation
Applying Theory to Accounting Regulation
 

En vedette

Ais Romney 2006 Slides 11 The Expenditure Cycle
Ais Romney 2006 Slides 11 The Expenditure CycleAis Romney 2006 Slides 11 The Expenditure Cycle
Ais Romney 2006 Slides 11 The Expenditure Cycle
Sharing Slides Training
 

En vedette (18)

Ais Romney 2006 Slides 14 General Ledger And Reporting System
Ais Romney 2006 Slides 14 General Ledger And Reporting SystemAis Romney 2006 Slides 14 General Ledger And Reporting System
Ais Romney 2006 Slides 14 General Ledger And Reporting System
 
Ais Romney 2006 Slides 09 Auditing Computer Based Is
Ais Romney 2006 Slides 09 Auditing Computer Based IsAis Romney 2006 Slides 09 Auditing Computer Based Is
Ais Romney 2006 Slides 09 Auditing Computer Based Is
 
Ais Romney 2006 Slides 07 Is Control1
Ais Romney 2006 Slides 07 Is Control1Ais Romney 2006 Slides 07 Is Control1
Ais Romney 2006 Slides 07 Is Control1
 
Ais Romney 2006 Slides 06 Control And Ais Part 1
Ais Romney 2006 Slides 06 Control And Ais Part 1Ais Romney 2006 Slides 06 Control And Ais Part 1
Ais Romney 2006 Slides 06 Control And Ais Part 1
 
Ais Romney 2006 Slides 08 Is Control2
Ais Romney 2006 Slides 08 Is Control2Ais Romney 2006 Slides 08 Is Control2
Ais Romney 2006 Slides 08 Is Control2
 
Ais Romney 2006 Slides 07 Is Control1
Ais Romney 2006 Slides 07 Is Control1Ais Romney 2006 Slides 07 Is Control1
Ais Romney 2006 Slides 07 Is Control1
 
Ais Romney 2006 Slides 06 Control And Ais
Ais Romney 2006 Slides 06 Control And AisAis Romney 2006 Slides 06 Control And Ais
Ais Romney 2006 Slides 06 Control And Ais
 
Ais Romney 2006 Slides 12 The Production Cycle
Ais Romney 2006 Slides 12 The Production CycleAis Romney 2006 Slides 12 The Production Cycle
Ais Romney 2006 Slides 12 The Production Cycle
 
Uthaya Chap 05 Input
Uthaya Chap 05 InputUthaya Chap 05 Input
Uthaya Chap 05 Input
 
Ais Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational DatabasesAis Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational Databases
 
System flow charts @ doms
System flow charts @  domsSystem flow charts @  doms
System flow charts @ doms
 
Ais Romney 2006 Slides 02 Business Process
Ais Romney 2006 Slides 02 Business ProcessAis Romney 2006 Slides 02 Business Process
Ais Romney 2006 Slides 02 Business Process
 
Purchasing & cash disbursement
Purchasing & cash disbursementPurchasing & cash disbursement
Purchasing & cash disbursement
 
Transaction cycles @ ppt dom s
Transaction cycles @ ppt dom sTransaction cycles @ ppt dom s
Transaction cycles @ ppt dom s
 
Introduction to Transaction Processing Chapter No. 2
Introduction to Transaction Processing   Chapter No. 2Introduction to Transaction Processing   Chapter No. 2
Introduction to Transaction Processing Chapter No. 2
 
Ais Romney 2006 Slides 11 The Expenditure Cycle
Ais Romney 2006 Slides 11 The Expenditure CycleAis Romney 2006 Slides 11 The Expenditure Cycle
Ais Romney 2006 Slides 11 The Expenditure Cycle
 
Accounting information system
Accounting information systemAccounting information system
Accounting information system
 
Ais Romney 2006 Slides 14 General Ledger And Reporting System
Ais Romney 2006 Slides 14 General Ledger And Reporting SystemAis Romney 2006 Slides 14 General Ledger And Reporting System
Ais Romney 2006 Slides 14 General Ledger And Reporting System
 

Similaire à Ais Romney 2006 Slides 04 Relational Databases

Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
RuelDogma1
 
Chapter 5 data processing
Chapter 5 data processingChapter 5 data processing
Chapter 5 data processing
UMaine
 
Uses of dbms
Uses of dbmsUses of dbms
Uses of dbms
MISY
 
CHAPTER-4_RELATIONAL-DATABASE.pptx
CHAPTER-4_RELATIONAL-DATABASE.pptxCHAPTER-4_RELATIONAL-DATABASE.pptx
CHAPTER-4_RELATIONAL-DATABASE.pptx
RiaBago
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 

Similaire à Ais Romney 2006 Slides 04 Relational Databases (20)

Relational database management systems
Relational database management systemsRelational database management systems
Relational database management systems
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
 
Chapter 5 data processing
Chapter 5 data processingChapter 5 data processing
Chapter 5 data processing
 
Uses of dbms
Uses of dbmsUses of dbms
Uses of dbms
 
CHAPTER-4_RELATIONAL-DATABASE.pptx
CHAPTER-4_RELATIONAL-DATABASE.pptxCHAPTER-4_RELATIONAL-DATABASE.pptx
CHAPTER-4_RELATIONAL-DATABASE.pptx
 
Dbms
DbmsDbms
Dbms
 
Data base management system
Data base management systemData base management system
Data base management system
 
Mis chapter 7 database systems
Mis chapter 7 database systemsMis chapter 7 database systems
Mis chapter 7 database systems
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
Dbms models
Dbms modelsDbms models
Dbms models
 
DATABASE MANAGEMENT
DATABASE MANAGEMENTDATABASE MANAGEMENT
DATABASE MANAGEMENT
 
Dbms
DbmsDbms
Dbms
 
DBMS NOTES.pdf
DBMS  NOTES.pdfDBMS  NOTES.pdf
DBMS NOTES.pdf
 
Dbms_class _14
Dbms_class _14Dbms_class _14
Dbms_class _14
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
MADHU.pptx
MADHU.pptxMADHU.pptx
MADHU.pptx
 
Database
DatabaseDatabase
Database
 
Dbms9
Dbms9Dbms9
Dbms9
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Modern database management system chapter 1
Modern database management system chapter 1Modern database management system chapter 1
Modern database management system chapter 1
 

Plus de Sharing Slides Training

Plus de Sharing Slides Training (9)

Ais Romney 2006 Slides 20 System Design
Ais Romney 2006 Slides 20 System DesignAis Romney 2006 Slides 20 System Design
Ais Romney 2006 Slides 20 System Design
 
Ais Romney 2006 Slides 19 Ais Development Strategies
Ais Romney 2006 Slides 19 Ais Development StrategiesAis Romney 2006 Slides 19 Ais Development Strategies
Ais Romney 2006 Slides 19 Ais Development Strategies
 
Ais Romney 2006 Slides 18 Introduction To Systems Development
Ais Romney 2006 Slides 18 Introduction To Systems DevelopmentAis Romney 2006 Slides 18 Introduction To Systems Development
Ais Romney 2006 Slides 18 Introduction To Systems Development
 
Ais Romney 2006 Slides 17 Special Topics In Rea
Ais Romney 2006 Slides 17 Special Topics In ReaAis Romney 2006 Slides 17 Special Topics In Rea
Ais Romney 2006 Slides 17 Special Topics In Rea
 
Ais Romney 2006 Slides 16 Implementing An Rea
Ais Romney 2006 Slides 16 Implementing An ReaAis Romney 2006 Slides 16 Implementing An Rea
Ais Romney 2006 Slides 16 Implementing An Rea
 
Ais Romney 2006 Slides 15 Database Design Using The Rea
Ais Romney 2006 Slides 15 Database Design Using The ReaAis Romney 2006 Slides 15 Database Design Using The Rea
Ais Romney 2006 Slides 15 Database Design Using The Rea
 
Ais Romney 2006 Slides 10 The Revenue Cycle
Ais Romney 2006 Slides 10 The Revenue CycleAis Romney 2006 Slides 10 The Revenue Cycle
Ais Romney 2006 Slides 10 The Revenue Cycle
 
Ais Romney 2006 Slides 09 Auditing Computer Based Is
Ais Romney 2006 Slides 09 Auditing Computer Based IsAis Romney 2006 Slides 09 Auditing Computer Based Is
Ais Romney 2006 Slides 09 Auditing Computer Based Is
 
Ais Romney 2006 Slides 05 Computer Fraud And Abuse
Ais Romney 2006 Slides 05 Computer Fraud And AbuseAis Romney 2006 Slides 05 Computer Fraud And Abuse
Ais Romney 2006 Slides 05 Computer Fraud And Abuse
 

Dernier

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Dernier (20)

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
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

Ais Romney 2006 Slides 04 Relational Databases

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28. Database Enrollment by Class Logical View—User A Logical View—User B DBMS Operating System The DBMS translates users’ logical views into instructions as to which data should be retrieved from the database.
  • 29. Database Enrollment by Class Logical View—User A Logical View—User B DBMS Operating System The operating system translates DBMS requests into instructions to physically retrieve data from various disks.
  • 30.
  • 31.
  • 32.
  • 33. Subschema--User A Smith . . . A Jones . . . B Arnold . . .D Subschema--User B Subschema--User C Enroll Cash Receipt Classes Student Mapping external-level views to conceptual-level schema Mapping conceptual-level items to internal-level descriptions
  • 34.
  • 35. Subschema--User A Smith . . . A Jones . . . B Arnold . . .D Subschema--User B Subschema--User C Enroll Cash Receipt Classes Student Mapping external-level views to conceptual-level schema Mapping conceptual-level items to internal-level descriptions
  • 36.
  • 37. Subschema--User A Smith . . . A Jones . . . B Arnold . . .D Subschema--User B Subschema--User C Enroll Cash Receipt Classes Student Mapping external-level views to conceptual-level schema Mapping conceptual-level items to internal-level descriptions
  • 38. Subschema--User A Smith . . . A Jones . . . B Arnold . . .D Subschema--User B Subschema--User C Enroll Cash Receipt Classes Student Mapping external-level views to conceptual-level schema Mapping conceptual-level items to internal-level descriptions The bidirectional arrows represent mappings between the schema.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 57.
  • 58. Each row is called a tuple, which rhymes with “couple.”
  • 59. Each row contains data about a specific occurrence of the type of entity in the table.
  • 60. Each column in a table contains information about a specific attribute of the entity.
  • 61. A primary key is the attribute or combination of attributes that uniquely identifies a specific row in a table.
  • 62. In some tables, two or more attributes may be joined to form the primary key.
  • 63. A foreign key is an attribute in one table that is a primary key in another table. 203 J.D. Radowski 1506 202 Xi Zhang 1503 316 Amy Melton 1419 420 Glen Howard 1418 Office No. First Name Last Name Advisor No. ADVISORS 1503 555-5555 Artie Moore 123-45-6789 1418 444-4444 Ned Sanders 111-11-1111 1418 333-3333 Alice Simpson 333-33-3333 Advisor No. Phone No. First Name Last Name Student ID STUDENTS
  • 64. Foreign keys are used to link tables together. 203 J.D. Radowski 1506 202 Xi Zhang 1503 316 Amy Melton 1419 420 Glen Howard 1418 Office No. First Name Last Name Advisor No. ADVISORS 1503 555-5555 Artie Moore 123-45-6789 1418 444-4444 Ned Sanders 111-11-1111 1418 333-3333 Alice Simpson 333-33-3333 Advisor No. Phone No. First Name Last Name Student ID STUDENTS
  • 65. Other non-key attributes in each table store important information about the entity. 203 J.D. Radowski 1506 202 Xi Zhang 1503 316 Amy Melton 1419 420 Glen Howard 1418 Office No. First Name Last Name Advisor No. ADVISORS 1503 555-5555 Artie Moore 123-45-6789 1418 444-4444 Ned Sanders 111-11-1111 1418 333-3333 Alice Simpson 333-33-3333 Advisor No. Phone No. First Name Last Name Student ID STUDENTS
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78. Advisor No. is a foreign key in the STUDENTS table. Every incident of Advisor No. in the STUDENTS table either matches an instance of the primary key in the ADVISORS table or is null. 203 J.D. Radowski 1506 202 Xi Zhang 1503 316 Amy Melton 1419 420 Glen Howard 1418 Office No. First Name Last Name Advisor No. ADVISORS 1503 555-5555 Artie Moore 123-45-6789 1418 444-4444 Ned Sanders 111-11-1111 1418 333-3333 Alice Simpson 333-33-3333 Advisor No. Phone No. First Name Last Name Student ID STUDENTS
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.
  • 84.
  • 85.
  • 86.
  • 87.
  • 88.
  • 89.
  • 90.
  • 91.
  • 92.
  • 93.
  • 94.
  • 95.