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

What's hot (20)

Mongodb vs mysql
Mongodb vs mysqlMongodb vs mysql
Mongodb vs mysql
 
Relational databases
Relational databasesRelational databases
Relational databases
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
Database Normalization
Database NormalizationDatabase Normalization
Database Normalization
 
Data Modeling
Data ModelingData Modeling
Data Modeling
 
Er diagram
Er diagramEr diagram
Er diagram
 
Database Indexes
Database IndexesDatabase Indexes
Database Indexes
 
Introduction to Relational Databases
Introduction to Relational DatabasesIntroduction to Relational Databases
Introduction to Relational Databases
 
Mongodb
MongodbMongodb
Mongodb
 
Normalization
NormalizationNormalization
Normalization
 
database
databasedatabase
database
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Sql commands
Sql commandsSql commands
Sql commands
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQL
 
lecture_34e.pptx
lecture_34e.pptxlecture_34e.pptx
lecture_34e.pptx
 
Dbms presentaion
Dbms presentaionDbms presentaion
Dbms presentaion
 
Sql(structured query language)
Sql(structured query language)Sql(structured query language)
Sql(structured query language)
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
Introduction to mongodb
Introduction to mongodbIntroduction to mongodb
Introduction to mongodb
 

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
 
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
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to 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

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

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.