SlideShare a Scribd company logo
1 of 17
Introduction to  Relational Databases 1
Relational Databases ,[object Object],[object Object]
Relational Databases ,[object Object],[object Object]
Components ,[object Object],[object Object]
Components  ,[object Object],[object Object],[object Object],[object Object]
The Relational Database Model ,[object Object],[object Object],[object Object]
Flat Files ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example  Customers   Customer Number  Company Name  Address  City, State,  Phone Number  Orders  Order Number  Order Date  Order Line Items   Item Number  Description  Quantity  Price  Each time an order is placed, you'll need to repeat the customer information, including the Customer Number, Company Name, etc. A company which takes orders from many customers
Solution ,[object Object],[object Object]
Solution ,[object Object]
Solution Customers  CustID  CustName  CustAddress  CustCity  CustState  CustPhone  Orders  OrdID  OrdCustID  OrdDate  OrderDetails  ODID  ODOrdID  ODDescription  ODQty  ODPrice
Advantages of a RDMS ,[object Object],[object Object],[object Object],[object Object],[object Object]
Keys ,[object Object],[object Object],[object Object],[object Object]
Keys ,[object Object],[object Object],[object Object]
Example In the Customers Table, the CustID field will contain the data to uniquely identify a customer. This is the primary key. In the Orders table, the OrdCustID field would hold the value of the CustID field for the customer who placed the order. This makes OrdCustID a foreign key
Solution Customers  CustID  CustName  CustAddress  CustCity  CustState  CustPhone  Orders  OrdID  OrdCustID  OrdDate  OrderDetails  ODID  ODOrdID  ODDescription  ODQty  ODPrice  In the Orders table, the OrdCustID field would hold the value of the CustID field for the customer who placed the order.  Primary Keys Foreign Keys
Referential Integrity ,[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

Retrieving data using the sql select statement
Retrieving data using the sql select statementRetrieving data using the sql select statement
Retrieving data using the sql select statement
Syed Zaid Irshad
 
Lecture 10 distributed database management system
Lecture 10   distributed database management systemLecture 10   distributed database management system
Lecture 10 distributed database management system
emailharmeet
 
Lenguaje estructurado de consulta
Lenguaje estructurado de consultaLenguaje estructurado de consulta
Lenguaje estructurado de consulta
Maria Garcia
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
adukkas
 

What's hot (20)

Database systems
Database systemsDatabase systems
Database systems
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Retrieving data using the sql select statement
Retrieving data using the sql select statementRetrieving data using the sql select statement
Retrieving data using the sql select statement
 
Lecture 10 distributed database management system
Lecture 10   distributed database management systemLecture 10   distributed database management system
Lecture 10 distributed database management system
 
Lenguaje estructurado de consulta
Lenguaje estructurado de consultaLenguaje estructurado de consulta
Lenguaje estructurado de consulta
 
Diferencias entre base de datos relacional y no relacional
Diferencias entre base de datos relacional y no relacionalDiferencias entre base de datos relacional y no relacional
Diferencias entre base de datos relacional y no relacional
 
The Relational Database Model
The Relational Database ModelThe Relational Database Model
The Relational Database Model
 
Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
 
DBMS PPT
DBMS PPTDBMS PPT
DBMS PPT
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
DbMs
DbMsDbMs
DbMs
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
 
Database design process
Database design processDatabase design process
Database design process
 
Advanced SQL
Advanced SQLAdvanced SQL
Advanced SQL
 
Sql commands
Sql commandsSql commands
Sql commands
 
Data Models In Database Management System
Data Models In Database Management SystemData Models In Database Management System
Data Models In Database Management System
 
Base de datos
Base de datosBase de datos
Base de datos
 
Lesson 2 network database system
Lesson 2 network database systemLesson 2 network database system
Lesson 2 network database system
 
Database Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal GulatiDatabase Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal Gulati
 

Viewers also liked

Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database language
Jafar Nesargi
 
MySQL Best Practices - OTN
MySQL Best Practices - OTNMySQL Best Practices - OTN
MySQL Best Practices - OTN
Ronald Bradford
 
Access Ch4 Creating Reports And Forms (Jy)
Access Ch4   Creating Reports And Forms (Jy)Access Ch4   Creating Reports And Forms (Jy)
Access Ch4 Creating Reports And Forms (Jy)
Chun Hoi Lam
 
Validation and Verification
Validation and VerificationValidation and Verification
Validation and Verification
mrmwood
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
Rosalyn Lemieux
 
Open source software vs proprietary software
Open source software vs proprietary softwareOpen source software vs proprietary software
Open source software vs proprietary software
Lavan1997
 

Viewers also liked (20)

Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database language
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
Relational databases
Relational databasesRelational databases
Relational databases
 
Raj mysql
Raj mysqlRaj mysql
Raj mysql
 
MySQL Best Practices - OTN
MySQL Best Practices - OTNMySQL Best Practices - OTN
MySQL Best Practices - OTN
 
Bis Chapter3
Bis Chapter3Bis Chapter3
Bis Chapter3
 
Access Ch4 Creating Reports And Forms (Jy)
Access Ch4   Creating Reports And Forms (Jy)Access Ch4   Creating Reports And Forms (Jy)
Access Ch4 Creating Reports And Forms (Jy)
 
Validation and Verification
Validation and VerificationValidation and Verification
Validation and Verification
 
Comparing free software for spatial DBMSs
Comparing free software for spatial DBMSsComparing free software for spatial DBMSs
Comparing free software for spatial DBMSs
 
Ch1
Ch1Ch1
Ch1
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
Chapter2
Chapter2Chapter2
Chapter2
 
Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbms
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
MYSQL
MYSQLMYSQL
MYSQL
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
 
Chapter25
Chapter25Chapter25
Chapter25
 
Open source software vs proprietary software
Open source software vs proprietary softwareOpen source software vs proprietary software
Open source software vs proprietary software
 
RDBMS
RDBMSRDBMS
RDBMS
 
Rdbms
RdbmsRdbms
Rdbms
 

Similar to Relational Databases

18 database features
18 database features18 database features
18 database features
Rebecca Jones
 
Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of data
Dimara Hakim
 

Similar to Relational Databases (20)

Databases
DatabasesDatabases
Databases
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
T-SQL Overview
T-SQL OverviewT-SQL Overview
T-SQL Overview
 
18 database features
18 database features18 database features
18 database features
 
Databases By ZAK
Databases By ZAKDatabases By ZAK
Databases By ZAK
 
Database
Database Database
Database
 
Database design guide
Database design guideDatabase design guide
Database design guide
 
Database management system
Database management systemDatabase management system
Database management system
 
Relational database analysis and implementation
Relational database analysis and implementationRelational database analysis and implementation
Relational database analysis and implementation
 
Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of data
 
Database Concepts.pptx
Database Concepts.pptxDatabase Concepts.pptx
Database Concepts.pptx
 
ITGS - Data And Databases
ITGS - Data And DatabasesITGS - Data And Databases
ITGS - Data And Databases
 
Database.pdf
Database.pdfDatabase.pdf
Database.pdf
 
Dimensional Modelling
Dimensional ModellingDimensional Modelling
Dimensional Modelling
 
Ch10
Ch10Ch10
Ch10
 
Prague data management meetup 2017-03-28
Prague data management meetup 2017-03-28Prague data management meetup 2017-03-28
Prague data management meetup 2017-03-28
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representation
 
CIS 145 test 1 review
CIS 145 test 1 reviewCIS 145 test 1 review
CIS 145 test 1 review
 
DB2 on Mainframe
DB2 on MainframeDB2 on Mainframe
DB2 on Mainframe
 
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems incUnderstanding about relational database m-square systems inc
Understanding about relational database m-square systems inc
 

More from Jason Hando

Moodle news april_2010
Moodle news april_2010Moodle news april_2010
Moodle news april_2010
Jason Hando
 
Boston Joomla User Group Mtg June 09
Boston Joomla User Group Mtg June 09Boston Joomla User Group Mtg June 09
Boston Joomla User Group Mtg June 09
Jason Hando
 
User Interface Design
User Interface DesignUser Interface Design
User Interface Design
Jason Hando
 
Planning Multimedia
Planning MultimediaPlanning Multimedia
Planning Multimedia
Jason Hando
 
Multimedia Systems
Multimedia SystemsMultimedia Systems
Multimedia Systems
Jason Hando
 
Interactive Multimedia
Interactive MultimediaInteractive Multimedia
Interactive Multimedia
Jason Hando
 

More from Jason Hando (20)

Content Driven Learning Design by Jason Hando at ICTENSW AGM 2011
Content Driven Learning Design by Jason Hando at ICTENSW AGM 2011Content Driven Learning Design by Jason Hando at ICTENSW AGM 2011
Content Driven Learning Design by Jason Hando at ICTENSW AGM 2011
 
HTML5 and CSS3 for Teachers
HTML5 and CSS3 for TeachersHTML5 and CSS3 for Teachers
HTML5 and CSS3 for Teachers
 
Moodle as Medium - Sydney Moodle User Group April 2010
Moodle as Medium - Sydney Moodle User Group April 2010Moodle as Medium - Sydney Moodle User Group April 2010
Moodle as Medium - Sydney Moodle User Group April 2010
 
Moodle news april_2010
Moodle news april_2010Moodle news april_2010
Moodle news april_2010
 
Communications Systems
Communications SystemsCommunications Systems
Communications Systems
 
A Site Redesign - shock therapy for school webmasters
A  Site  Redesign - shock therapy for school webmastersA  Site  Redesign - shock therapy for school webmasters
A Site Redesign - shock therapy for school webmasters
 
Research In New Media Learning
Research In New Media LearningResearch In New Media Learning
Research In New Media Learning
 
Content Creation Workshop at NSWCEG 2009
Content Creation Workshop at NSWCEG 2009Content Creation Workshop at NSWCEG 2009
Content Creation Workshop at NSWCEG 2009
 
Boston Joomla User Group Mtg June 09
Boston Joomla User Group Mtg June 09Boston Joomla User Group Mtg June 09
Boston Joomla User Group Mtg June 09
 
Sydney Moodle User Group 11 - Cronulla High School
Sydney Moodle User Group 11 - Cronulla High SchoolSydney Moodle User Group 11 - Cronulla High School
Sydney Moodle User Group 11 - Cronulla High School
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Spreadhsheets 1
Spreadhsheets 1Spreadhsheets 1
Spreadhsheets 1
 
Project Work
Project WorkProject Work
Project Work
 
Databases
DatabasesDatabases
Databases
 
User Interface Design
User Interface DesignUser Interface Design
User Interface Design
 
Planning Multimedia
Planning MultimediaPlanning Multimedia
Planning Multimedia
 
Multimedia Systems
Multimedia SystemsMultimedia Systems
Multimedia Systems
 
Interactive Multimedia
Interactive MultimediaInteractive Multimedia
Interactive Multimedia
 
Spreadsheets 2
Spreadsheets 2Spreadsheets 2
Spreadsheets 2
 
Spreadhsheets 1
Spreadhsheets 1Spreadhsheets 1
Spreadhsheets 1
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Relational Databases

  • 1. Introduction to Relational Databases 1
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Example Customers Customer Number Company Name Address City, State, Phone Number Orders Order Number Order Date Order Line Items Item Number Description Quantity Price Each time an order is placed, you'll need to repeat the customer information, including the Customer Number, Company Name, etc. A company which takes orders from many customers
  • 9.
  • 10.
  • 11. Solution Customers CustID CustName CustAddress CustCity CustState CustPhone Orders OrdID OrdCustID OrdDate OrderDetails ODID ODOrdID ODDescription ODQty ODPrice
  • 12.
  • 13.
  • 14.
  • 15. Example In the Customers Table, the CustID field will contain the data to uniquely identify a customer. This is the primary key. In the Orders table, the OrdCustID field would hold the value of the CustID field for the customer who placed the order. This makes OrdCustID a foreign key
  • 16. Solution Customers CustID CustName CustAddress CustCity CustState CustPhone Orders OrdID OrdCustID OrdDate OrderDetails ODID ODOrdID ODDescription ODQty ODPrice In the Orders table, the OrdCustID field would hold the value of the CustID field for the customer who placed the order. Primary Keys Foreign Keys
  • 17.