SlideShare uma empresa Scribd logo
1 de 17
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]

Mais conteúdo relacionado

Mais procurados

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Mais 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
 

Mais 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
 

Último

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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.pdfUK Journal
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
[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.pdfhans926745
 
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 Scriptwesley chun
 
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 DevelopmentsTrustArc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
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 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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 organizationRadu Cotescu
 
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.pdfsudhanshuwaghmare1
 
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 RobisonAnna Loughnan Colquhoun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
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...Drew Madelung
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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)wesley chun
 
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 AutomationSafe Software
 
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 2024The Digital Insurer
 
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...apidays
 

Último (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[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
 
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
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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
 
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
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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)
 
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
 
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
 
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...
 

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.

Notas do Editor

  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}