SlideShare a Scribd company logo
RELATIONAL DATABASE
N. J. Taylor
Database Management Systems
(DBMS)
2
Learning Objectives
• Understand how related tables avoid
the problems of lists and spreadsheets
• Learn the components of database
system
• Learn the purpose of the database
management system (DBMS)
Problems with Lists: Redundancy
• In a list, each row is intended to stand on its
own. As a result, the same information may
be entered several times (i.e., redundancy)
SALES_ORDERS
SO_Number Item_Number Item_Name Qty _Ordered Cust_Code Cust_Name
1010 2010-0050 Formed Handlebar 2 WHEEL Wheelaway Cy cle Center
1000-1 20 in. Bicy cle 5 WHEEL Wheelaway Cy cle Center
1011 1002-1 24 in. Bicy cle 5 ETC Bikes Et Cetera
1001-1 26 in. Bicy cle 10 ETC Bikes Et Cetera
1012 1003-1 20 in. Bicy cle 5 WHEEL Wheelaway Cy cle Center
1001-1 26 in. Bicy cle 10 WHEEL Wheelaway Cy cle Center
1013 1001-1 26 in. Bicy cle 50 IBS Inter. Bicy cle Sales
1014 1003-1 20 in. Bicy cle 25 ETC Bikes Et Cetera
1015 1003-1 20 in. Bicy cle 25 WHEEL Wheelaway Cy cle Center
1016 3961-1041 Tire Tube, 26 in. 5 ETC Bikes Et Cetera
3965-1050 Spoke Ref lector 50 ETC Bikes Et Cetera
1003-1 20 in. Bicy cle 5 ETC Bikes Et Cetera
1000-1 20 in. Bicy cle 4 ETC Bikes Et Cetera
Problems with Lists: Multiple Themes
• In a list, each row may contain information on more
than one “theme”. As a result, needed information
may appear in the lists only if information on other
themes is also present
SALES_ORDERS
SO_Number Item_Number Item_Name Qty_Ordered Cust_Code Cust_Name
1010 2010-0050 Formed Handlebar 2 WHEEL Wheelaway Cycle Center
1000-1 20 in. Bicycle 5 WHEEL Wheelaway Cycle Center
1011 1002-1 24 in. Bicycle 5 ETC Bikes Et Cetera
1001-1 26 in. Bicycle 10 ETC Bikes Et Cetera
1012 1003-1 20 in. Bicycle 5 WHEEL Wheelaway Cycle Center
1001-1 26 in. Bicycle 10 WHEEL Wheelaway Cycle Center
1013 1001-1 26 in. Bicycle 50 IBS Inter. Bicycle Sales
1014 1003-1 20 in. Bicycle 25 ETC Bikes Et Cetera
1015 1003-1 20 in. Bicycle 25 WHEEL Wheelaway Cycle Center
1016 3961-1041 Tire Tube, 26 in. 5 ETC Bikes Et Cetera
3965-1050 Spoke Reflector 50 ETC Bikes Et Cetera
1003-1 20 in. Bicycle 5 ETC Bikes Et Cetera
1000-1 20 in. Bicycle 4 ETC Bikes Et Cetera
Inter. Bicycle
Sales
information
would not be
available
without
SO #1013
This table
includes
information
on the Sales
Order,
Items, and
Customer
List Modification Issues
• Redundancy and multiple themes create
modification problems
Deletion problems
• If we delete SO #1013 we lose our customer IBS
Update problems
• If customer “Bikes Et Cetera” changes its name we
have to make sure we change it in every single row.
Insertion problems
• If we want to add a new customer, we must either
wait until they place an order or (worse) make up a
bogus sales order
List Modification Issues
SALES_ORDERS
SO_Number Item_Number Item_Name Qty_Ordered Cust_Code Cust_Name
1010 2010-0050 Formed Handlebar 2 WHEEL Wheelaway Cycle Center
1000-1 20 in. Bicycle 5 WHEEL Wheelaway Cycle Center
1011 1002-1 24 in. Bicycle 5 ETC Bikes Et Cetera
1001-1 26 in. Bicycle 10 ETC Bikes Et Cetera
1012 1003-1 20 in. Bicycle 5 WHEEL Wheelaway Cycle Center
1001-1 26 in. Bicycle 10 WHEEL Wheelaway Cycle Center
1013 1001-1 26 in. Bicycle 50 IBS Inter. Bicycle Sales
1014 1003-1 20 in. Bicycle 25 ETC Bikes Et Cetera
1015 1003-1 20 in. Bicycle 25 WHEEL Wheelaway Cycle Center
1016 3961-1041 Tire Tube, 26 in. 5 ETC Bikes etc.
3965-1050 Spoke Reflector 50 ETC Bikes etc.
1003-1 20 in. Bicycle 5 ETC Bikes etc.
1000-1 20 in. Bicycle 4 ETC Bikes etc.
New (& rich) Customer
DELETE
No SO
#1013,
no IBS
DELETE
No SO
#1013,
no IBS
INSERT
Blank
fields may
cause
problems
later
INSERT
Blank
fields may
cause
problems
later
UPDATE
Need to
change
Et Cetera
to etc.
UPDATE
Need to
change
Et Cetera
to etc.
Relational Databases
• A relational database stores information in
tables. Each informational theme is stored in its
own table
• In essence, a relational database will break-up a
list into several parts. One part for each theme
in the list
• This is similar to a Web page
– Rather than paste the information from another
source into our page, it can be linked instead.
– The updates are done on the linked page. We just
need to make sure that our link to it is valid
DBMS Benefits
• Though a relational database is more
complicated than a list, it protects us from
data anomalies (insert, update, and delete)
• Furthermore, a relational database provides a
solid foundation for user forms and reports
Components of a Database System
“Key” terms
• An entity is something of importance
to a user that needs to be represented
in a database
• An entity represents one theme or
topic and is represented by a table.
• The table dimensions, like a matrix,
consist of rows (tuples) and columns
(attributes)
Nolan J. Taylor - A337
A Key
• A (primary) key is one (or more) columns of a
relation that is (are) used to identify a row
• A composite key is a key that contains two or
more attributes
– For a key to be unique, it is sometimes necessary to
use a composite key
– Can also generate a set of unique values to serve
as the key (for example University ID numbers)
A Foreign Key
• A table may be related to other tables (i.e., a
relationship)
• To create relationships, you may need to
create a foreign key
• A foreign key is a primary key from one table
placed into another table
• Referential integrity - every value of a
foreign key must match a value of an existing
primary key
Nolan J. Taylor - A337
Foreign Key Example
Project
Proj_Num
Proj_Name
MgrID
Manager
MgrID
MgrName
Foreign Key
Primary
Key
Relationship
Functional Dependency
• A relationship between attributes in which
one or more attributes determines the value
of another attribute(s) in the same table
– The Proj_Num “determines” the Proj_Name
Relational database management system

More Related Content

Viewers also liked

Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
Mian Abdul Raheem
 
The relational database model
The relational database modelThe relational database model
The relational database model
Dhani Ahmad
 
Shpend Stojkaj baza e të dhënave
Shpend Stojkaj baza e të dhënaveShpend Stojkaj baza e të dhënave
Shpend Stojkaj baza e të dhënave
Shpend Stojkaj
 
Relationships within the relational database
Relationships within the relational databaseRelationships within the relational database
Relationships within the relational database
Janecatalla
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
Sarmad Ali
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
Kumar
 
Relational database management system (rdbms) i
Relational database management system (rdbms) iRelational database management system (rdbms) i
Relational database management system (rdbms) i
Ravinder Kamboj
 
7. Relational Database Design in DBMS
7. Relational Database Design in DBMS7. Relational Database Design in DBMS
7. Relational Database Design in DBMS
koolkampus
 
Multi-model database
Multi-model databaseMulti-model database
Multi-model database
Jiaheng Lu
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
Smriti Jain
 
Data warehouse architecture
Data warehouse architectureData warehouse architecture
Data warehouse architecture
pcherukumalla
 

Viewers also liked (11)

Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
The relational database model
The relational database modelThe relational database model
The relational database model
 
Shpend Stojkaj baza e të dhënave
Shpend Stojkaj baza e të dhënaveShpend Stojkaj baza e të dhënave
Shpend Stojkaj baza e të dhënave
 
Relationships within the relational database
Relationships within the relational databaseRelationships within the relational database
Relationships within the relational database
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
4 the relational data model and relational database constraints
4 the relational data model and relational database constraints4 the relational data model and relational database constraints
4 the relational data model and relational database constraints
 
Relational database management system (rdbms) i
Relational database management system (rdbms) iRelational database management system (rdbms) i
Relational database management system (rdbms) i
 
7. Relational Database Design in DBMS
7. Relational Database Design in DBMS7. Relational Database Design in DBMS
7. Relational Database Design in DBMS
 
Multi-model database
Multi-model databaseMulti-model database
Multi-model database
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
 
Data warehouse architecture
Data warehouse architectureData warehouse architecture
Data warehouse architecture
 

Similar to Relational database management system

Lintech 250series catalog
Lintech 250series catalogLintech 250series catalog
Lintech 250series catalog
Electromate
 
Pt guide 4 16
Pt guide 4 16Pt guide 4 16
Pt guide 4 16
Ionut Catalin Dimache
 
Thomson Linear RoundRail Twin Shaft Web 2CA
Thomson Linear RoundRail Twin Shaft Web 2CAThomson Linear RoundRail Twin Shaft Web 2CA
Thomson Linear RoundRail Twin Shaft Web 2CA
Electromate
 
Thomson roundrail 2_ca_universal_carriage_specsheet
Thomson roundrail 2_ca_universal_carriage_specsheetThomson roundrail 2_ca_universal_carriage_specsheet
Thomson roundrail 2_ca_universal_carriage_specsheet
Electromate
 
Haydon kerk complete catalog
Haydon kerk   complete catalogHaydon kerk   complete catalog
Haydon kerk complete catalog
Electromate
 
Lintech positioning systems_catalog
Lintech positioning systems_catalogLintech positioning systems_catalog
Lintech positioning systems_catalog
Electromate
 
John Deere 410e Backhoe Loader Service Repair Manual - TM1611
John Deere 410e Backhoe Loader Service Repair Manual - TM1611John Deere 410e Backhoe Loader Service Repair Manual - TM1611
John Deere 410e Backhoe Loader Service Repair Manual - TM1611
GregorStark
 
Lintech 250series specsheet
Lintech 250series specsheetLintech 250series specsheet
Lintech 250series specsheet
Electromate
 
John deere 6 414 t oem engine service repair manual
John deere 6 414 t oem engine service repair manualJohn deere 6 414 t oem engine service repair manual
John deere 6 414 t oem engine service repair manual
fjksekmdme
 
John deere 4 276 t oem engine service repair manual
John deere 4 276 t oem engine service repair manualJohn deere 4 276 t oem engine service repair manual
John deere 4 276 t oem engine service repair manual
fjksekmdme
 
John deere 3 164 d oem engine service repair manual
John deere 3 164 d oem engine service repair manualJohn deere 3 164 d oem engine service repair manual
John deere 3 164 d oem engine service repair manual
fjksekmdme
 
John deere 6 414 d oem engine service repair manual
John deere 6 414 d oem engine service repair manualJohn deere 6 414 d oem engine service repair manual
John deere 6 414 d oem engine service repair manual
fjjsekkdmme
 
John deere 6 414 d oem engine service repair manual
John deere 6 414 d oem engine service repair manualJohn deere 6 414 d oem engine service repair manual
John deere 6 414 d oem engine service repair manual
fjksekmdme
 
John deere 4 276 d oem engine service repair manual
John deere 4 276 d oem engine service repair manualJohn deere 4 276 d oem engine service repair manual
John deere 4 276 d oem engine service repair manual
fjjsekkdmme
 
John deere 4 239 d oem engine service repair manual
John deere 4 239 d oem engine service repair manualJohn deere 4 239 d oem engine service repair manual
John deere 4 239 d oem engine service repair manual
fjjsekkdmme
 
John deere 6 329 d oem engine service repair manual
John deere 6 329 d oem engine service repair manualJohn deere 6 329 d oem engine service repair manual
John deere 6 329 d oem engine service repair manual
fjjsekkdmme
 
John deere 4 219 d oem engine service repair manual
John deere 4 219 d oem engine service repair manualJohn deere 4 219 d oem engine service repair manual
John deere 4 219 d oem engine service repair manual
fjksekmdme
 
John deere 6 359 t oem engine service repair manual
John deere 6 359 t oem engine service repair manualJohn deere 6 359 t oem engine service repair manual
John deere 6 359 t oem engine service repair manual
fjksekmdme
 
John deere 3 179 d oem engine service repair manual
John deere 3 179 d oem engine service repair manualJohn deere 3 179 d oem engine service repair manual
John deere 3 179 d oem engine service repair manual
fjksekmdme
 
John deere 4 219 d oem engine service repair manual
John deere 4 219 d oem engine service repair manualJohn deere 4 219 d oem engine service repair manual
John deere 4 219 d oem engine service repair manual
fjjsekkdmme
 

Similar to Relational database management system (20)

Lintech 250series catalog
Lintech 250series catalogLintech 250series catalog
Lintech 250series catalog
 
Pt guide 4 16
Pt guide 4 16Pt guide 4 16
Pt guide 4 16
 
Thomson Linear RoundRail Twin Shaft Web 2CA
Thomson Linear RoundRail Twin Shaft Web 2CAThomson Linear RoundRail Twin Shaft Web 2CA
Thomson Linear RoundRail Twin Shaft Web 2CA
 
Thomson roundrail 2_ca_universal_carriage_specsheet
Thomson roundrail 2_ca_universal_carriage_specsheetThomson roundrail 2_ca_universal_carriage_specsheet
Thomson roundrail 2_ca_universal_carriage_specsheet
 
Haydon kerk complete catalog
Haydon kerk   complete catalogHaydon kerk   complete catalog
Haydon kerk complete catalog
 
Lintech positioning systems_catalog
Lintech positioning systems_catalogLintech positioning systems_catalog
Lintech positioning systems_catalog
 
John Deere 410e Backhoe Loader Service Repair Manual - TM1611
John Deere 410e Backhoe Loader Service Repair Manual - TM1611John Deere 410e Backhoe Loader Service Repair Manual - TM1611
John Deere 410e Backhoe Loader Service Repair Manual - TM1611
 
Lintech 250series specsheet
Lintech 250series specsheetLintech 250series specsheet
Lintech 250series specsheet
 
John deere 6 414 t oem engine service repair manual
John deere 6 414 t oem engine service repair manualJohn deere 6 414 t oem engine service repair manual
John deere 6 414 t oem engine service repair manual
 
John deere 4 276 t oem engine service repair manual
John deere 4 276 t oem engine service repair manualJohn deere 4 276 t oem engine service repair manual
John deere 4 276 t oem engine service repair manual
 
John deere 3 164 d oem engine service repair manual
John deere 3 164 d oem engine service repair manualJohn deere 3 164 d oem engine service repair manual
John deere 3 164 d oem engine service repair manual
 
John deere 6 414 d oem engine service repair manual
John deere 6 414 d oem engine service repair manualJohn deere 6 414 d oem engine service repair manual
John deere 6 414 d oem engine service repair manual
 
John deere 6 414 d oem engine service repair manual
John deere 6 414 d oem engine service repair manualJohn deere 6 414 d oem engine service repair manual
John deere 6 414 d oem engine service repair manual
 
John deere 4 276 d oem engine service repair manual
John deere 4 276 d oem engine service repair manualJohn deere 4 276 d oem engine service repair manual
John deere 4 276 d oem engine service repair manual
 
John deere 4 239 d oem engine service repair manual
John deere 4 239 d oem engine service repair manualJohn deere 4 239 d oem engine service repair manual
John deere 4 239 d oem engine service repair manual
 
John deere 6 329 d oem engine service repair manual
John deere 6 329 d oem engine service repair manualJohn deere 6 329 d oem engine service repair manual
John deere 6 329 d oem engine service repair manual
 
John deere 4 219 d oem engine service repair manual
John deere 4 219 d oem engine service repair manualJohn deere 4 219 d oem engine service repair manual
John deere 4 219 d oem engine service repair manual
 
John deere 6 359 t oem engine service repair manual
John deere 6 359 t oem engine service repair manualJohn deere 6 359 t oem engine service repair manual
John deere 6 359 t oem engine service repair manual
 
John deere 3 179 d oem engine service repair manual
John deere 3 179 d oem engine service repair manualJohn deere 3 179 d oem engine service repair manual
John deere 3 179 d oem engine service repair manual
 
John deere 4 219 d oem engine service repair manual
John deere 4 219 d oem engine service repair manualJohn deere 4 219 d oem engine service repair manual
John deere 4 219 d oem engine service repair manual
 

More from Muhammad Bilal Tariq

Human Ear
Human EarHuman Ear
Visual programming
Visual programmingVisual programming
Visual programming
Muhammad Bilal Tariq
 
Ch1-Operating System Concepts
Ch1-Operating System ConceptsCh1-Operating System Concepts
Ch1-Operating System Concepts
Muhammad Bilal Tariq
 
Ch1-Operating System Concept
Ch1-Operating System ConceptCh1-Operating System Concept
Ch1-Operating System Concept
Muhammad Bilal Tariq
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
 
Leadership
LeadershipLeadership
Exponential probability distribution
Exponential probability distributionExponential probability distribution
Exponential probability distribution
Muhammad Bilal Tariq
 

More from Muhammad Bilal Tariq (7)

Human Ear
Human EarHuman Ear
Human Ear
 
Visual programming
Visual programmingVisual programming
Visual programming
 
Ch1-Operating System Concepts
Ch1-Operating System ConceptsCh1-Operating System Concepts
Ch1-Operating System Concepts
 
Ch1-Operating System Concept
Ch1-Operating System ConceptCh1-Operating System Concept
Ch1-Operating System Concept
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
Leadership
LeadershipLeadership
Leadership
 
Exponential probability distribution
Exponential probability distributionExponential probability distribution
Exponential probability distribution
 

Recently uploaded

Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 

Recently uploaded (20)

Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 

Relational database management system

  • 2. N. J. Taylor Database Management Systems (DBMS) 2
  • 3. Learning Objectives • Understand how related tables avoid the problems of lists and spreadsheets • Learn the components of database system • Learn the purpose of the database management system (DBMS)
  • 4. Problems with Lists: Redundancy • In a list, each row is intended to stand on its own. As a result, the same information may be entered several times (i.e., redundancy) SALES_ORDERS SO_Number Item_Number Item_Name Qty _Ordered Cust_Code Cust_Name 1010 2010-0050 Formed Handlebar 2 WHEEL Wheelaway Cy cle Center 1000-1 20 in. Bicy cle 5 WHEEL Wheelaway Cy cle Center 1011 1002-1 24 in. Bicy cle 5 ETC Bikes Et Cetera 1001-1 26 in. Bicy cle 10 ETC Bikes Et Cetera 1012 1003-1 20 in. Bicy cle 5 WHEEL Wheelaway Cy cle Center 1001-1 26 in. Bicy cle 10 WHEEL Wheelaway Cy cle Center 1013 1001-1 26 in. Bicy cle 50 IBS Inter. Bicy cle Sales 1014 1003-1 20 in. Bicy cle 25 ETC Bikes Et Cetera 1015 1003-1 20 in. Bicy cle 25 WHEEL Wheelaway Cy cle Center 1016 3961-1041 Tire Tube, 26 in. 5 ETC Bikes Et Cetera 3965-1050 Spoke Ref lector 50 ETC Bikes Et Cetera 1003-1 20 in. Bicy cle 5 ETC Bikes Et Cetera 1000-1 20 in. Bicy cle 4 ETC Bikes Et Cetera
  • 5. Problems with Lists: Multiple Themes • In a list, each row may contain information on more than one “theme”. As a result, needed information may appear in the lists only if information on other themes is also present SALES_ORDERS SO_Number Item_Number Item_Name Qty_Ordered Cust_Code Cust_Name 1010 2010-0050 Formed Handlebar 2 WHEEL Wheelaway Cycle Center 1000-1 20 in. Bicycle 5 WHEEL Wheelaway Cycle Center 1011 1002-1 24 in. Bicycle 5 ETC Bikes Et Cetera 1001-1 26 in. Bicycle 10 ETC Bikes Et Cetera 1012 1003-1 20 in. Bicycle 5 WHEEL Wheelaway Cycle Center 1001-1 26 in. Bicycle 10 WHEEL Wheelaway Cycle Center 1013 1001-1 26 in. Bicycle 50 IBS Inter. Bicycle Sales 1014 1003-1 20 in. Bicycle 25 ETC Bikes Et Cetera 1015 1003-1 20 in. Bicycle 25 WHEEL Wheelaway Cycle Center 1016 3961-1041 Tire Tube, 26 in. 5 ETC Bikes Et Cetera 3965-1050 Spoke Reflector 50 ETC Bikes Et Cetera 1003-1 20 in. Bicycle 5 ETC Bikes Et Cetera 1000-1 20 in. Bicycle 4 ETC Bikes Et Cetera Inter. Bicycle Sales information would not be available without SO #1013 This table includes information on the Sales Order, Items, and Customer
  • 6. List Modification Issues • Redundancy and multiple themes create modification problems Deletion problems • If we delete SO #1013 we lose our customer IBS Update problems • If customer “Bikes Et Cetera” changes its name we have to make sure we change it in every single row. Insertion problems • If we want to add a new customer, we must either wait until they place an order or (worse) make up a bogus sales order
  • 7. List Modification Issues SALES_ORDERS SO_Number Item_Number Item_Name Qty_Ordered Cust_Code Cust_Name 1010 2010-0050 Formed Handlebar 2 WHEEL Wheelaway Cycle Center 1000-1 20 in. Bicycle 5 WHEEL Wheelaway Cycle Center 1011 1002-1 24 in. Bicycle 5 ETC Bikes Et Cetera 1001-1 26 in. Bicycle 10 ETC Bikes Et Cetera 1012 1003-1 20 in. Bicycle 5 WHEEL Wheelaway Cycle Center 1001-1 26 in. Bicycle 10 WHEEL Wheelaway Cycle Center 1013 1001-1 26 in. Bicycle 50 IBS Inter. Bicycle Sales 1014 1003-1 20 in. Bicycle 25 ETC Bikes Et Cetera 1015 1003-1 20 in. Bicycle 25 WHEEL Wheelaway Cycle Center 1016 3961-1041 Tire Tube, 26 in. 5 ETC Bikes etc. 3965-1050 Spoke Reflector 50 ETC Bikes etc. 1003-1 20 in. Bicycle 5 ETC Bikes etc. 1000-1 20 in. Bicycle 4 ETC Bikes etc. New (& rich) Customer DELETE No SO #1013, no IBS DELETE No SO #1013, no IBS INSERT Blank fields may cause problems later INSERT Blank fields may cause problems later UPDATE Need to change Et Cetera to etc. UPDATE Need to change Et Cetera to etc.
  • 8. Relational Databases • A relational database stores information in tables. Each informational theme is stored in its own table • In essence, a relational database will break-up a list into several parts. One part for each theme in the list • This is similar to a Web page – Rather than paste the information from another source into our page, it can be linked instead. – The updates are done on the linked page. We just need to make sure that our link to it is valid
  • 9. DBMS Benefits • Though a relational database is more complicated than a list, it protects us from data anomalies (insert, update, and delete) • Furthermore, a relational database provides a solid foundation for user forms and reports
  • 10. Components of a Database System
  • 11. “Key” terms • An entity is something of importance to a user that needs to be represented in a database • An entity represents one theme or topic and is represented by a table. • The table dimensions, like a matrix, consist of rows (tuples) and columns (attributes) Nolan J. Taylor - A337
  • 12. A Key • A (primary) key is one (or more) columns of a relation that is (are) used to identify a row • A composite key is a key that contains two or more attributes – For a key to be unique, it is sometimes necessary to use a composite key – Can also generate a set of unique values to serve as the key (for example University ID numbers)
  • 13. A Foreign Key • A table may be related to other tables (i.e., a relationship) • To create relationships, you may need to create a foreign key • A foreign key is a primary key from one table placed into another table • Referential integrity - every value of a foreign key must match a value of an existing primary key Nolan J. Taylor - A337
  • 15. Functional Dependency • A relationship between attributes in which one or more attributes determines the value of another attribute(s) in the same table – The Proj_Num “determines” the Proj_Name