SlideShare a Scribd company logo
1 of 9
DATABASE DESIGN
USING MYSQL
What is A Database?
WHAT IS A DATABASE?
A database is an
ordered collection of data
The word “Database” can be quite vague. People tend to
clump a combination of 3 things when referring to a
database
• The Data
• The Database Management System
• Database Application
DATABASE MANAGEMENT SYSTEMS
(DBMS)
A “DBMS” is Software that is designed to model data and
provide interaction with a user
• Data is normally stored in one or more files
• Data is usually stored in tables
• Tables contain rows and columns much like a
spreadsheet
• Data can be cross referenced among tables. This
functionality is used in “Relational Databases”
such as MySQL
POPULAR DBMS’S
• MySQL
• PostgreSQL
• SQLite
• Microsoft SQL Server
• Oracle
• SAP
• FoxPro
• dBASE
• MariaDB
SIMPLE EXAMPLE
id first_name last_name email
1 Brad Traversy brad@something.com
2 John Doe john@something.com
3 Jane Doe Jane@something.com
Here is an example of a very simple
table inside of a database
Database Name: MyStore
Table Name: Users
Columns/Fields: id, first_name, last_name, email
Rows/Records: 3 Users
INTERACTING WITH A DATABASE
Some common functions when working with
a database…
• Define
• Create
• Select
• Query
• Update
• Delete
WHAT IS SQL?
SQL (Structured Query Language) is a special purpose
programming language that allows developers to
interact with the data in a database
• Based on relational algebra and tuple relational
calculus
• Data definition and data manipulation language
• Perform CRUD (Create, Read, Update, Delete)
COMMON DATABASE MODELS
• Relational Database (MySQL)
• Object Oriented Database
• Object Relational Database
• Distributed Database
• NoSQL Database (MongoDB)
• Multimedia Database
• Flat Database
• Network Database
• Hierarchical Database
THAT’S IT!

More Related Content

What's hot (20)

How to create Database in Moodle
How to create  Database in MoodleHow to create  Database in Moodle
How to create Database in Moodle
 
Introduction to data structures (ss)
Introduction to data structures (ss)Introduction to data structures (ss)
Introduction to data structures (ss)
 
DATABASE PRESENTATION
DATABASE PRESENTATIONDATABASE PRESENTATION
DATABASE PRESENTATION
 
Data structure day5
Data structure day5Data structure day5
Data structure day5
 
SQL
SQL SQL
SQL
 
A short introduction to database systems.ppt
A short introduction to  database systems.pptA short introduction to  database systems.ppt
A short introduction to database systems.ppt
 
Sql introduction
Sql introductionSql introduction
Sql introduction
 
Codd rules
Codd rulesCodd rules
Codd rules
 
Codds rule
Codds ruleCodds rule
Codds rule
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentation
 
Entities and attributes
Entities and attributesEntities and attributes
Entities and attributes
 
DBMS
DBMSDBMS
DBMS
 
RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
 
Indexes
IndexesIndexes
Indexes
 
Relational database oracle
Relational database  oracleRelational database  oracle
Relational database oracle
 
ppt on open office.org
ppt on open office.orgppt on open office.org
ppt on open office.org
 
statistics
statistics statistics
statistics
 
SQL server management studio
SQL server management studioSQL server management studio
SQL server management studio
 
MS Access Intro
MS Access IntroMS Access Intro
MS Access Intro
 
Union in c language
Union  in c languageUnion  in c language
Union in c language
 

Viewers also liked

Learn Database Design with MySQL - Chapter 2 - My sql overview
Learn Database Design with MySQL - Chapter 2 - My sql overviewLearn Database Design with MySQL - Chapter 2 - My sql overview
Learn Database Design with MySQL - Chapter 2 - My sql overviewEduonix Learning Solutions
 
Why do you want to study international management
Why do you want to study international managementWhy do you want to study international management
Why do you want to study international managementJen Vuhuong
 
Producao sustentavelpecuarialeiteira
Producao sustentavelpecuarialeiteiraProducao sustentavelpecuarialeiteira
Producao sustentavelpecuarialeiteiraLiliane Almeida
 
Ethnographically-inspired usability testing
Ethnographically-inspired usability testingEthnographically-inspired usability testing
Ethnographically-inspired usability testingLeah Emary
 
Țintirea inflației (mai 2012) - Raport trimestrial asupra inflației
Țintirea inflației (mai 2012) - Raport trimestrial asupra inflațieiȚintirea inflației (mai 2012) - Raport trimestrial asupra inflației
Țintirea inflației (mai 2012) - Raport trimestrial asupra inflațieiBanca Națională a României
 
Mae Jamison by Aspen
Mae Jamison by AspenMae Jamison by Aspen
Mae Jamison by AspenJolinspeeps
 
Mekanikateknik 140330175907-phpapp01
Mekanikateknik 140330175907-phpapp01Mekanikateknik 140330175907-phpapp01
Mekanikateknik 140330175907-phpapp01frans2014
 
The goo goo dolls presentation- Mickayla Bailey
The goo goo dolls presentation- Mickayla BaileyThe goo goo dolls presentation- Mickayla Bailey
The goo goo dolls presentation- Mickayla Baileymickaylabailey
 

Viewers also liked (16)

Learn Database Design with MySQL - Chapter 2 - My sql overview
Learn Database Design with MySQL - Chapter 2 - My sql overviewLearn Database Design with MySQL - Chapter 2 - My sql overview
Learn Database Design with MySQL - Chapter 2 - My sql overview
 
Learn node.js by building projects
Learn node.js by building projectsLearn node.js by building projects
Learn node.js by building projects
 
Why do you want to study international management
Why do you want to study international managementWhy do you want to study international management
Why do you want to study international management
 
Producao sustentavelpecuarialeiteira
Producao sustentavelpecuarialeiteiraProducao sustentavelpecuarialeiteira
Producao sustentavelpecuarialeiteira
 
Londres cris jas
Londres cris jasLondres cris jas
Londres cris jas
 
Home technologies
Home technologiesHome technologies
Home technologies
 
Ethnographically-inspired usability testing
Ethnographically-inspired usability testingEthnographically-inspired usability testing
Ethnographically-inspired usability testing
 
Recycling
RecyclingRecycling
Recycling
 
Țintirea inflației (mai 2012) - Raport trimestrial asupra inflației
Țintirea inflației (mai 2012) - Raport trimestrial asupra inflațieiȚintirea inflației (mai 2012) - Raport trimestrial asupra inflației
Țintirea inflației (mai 2012) - Raport trimestrial asupra inflației
 
ERP
ERPERP
ERP
 
Mae Jamison by Aspen
Mae Jamison by AspenMae Jamison by Aspen
Mae Jamison by Aspen
 
Introduction
IntroductionIntroduction
Introduction
 
The pencil 184
The pencil 184The pencil 184
The pencil 184
 
Mekanikateknik 140330175907-phpapp01
Mekanikateknik 140330175907-phpapp01Mekanikateknik 140330175907-phpapp01
Mekanikateknik 140330175907-phpapp01
 
Introduction
IntroductionIntroduction
Introduction
 
The goo goo dolls presentation- Mickayla Bailey
The goo goo dolls presentation- Mickayla BaileyThe goo goo dolls presentation- Mickayla Bailey
The goo goo dolls presentation- Mickayla Bailey
 

Similar to DATABASE DESIGN USING MYSQL

Presentation DBMS (1)
Presentation DBMS (1)Presentation DBMS (1)
Presentation DBMS (1)Ali Raza
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...Dipen Parmar
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02smelltulip
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Tushar Wagh
 
DBMS - Database Management System
DBMS - Database Management System DBMS - Database Management System
DBMS - Database Management System Krishna Patel
 
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
 
5 data resource management
5 data resource management5 data resource management
5 data resource managementNymphea Saraf
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSSRajThakuri
 
Database system concepts
Database system conceptsDatabase system concepts
Database system conceptsKumar
 
History of database processing module 1 (2)
History of database processing module 1 (2)History of database processing module 1 (2)
History of database processing module 1 (2)chottu89
 
Database Management System (DBMS)
Database Management System (DBMS)Database Management System (DBMS)
Database Management System (DBMS)Kallol Roy
 
IS L03 - Database Management
IS L03 - Database ManagementIS L03 - Database Management
IS L03 - Database ManagementJan Wong
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databasesMR Z
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxRiannel Tecson
 
Database Management Systems 1
Database Management Systems 1Database Management Systems 1
Database Management Systems 1Nickkisha Farrell
 
Database management system
Database management systemDatabase management system
Database management systemkhagendrabasnet4
 
What is database.pptx
What is database.pptxWhat is database.pptx
What is database.pptxaftabjordan1
 

Similar to DATABASE DESIGN USING MYSQL (20)

Presentation DBMS (1)
Presentation DBMS (1)Presentation DBMS (1)
Presentation DBMS (1)
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332
 
DBMS - Database Management System
DBMS - Database Management System DBMS - Database Management System
DBMS - Database Management System
 
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
 
5 data resource management
5 data resource management5 data resource management
5 data resource management
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSS
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
 
History of database processing module 1 (2)
History of database processing module 1 (2)History of database processing module 1 (2)
History of database processing module 1 (2)
 
Database Management System (DBMS)
Database Management System (DBMS)Database Management System (DBMS)
Database Management System (DBMS)
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
IS L03 - Database Management
IS L03 - Database ManagementIS L03 - Database Management
IS L03 - Database Management
 
Database lecture 1
Database   lecture 1Database   lecture 1
Database lecture 1
 
6.2 software
6.2 software6.2 software
6.2 software
 
Info systems databases
Info systems databasesInfo systems databases
Info systems databases
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
 
Database Management Systems 1
Database Management Systems 1Database Management Systems 1
Database Management Systems 1
 
Database management system
Database management systemDatabase management system
Database management system
 
What is database.pptx
What is database.pptxWhat is database.pptx
What is database.pptx
 

More from Eduonix Learning Solutions

Learn Database Design with MySQL - Chapter 6 - Database design process
Learn Database Design with MySQL - Chapter 6 - Database design processLearn Database Design with MySQL - Chapter 6 - Database design process
Learn Database Design with MySQL - Chapter 6 - Database design processEduonix Learning Solutions
 
Learn Database Design with MySQL - Chapter 5 - Design principles & normalization
Learn Database Design with MySQL - Chapter 5 - Design principles & normalizationLearn Database Design with MySQL - Chapter 5 - Design principles & normalization
Learn Database Design with MySQL - Chapter 5 - Design principles & normalizationEduonix Learning Solutions
 
Learn Database Design with MySQL - Chapter 4 - Data types
Learn Database Design with MySQL - Chapter 4 - Data typesLearn Database Design with MySQL - Chapter 4 - Data types
Learn Database Design with MySQL - Chapter 4 - Data typesEduonix Learning Solutions
 
Learn Database Design with MySQL - Chapter 3 - My sql storage engines
Learn Database Design with MySQL - Chapter 3 - My sql storage enginesLearn Database Design with MySQL - Chapter 3 - My sql storage engines
Learn Database Design with MySQL - Chapter 3 - My sql storage enginesEduonix Learning Solutions
 

More from Eduonix Learning Solutions (9)

Learn angularjs step by step
Learn angularjs step by stepLearn angularjs step by step
Learn angularjs step by step
 
Learn Database Design with MySQL - Chapter 6 - Database design process
Learn Database Design with MySQL - Chapter 6 - Database design processLearn Database Design with MySQL - Chapter 6 - Database design process
Learn Database Design with MySQL - Chapter 6 - Database design process
 
Learn Database Design with MySQL - Chapter 5 - Design principles & normalization
Learn Database Design with MySQL - Chapter 5 - Design principles & normalizationLearn Database Design with MySQL - Chapter 5 - Design principles & normalization
Learn Database Design with MySQL - Chapter 5 - Design principles & normalization
 
Learn Database Design with MySQL - Chapter 4 - Data types
Learn Database Design with MySQL - Chapter 4 - Data typesLearn Database Design with MySQL - Chapter 4 - Data types
Learn Database Design with MySQL - Chapter 4 - Data types
 
Learn Database Design with MySQL - Chapter 3 - My sql storage engines
Learn Database Design with MySQL - Chapter 3 - My sql storage enginesLearn Database Design with MySQL - Chapter 3 - My sql storage engines
Learn Database Design with MySQL - Chapter 3 - My sql storage engines
 
Ultimate android app development course
Ultimate android app development course Ultimate android app development course
Ultimate android app development course
 
Learn software development
Learn software developmentLearn software development
Learn software development
 
Learn hadoop and big data technologies
Learn hadoop and big data technologiesLearn hadoop and big data technologies
Learn hadoop and big data technologies
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
 

Recently uploaded

PRINCIPLE & APPLICATIONS OF IMMUNO BLOTTING TECHNIQUES.pptx
PRINCIPLE & APPLICATIONS OF IMMUNO BLOTTING TECHNIQUES.pptxPRINCIPLE & APPLICATIONS OF IMMUNO BLOTTING TECHNIQUES.pptx
PRINCIPLE & APPLICATIONS OF IMMUNO BLOTTING TECHNIQUES.pptxAnupkumar Sharma
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
How to Manage Engineering to Order in Odoo 17
How to Manage Engineering to Order in Odoo 17How to Manage Engineering to Order in Odoo 17
How to Manage Engineering to Order in Odoo 17Celine George
 
The State of AI in Insights and Research 2024: Results and Findings
The State of AI in Insights and Research 2024: Results and FindingsThe State of AI in Insights and Research 2024: Results and Findings
The State of AI in Insights and Research 2024: Results and FindingsRay Poynter
 
MECHANISMS OF DIFFERENT TYPES OF HYPERSENITIVITY REACTIONS.pptx
MECHANISMS OF DIFFERENT TYPES OF HYPERSENITIVITY REACTIONS.pptxMECHANISMS OF DIFFERENT TYPES OF HYPERSENITIVITY REACTIONS.pptx
MECHANISMS OF DIFFERENT TYPES OF HYPERSENITIVITY REACTIONS.pptxAnupkumar Sharma
 
CONCEPT OF MUTATION AND ITS CLASSIFICATION .pptx
CONCEPT OF MUTATION AND ITS CLASSIFICATION .pptxCONCEPT OF MUTATION AND ITS CLASSIFICATION .pptx
CONCEPT OF MUTATION AND ITS CLASSIFICATION .pptxAnupkumar Sharma
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 

Recently uploaded (20)

PRINCIPLE & APPLICATIONS OF IMMUNO BLOTTING TECHNIQUES.pptx
PRINCIPLE & APPLICATIONS OF IMMUNO BLOTTING TECHNIQUES.pptxPRINCIPLE & APPLICATIONS OF IMMUNO BLOTTING TECHNIQUES.pptx
PRINCIPLE & APPLICATIONS OF IMMUNO BLOTTING TECHNIQUES.pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
How to Manage Engineering to Order in Odoo 17
How to Manage Engineering to Order in Odoo 17How to Manage Engineering to Order in Odoo 17
How to Manage Engineering to Order in Odoo 17
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
The State of AI in Insights and Research 2024: Results and Findings
The State of AI in Insights and Research 2024: Results and FindingsThe State of AI in Insights and Research 2024: Results and Findings
The State of AI in Insights and Research 2024: Results and Findings
 
MECHANISMS OF DIFFERENT TYPES OF HYPERSENITIVITY REACTIONS.pptx
MECHANISMS OF DIFFERENT TYPES OF HYPERSENITIVITY REACTIONS.pptxMECHANISMS OF DIFFERENT TYPES OF HYPERSENITIVITY REACTIONS.pptx
MECHANISMS OF DIFFERENT TYPES OF HYPERSENITIVITY REACTIONS.pptx
 
CONCEPT OF MUTATION AND ITS CLASSIFICATION .pptx
CONCEPT OF MUTATION AND ITS CLASSIFICATION .pptxCONCEPT OF MUTATION AND ITS CLASSIFICATION .pptx
CONCEPT OF MUTATION AND ITS CLASSIFICATION .pptx
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 

DATABASE DESIGN USING MYSQL

  • 2. WHAT IS A DATABASE? A database is an ordered collection of data The word “Database” can be quite vague. People tend to clump a combination of 3 things when referring to a database • The Data • The Database Management System • Database Application
  • 3. DATABASE MANAGEMENT SYSTEMS (DBMS) A “DBMS” is Software that is designed to model data and provide interaction with a user • Data is normally stored in one or more files • Data is usually stored in tables • Tables contain rows and columns much like a spreadsheet • Data can be cross referenced among tables. This functionality is used in “Relational Databases” such as MySQL
  • 4. POPULAR DBMS’S • MySQL • PostgreSQL • SQLite • Microsoft SQL Server • Oracle • SAP • FoxPro • dBASE • MariaDB
  • 5. SIMPLE EXAMPLE id first_name last_name email 1 Brad Traversy brad@something.com 2 John Doe john@something.com 3 Jane Doe Jane@something.com Here is an example of a very simple table inside of a database Database Name: MyStore Table Name: Users Columns/Fields: id, first_name, last_name, email Rows/Records: 3 Users
  • 6. INTERACTING WITH A DATABASE Some common functions when working with a database… • Define • Create • Select • Query • Update • Delete
  • 7. WHAT IS SQL? SQL (Structured Query Language) is a special purpose programming language that allows developers to interact with the data in a database • Based on relational algebra and tuple relational calculus • Data definition and data manipulation language • Perform CRUD (Create, Read, Update, Delete)
  • 8. COMMON DATABASE MODELS • Relational Database (MySQL) • Object Oriented Database • Object Relational Database • Distributed Database • NoSQL Database (MongoDB) • Multimedia Database • Flat Database • Network Database • Hierarchical Database