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

Database systems
Database systemsDatabase systems
Database systemsDhani Ahmad
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
Database Design
Database DesignDatabase Design
Database Designlearnt
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)welcometofacebook
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship ModelSlideshare
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database DesignArchit Saxena
 
Database Keys & Relationship
Database Keys & RelationshipDatabase Keys & Relationship
Database Keys & RelationshipBellal Hossain
 
Relational database
Relational database Relational database
Relational database Megha Sharma
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagramssadique_ghitm
 
ER model to Relational model mapping
ER model to Relational model mappingER model to Relational model mapping
ER model to Relational model mappingShubham Saini
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Naman Joshi
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Jotham Gadot
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment>. <
 
Normalization in a Database
Normalization in a DatabaseNormalization in a Database
Normalization in a DatabaseBishrul Haq
 

What's hot (20)

Database systems
Database systemsDatabase systems
Database systems
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Database Design
Database DesignDatabase Design
Database Design
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Normalization
NormalizationNormalization
Normalization
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Er diagram
Er diagramEr diagram
Er diagram
 
RDBMS
RDBMSRDBMS
RDBMS
 
Database Keys & Relationship
Database Keys & RelationshipDatabase Keys & Relationship
Database Keys & Relationship
 
Relational database
Relational database Relational database
Relational database
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
 
ER model to Relational model mapping
ER model to Relational model mappingER model to Relational model mapping
ER model to Relational model mapping
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment
 
Rdbms
RdbmsRdbms
Rdbms
 
Normalization in a Database
Normalization in a DatabaseNormalization in a Database
Normalization in a Database
 

Viewers also liked

Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database languageJafar Nesargi
 
MySQL Best Practices - OTN
MySQL Best Practices - OTNMySQL Best Practices - OTN
MySQL Best Practices - OTNRonald 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 Verificationmrmwood
 
Comparing free software for spatial DBMSs
Comparing free software for spatial DBMSsComparing free software for spatial DBMSs
Comparing free software for spatial DBMSsSmirnov Sergey
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management SystemMian Abdul Raheem
 
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 dbmsRai University
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemVarun Arora
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database ConceptsRosalyn Lemieux
 
Open source software vs proprietary software
Open source software vs proprietary softwareOpen source software vs proprietary software
Open source software vs proprietary softwareLavan1997
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMSSarmad Ali
 

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

Similar to Relational Databases

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

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 2011Jason Hando
 
HTML5 and CSS3 for Teachers
HTML5 and CSS3 for TeachersHTML5 and CSS3 for Teachers
HTML5 and CSS3 for TeachersJason Hando
 
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 2010Jason Hando
 
Moodle news april_2010
Moodle news april_2010Moodle news april_2010
Moodle news april_2010Jason Hando
 
Communications Systems
Communications SystemsCommunications Systems
Communications SystemsJason Hando
 
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 webmastersJason Hando
 
Research In New Media Learning
Research In New Media LearningResearch In New Media Learning
Research In New Media LearningJason Hando
 
Content Creation Workshop at NSWCEG 2009
Content Creation Workshop at NSWCEG 2009Content Creation Workshop at NSWCEG 2009
Content Creation Workshop at NSWCEG 2009Jason 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 09Jason Hando
 
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 SchoolJason Hando
 
User Interface Design
User Interface DesignUser Interface Design
User Interface DesignJason Hando
 
Planning Multimedia
Planning MultimediaPlanning Multimedia
Planning MultimediaJason Hando
 
Multimedia Systems
Multimedia SystemsMultimedia Systems
Multimedia SystemsJason Hando
 
Interactive Multimedia
Interactive MultimediaInteractive Multimedia
Interactive MultimediaJason 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

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 

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.