SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
Introduction to Database Concepts
Campaigns Need Data ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The (Internet) Life of Data
Important Data Terms Database  In practice, a set of tables.  Relational databases (like the ones that underlie websites) have tables that are related to each other by common fields.  ,[object Object],Table   A table is a collection of data organized into columns (fields) and rows (records) and related to other tables by common fields.  Field   A column. A field contains all the same type of data; each cell refers to a different unit.  Record   A row. A record contains all the different types of data about a unit of analysis (e.g. user, order, letter).
Tables Relate to Each Other “Keys” to success Fields that relate tables to each other are called “ keys ”. “ Primary key ” is the field (column) containing a unique id for each record.  Keys  prevent duplication  of info in database. donations volunteers campaigns users
Exercise ,[object Object],[object Object],[object Object],[object Object],users volunteers donations campaigns
Tables Relate to Each Other “Keys” to success Fields that relate tables to each other are called “ keys ”. “ Primary key ” is the field (column) containing a unique id for each record.  Keys  prevent duplication  of info in database. donations volunteers campaigns users
Structured Query Language SQL  A standard language for querying and modifying relational databases.  Query   Using SQL to ask the database a question.  mySQL  An Open Source Software relational database management system that uses SQL.  mySQL Query Browser  One of many available programs that allows you to connect to a database and run queries on it.
Structured Query Language Use SQL  SELECT, UPDATE, INSERT,  or DELETE data. SELECT statements ask the database to display data. SQL is the standard language used to speak to databases Use a SQL client to connect to the database and execute SELECT, UPDATE, INSERT, or DELETE statements.
mySQL Query Browser The database has a message for you…
Anatomy a SELECT statement ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],We’ll focus on  SELECT  statements today, because they’re the most basic, and what you’ll need most in your work. Leave the UPDATE, DELETE, INSERT to the tech team, if there is one.
Anatomy a SELECT statement ,[object Object],[object Object],[object Object],We’ll focus on  SELECT  statements today, because they’re the most basic, and what you’ll need most in your work. Leave the UPDATE, DELETE, INSERT to the tech team, if there is one.
Anatomy a SELECT statement ,[object Object],[object Object],[object Object],We’ll focus on  SELECT  statements today, because they’re the most basic, and what you’ll need most in your work. Leave the UPDATE, DELETE, INSERT to the tech team, if there is one.
Anatomy a SELECT statement ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],We’ll focus on  SELECT  statements today, because they’re the most basic, and what you’ll need most in your work. Leave the UPDATE, DELETE, INSERT to the tech team, if there is one.
Anatomy a SELECT statement ,[object Object],[object Object],[object Object],[object Object],We’ll focus on  SELECT  statements today, because they’re the most basic, and what you’ll need most in your work. Leave the UPDATE, DELETE, INSERT to the tech team, if there is one.
Exercise ,[object Object],[object Object],[object Object],[object Object],[object Object],users volunteers donations campaigns
Try this at home. ,[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances (20)

Database basics
Database basicsDatabase basics
Database basics
 
Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
 
DISE - Database Concepts
DISE - Database ConceptsDISE - Database Concepts
DISE - Database Concepts
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Introduction to database & sql
Introduction to database & sqlIntroduction to database & sql
Introduction to database & sql
 
Database Design
Database DesignDatabase Design
Database Design
 
L4 working with tables and data
L4 working with tables and dataL4 working with tables and data
L4 working with tables and data
 
Database
DatabaseDatabase
Database
 
Relational database revised
Relational database revisedRelational database revised
Relational database revised
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Rdbms
RdbmsRdbms
Rdbms
 
Database Basics Theory
Database Basics TheoryDatabase Basics Theory
Database Basics Theory
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representation
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
RDBMS concepts
RDBMS conceptsRDBMS concepts
RDBMS concepts
 
RDBMS
RDBMSRDBMS
RDBMS
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 
Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
 

En vedette

Database system concepts
Database system conceptsDatabase system concepts
Database system conceptsKumar
 
Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Ao6 Database
Ao6   DatabaseAo6   Database
Ao6 DatabaseBigKev
 
Databaseconcepts
DatabaseconceptsDatabaseconcepts
Databaseconceptsdilipkkr
 
9 relational database concepts
9 relational database concepts9 relational database concepts
9 relational database conceptsKumar
 
Datamodels & architecture
Datamodels & architectureDatamodels & architecture
Datamodels & architectureNeeraj Kumar
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecturesontumax
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of DatabaseMarlon Jamera
 

En vedette (20)

Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
 
Types of databases
Types of databasesTypes of databases
Types of databases
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Genome annotation 2013
Genome annotation 2013Genome annotation 2013
Genome annotation 2013
 
Types dbms
Types dbmsTypes dbms
Types dbms
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Ao6 Database
Ao6   DatabaseAo6   Database
Ao6 Database
 
Class363 1
Class363 1Class363 1
Class363 1
 
Databaseconcepts
DatabaseconceptsDatabaseconcepts
Databaseconcepts
 
9 relational database concepts
9 relational database concepts9 relational database concepts
9 relational database concepts
 
Datamodels & architecture
Datamodels & architectureDatamodels & architecture
Datamodels & architecture
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecture
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Sequence Analysis
Sequence AnalysisSequence Analysis
Sequence Analysis
 
Bioalgo 2012-02-rna
Bioalgo 2012-02-rnaBioalgo 2012-02-rna
Bioalgo 2012-02-rna
 

Similaire à Introduction to Database Concepts

Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007crespoje
 
MICROSOFT ACCESS 2016Basics-Handouts and LESSON Introduction.pdf
MICROSOFT ACCESS 2016Basics-Handouts and LESSON Introduction.pdfMICROSOFT ACCESS 2016Basics-Handouts and LESSON Introduction.pdf
MICROSOFT ACCESS 2016Basics-Handouts and LESSON Introduction.pdfJoshCasas1
 
GROUP-4-Database-Connectivity-with-MySqL.pptx
GROUP-4-Database-Connectivity-with-MySqL.pptxGROUP-4-Database-Connectivity-with-MySqL.pptx
GROUP-4-Database-Connectivity-with-MySqL.pptxJohnLhoydMaderable
 
System Data Modelling Tools
System Data Modelling ToolsSystem Data Modelling Tools
System Data Modelling ToolsLiam Dunphy
 
Advanced Database Systems - Presentation 1 with quiz.pptx
Advanced Database Systems - Presentation 1 with quiz.pptxAdvanced Database Systems - Presentation 1 with quiz.pptx
Advanced Database Systems - Presentation 1 with quiz.pptxEllenGracePorras
 
Creating and editing a database
Creating and editing a databaseCreating and editing a database
Creating and editing a databasecrystalpullen
 
It 302 computerized accounting (week 2) - sharifah
It 302   computerized accounting (week 2) - sharifahIt 302   computerized accounting (week 2) - sharifah
It 302 computerized accounting (week 2) - sharifahalish sha
 
Introduction to database with ms access.hetvii
Introduction to database with ms access.hetviiIntroduction to database with ms access.hetvii
Introduction to database with ms access.hetvii07HetviBhagat
 
Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)07HetviBhagat
 
Introduction to Data Warehousing
Introduction to Data WarehousingIntroduction to Data Warehousing
Introduction to Data WarehousingAnimesh Srivastava
 
Etl Overview (Extract, Transform, And Load)
Etl Overview (Extract, Transform, And Load)Etl Overview (Extract, Transform, And Load)
Etl Overview (Extract, Transform, And Load)LizLavaveshkul
 
Access Reports for Tenderfeet (or is that tenderfoots?)
Access Reports for Tenderfeet (or is that tenderfoots?) Access Reports for Tenderfeet (or is that tenderfoots?)
Access Reports for Tenderfeet (or is that tenderfoots?) Alan Manifold
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic ConceptsTony Wong
 
Bank mangement system
Bank mangement systemBank mangement system
Bank mangement systemFaisalGhffar
 

Similaire à Introduction to Database Concepts (20)

Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007
 
Data base
Data baseData base
Data base
 
MICROSOFT ACCESS 2016Basics-Handouts and LESSON Introduction.pdf
MICROSOFT ACCESS 2016Basics-Handouts and LESSON Introduction.pdfMICROSOFT ACCESS 2016Basics-Handouts and LESSON Introduction.pdf
MICROSOFT ACCESS 2016Basics-Handouts and LESSON Introduction.pdf
 
Access 2010
Access 2010Access 2010
Access 2010
 
GROUP-4-Database-Connectivity-with-MySqL.pptx
GROUP-4-Database-Connectivity-with-MySqL.pptxGROUP-4-Database-Connectivity-with-MySqL.pptx
GROUP-4-Database-Connectivity-with-MySqL.pptx
 
System Data Modelling Tools
System Data Modelling ToolsSystem Data Modelling Tools
System Data Modelling Tools
 
Advanced Database Systems - Presentation 1 with quiz.pptx
Advanced Database Systems - Presentation 1 with quiz.pptxAdvanced Database Systems - Presentation 1 with quiz.pptx
Advanced Database Systems - Presentation 1 with quiz.pptx
 
Database Session
Database SessionDatabase Session
Database Session
 
Creating and editing a database
Creating and editing a databaseCreating and editing a database
Creating and editing a database
 
It 302 computerized accounting (week 2) - sharifah
It 302   computerized accounting (week 2) - sharifahIt 302   computerized accounting (week 2) - sharifah
It 302 computerized accounting (week 2) - sharifah
 
Database
DatabaseDatabase
Database
 
W 8 introduction to database
W 8  introduction to databaseW 8  introduction to database
W 8 introduction to database
 
Introduction to database with ms access.hetvii
Introduction to database with ms access.hetviiIntroduction to database with ms access.hetvii
Introduction to database with ms access.hetvii
 
Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)
 
Introduction to Data Warehousing
Introduction to Data WarehousingIntroduction to Data Warehousing
Introduction to Data Warehousing
 
Module02
Module02Module02
Module02
 
Etl Overview (Extract, Transform, And Load)
Etl Overview (Extract, Transform, And Load)Etl Overview (Extract, Transform, And Load)
Etl Overview (Extract, Transform, And Load)
 
Access Reports for Tenderfeet (or is that tenderfoots?)
Access Reports for Tenderfeet (or is that tenderfoots?) Access Reports for Tenderfeet (or is that tenderfoots?)
Access Reports for Tenderfeet (or is that tenderfoots?)
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic Concepts
 
Bank mangement system
Bank mangement systemBank mangement system
Bank mangement system
 

Plus de Rosalyn Lemieux

Using Attentive.ly Social Automations for Radically Improved Engagement
Using Attentive.ly Social Automations for Radically Improved EngagementUsing Attentive.ly Social Automations for Radically Improved Engagement
Using Attentive.ly Social Automations for Radically Improved EngagementRosalyn Lemieux
 
Webinar: engaging donors and activists on social media with Attentive.ly
Webinar: engaging donors and activists on social media with Attentive.lyWebinar: engaging donors and activists on social media with Attentive.ly
Webinar: engaging donors and activists on social media with Attentive.lyRosalyn Lemieux
 
Attentive.ly how-to series
Attentive.ly how-to seriesAttentive.ly how-to series
Attentive.ly how-to seriesRosalyn Lemieux
 
Kidscount: Data Visualization
Kidscount: Data VisualizationKidscount: Data Visualization
Kidscount: Data VisualizationRosalyn Lemieux
 
How to make kiln fired glass
How to make kiln fired glassHow to make kiln fired glass
How to make kiln fired glassRosalyn Lemieux
 
Building an Activist List
Building an Activist ListBuilding an Activist List
Building an Activist ListRosalyn Lemieux
 
Social Media For Grassroots Engagement
Social Media For Grassroots EngagementSocial Media For Grassroots Engagement
Social Media For Grassroots EngagementRosalyn Lemieux
 

Plus de Rosalyn Lemieux (8)

Using Attentive.ly Social Automations for Radically Improved Engagement
Using Attentive.ly Social Automations for Radically Improved EngagementUsing Attentive.ly Social Automations for Radically Improved Engagement
Using Attentive.ly Social Automations for Radically Improved Engagement
 
Webinar: engaging donors and activists on social media with Attentive.ly
Webinar: engaging donors and activists on social media with Attentive.lyWebinar: engaging donors and activists on social media with Attentive.ly
Webinar: engaging donors and activists on social media with Attentive.ly
 
Attentive.ly how-to series
Attentive.ly how-to seriesAttentive.ly how-to series
Attentive.ly how-to series
 
Kidscount: Data Visualization
Kidscount: Data VisualizationKidscount: Data Visualization
Kidscount: Data Visualization
 
How to make kiln fired glass
How to make kiln fired glassHow to make kiln fired glass
How to make kiln fired glass
 
Building an Activist List
Building an Activist ListBuilding an Activist List
Building an Activist List
 
Social Media For Grassroots Engagement
Social Media For Grassroots EngagementSocial Media For Grassroots Engagement
Social Media For Grassroots Engagement
 
Intro To Twitter
Intro To TwitterIntro To Twitter
Intro To Twitter
 

Dernier

IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemAsko Soukka
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxMatsuo Lab
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URLRuncy Oommen
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Brian Pichman
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 

Dernier (20)

IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URL
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 
Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )Building Your Own AI Instance (TBLC AI )
Building Your Own AI Instance (TBLC AI )
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
201610817 - edge part1
201610817 - edge part1201610817 - edge part1
201610817 - edge part1
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 

Introduction to Database Concepts

  • 2.
  • 4.
  • 5. Tables Relate to Each Other “Keys” to success Fields that relate tables to each other are called “ keys ”. “ Primary key ” is the field (column) containing a unique id for each record. Keys prevent duplication of info in database. donations volunteers campaigns users
  • 6.
  • 7. Tables Relate to Each Other “Keys” to success Fields that relate tables to each other are called “ keys ”. “ Primary key ” is the field (column) containing a unique id for each record. Keys prevent duplication of info in database. donations volunteers campaigns users
  • 8. Structured Query Language SQL A standard language for querying and modifying relational databases. Query Using SQL to ask the database a question. mySQL An Open Source Software relational database management system that uses SQL. mySQL Query Browser One of many available programs that allows you to connect to a database and run queries on it.
  • 9. Structured Query Language Use SQL SELECT, UPDATE, INSERT, or DELETE data. SELECT statements ask the database to display data. SQL is the standard language used to speak to databases Use a SQL client to connect to the database and execute SELECT, UPDATE, INSERT, or DELETE statements.
  • 10. mySQL Query Browser The database has a message for you…
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.

Notes de l'éditeur

  1. {5 min} Welcome & next slide intro
  2. [3]{35} Q: Why should I stay awake for this? A: Campaigning is all about lists. Tables contain lists. Databases are sets of tables. Supporters Volunteers Donors Voters Legislators Others?
  3. {10 min} Get the Picture: How it all fits together (TAKE A LONG TIME ON THIS SLIDE, bringing in pieces one at a time.) Server Houses Database Website / Web server Share data back and forth via a Server-side application – e.g. ASP, PHP, CF; Can folks think of others? At MoveOn, we use a scripting language called Mason, which is basically Perl inside packets that let web pages process it. All good fun, but the point is to share data with Personal computers – single; collective is the WWW So you collect data from them using Secure data transfer via forms – e.g. donation form, petition form; What are some other examples? Great, but what do you do with that data? You can publish it back to the public via the website (over the Internet ) – e.g. donation thermometer, blog comments; Other? Or use a database client – e.g. mySQL QB – to really get your hands on the data. Use SQL to ask the database questions, like: Have we raised enough $ today to buy pizza for the volunteers? How many volunteers do we have in that precinct? Or, what’s the ratio of volunteers to residents in that precinct? Are there enough supporters in that DMA to have a successful media event next week?
  4. {5 min} Definitions (clarity over accuracy) Database In practice, a set of tables. Relational databases (like the ones that run websites) have tables that are related to each other by common fields. Table A table is a collection of data organized into columns (fields) and rows (records) and related to other tables by common fields. Field A column. A field contains all the same type of data; each cell refers to a different unit. Record A row. A record contains all the different types of data about a unit of analysis (e.g. user, order, letter).
  5. {10 min} TELL THEM THIS IS THE MOST IMPORTANT SLIDE TO UNDERSTAND TAKE SOME TIME ON IT {Don’t click yet} In a world without relational database management systems, we might have a person in charge of fundraising with a list of donors. Back 5 years (or today on smaller campaigns) this might be kept in Excel. Back 15, this might have been a little box of index cards. Before that, stone tablets. The volunteer coordinator might have another list, and never the twain shall meet. Today, we keep all our data (I hope) in RDBMS that neatly link together data that all arms of the campaign collect: who gave online, who signed a petition on the street, what fundraising campaigns are we running, and who gave to each of those campaigns, or volunteered for them; which precincts are we canvassing, with which volunteers, etc. The idea of a relational database is that there’s no (or little) duplication of data. Once we collect contact info for a person, we don’t reenter it somewhere else in the database each time she takes an action, we record the action she took and relate it back to her contact info. All this data is related in the database through unique record identifiers called keys . {Click to bring in arrow that shows how users is related to donations}  This “users” table contains supporters’ contact info. User_id is the primary key. Each primary key is unique in this table. That way, if two people named “Jim Smith” sign up, we won’t get them confused. One is user_id = 1 and the other is user_id = 5. Everything Sarah Jones does is linked back to her contact info using her user_id, 2.  If Sarah donates, she shows up in the “volunteers” table, but not as “Sarah Jones” as user_id #2. {Click to bring up Volunteers and Campaigns tables}  If Sarah volunteers, she shows up in the “volunteers” table, but not as “Sarah Jones” as user_id #2.  What other kind of info might we want to record?
  6. {5 min} Answer these questions using the tables provided. Go around and make sure people get the right answers. Note and help them if not.
  7. {5 min} Review answers in group BE SURE TO DO Q&A BEFORE MOVING ON
  8. {5 min for this and next 2 slides – Defining SQL} SQL A standard language for querying and modifying relational databases. Query Using SQL to as the database a question. mySQL MySQL is an Open Source Software relational database management system that uses SQL. mySQL Query Browser One of many available programs that allows you to connect to a database and run queries on it.
  9. If you are not the DBA, and you probably won’t be, then you don’t have direct access to the database. Since you don’t have access to the server where the database lives, it is as if it’s in another dimension, “the other side”. You can’t communicate with it directly. You need a medium: an SQL client, like mySQL QB. Use QB to connect to the database and communicate with it, by executing SQL statements.
  10. This is mySQL Query Browser, which is a medium for communicating with the database. There are lots of SQL clients – this is just an example. You can see here, you put in info about the server, a username and password (just like FTP, for those familiar with that). The QB brings up a map of the tables, and you can write SQL statements to query the data in those tables. We’re not going to use mySQL QB today, we’re just going to talk about how to create a simple SQL query.
  11. {10 min for this + next 4 slides} The most important type of SQL statement is SELECT. In a SELECT statement, you are required to give 2 pieces of info: which fields and which tables… Next screen to show basic query.
  12. * = all fields Result would be the entire table.
  13. * = all fields Result would be one column, user_id, that contained a row for every record.
  14. The next most useful clause is the WHERE clause. Not required, but this is where you limit the results by defining criteria. Go to next slide for example.
  15. {8 min} Write SQL queries for as many of these as you can in the next 8 minutes. Turn in to Justin via email by end of session.
  16. {2 min}