SlideShare a Scribd company logo
1 of 9
DATABASE DESIGN
USING MYSQL
Database Design Process
DESIGN PROCESS
All developers should have some kind or process when
creating a database/application structure, especially
with relational databases. Processes may vary
depending on the developer.
In this presentation I will describe a simple but effective
process that I use to create data structures
STEP ONE: DEFINE YOUR PURPOSE
The first step is to define the purpose of your
database and the application(s) that will use it
Our purpose is pretty simple. We want to create a
database for an application/website that will
• Sell products which can be categorized
• Create customer accounts
• Allow customers to create reviews for products
• Provide a basic content management system for
static pages
STEP TWO: DETERMINE YOUR TABLES
Once we figure out our purpose and what kinds of tasks
we need to do, we can divide our information up into
tables. You should follow a naming convention in your
table structure.
Going by the defining process, we know we need the
following tables…
• product_categories
• products
• customers
• reviews
• page_categories
• pages
STEP THREE: DETERMINE YOUR FIELDS
Your tables need fields. First decide which information
you want to save, then decide which table it should
be placed in
As an example, our “products” table will have an ID,
name, description, price, category and an image.
We can also add more along the way.
This step also includes choosing data types. We will
map out our full structure in the next video
STEP FOUR: DETERMINE YOUR
RELATIONSHIPS
In this step, we need to look at our table data and
figure out which tables can relate to another
A good example is in our “reviews” table, we have a
“customer” field. This field will relate to the “id” field in
the “customers” table
STEP FIVE: CREATE A DIAGRAM
Now that you have your data structure figured out,
transfer it from a messy notepad file to a neat
diagram or some other physical representation of the
schema using software like MySQL Workbench or Dia
Diagram Editor
STEP SIX: REFINE IF NEEDED
In step five you want to take a step back and really
look at your data structure and make any additions
or changes needed
Don’t get worried if you forgot some things or made
any errors. Your initial design is like a rough draft. You
can improve things as your application grows.
THAT’S IT!

More Related Content

What's hot

PowerPoint Unit B
PowerPoint Unit BPowerPoint Unit B
PowerPoint Unit Bjarana00
 
Access 2013 Unit D
Access 2013 Unit DAccess 2013 Unit D
Access 2013 Unit Djarana00
 
Introducing sharepoint 2007
Introducing  sharepoint 2007Introducing  sharepoint 2007
Introducing sharepoint 2007Jon Raynes
 
Lexis for Microsoft Office: Overview Brochure
Lexis for Microsoft Office: Overview BrochureLexis for Microsoft Office: Overview Brochure
Lexis for Microsoft Office: Overview BrochureLexisNexis
 
Lexis for Microsoft Office Getting Started Guide
Lexis for Microsoft Office Getting Started GuideLexis for Microsoft Office Getting Started Guide
Lexis for Microsoft Office Getting Started GuideLexisNexis
 
Intro Access
Intro AccessIntro Access
Intro AccessD
 

What's hot (8)

Work Order Management
Work Order ManagementWork Order Management
Work Order Management
 
PowerPoint Unit B
PowerPoint Unit BPowerPoint Unit B
PowerPoint Unit B
 
Access 2013 Unit D
Access 2013 Unit DAccess 2013 Unit D
Access 2013 Unit D
 
Introducing sharepoint 2007
Introducing  sharepoint 2007Introducing  sharepoint 2007
Introducing sharepoint 2007
 
Lexis for Microsoft Office: Overview Brochure
Lexis for Microsoft Office: Overview BrochureLexis for Microsoft Office: Overview Brochure
Lexis for Microsoft Office: Overview Brochure
 
Lexis for Microsoft Office Getting Started Guide
Lexis for Microsoft Office Getting Started GuideLexis for Microsoft Office Getting Started Guide
Lexis for Microsoft Office Getting Started Guide
 
Intro Access
Intro AccessIntro Access
Intro Access
 
Lecture one
Lecture oneLecture one
Lecture one
 

Viewers also liked

Țintirea inflației (aug 2012) - Raport trimestrial asupra inflației
Țintirea inflației (aug 2012) - Raport trimestrial asupra inflațieiȚintirea inflației (aug 2012) - Raport trimestrial asupra inflației
Țintirea inflației (aug 2012) - Raport trimestrial asupra inflațieiBanca Națională a României
 
Exercises to improve your form and protect your calves
Exercises to improve your form and protect your calvesExercises to improve your form and protect your calves
Exercises to improve your form and protect your calvesmclsto
 
Midlands PAMI press statement-final
Midlands PAMI press statement-finalMidlands PAMI press statement-final
Midlands PAMI press statement-finalZELA_infor
 
Consolidation of diamond mines final draft
Consolidation of diamond mines  final draftConsolidation of diamond mines  final draft
Consolidation of diamond mines final draftZELA_infor
 
How to make a relationship last
How to make a relationship lastHow to make a relationship last
How to make a relationship lastJen Vuhuong
 
How to have the best Christmas
How to have the best ChristmasHow to have the best Christmas
How to have the best ChristmasJen Vuhuong
 
The promise and perils of globalization
The promise and perils of globalization The promise and perils of globalization
The promise and perils of globalization Jen Vuhuong
 
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
 
Ț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
 
Proyecto de clase ingles
Proyecto de clase ingles Proyecto de clase ingles
Proyecto de clase ingles jomez9428
 
Mercedes Benz Corporate Run
Mercedes Benz Corporate RunMercedes Benz Corporate Run
Mercedes Benz Corporate RunEngineeredTax
 
My Query is slow, now what?
My Query is slow, now what?My Query is slow, now what?
My Query is slow, now what?Gianluca Sartori
 

Viewers also liked (16)

Țintirea inflației (aug 2012) - Raport trimestrial asupra inflației
Țintirea inflației (aug 2012) - Raport trimestrial asupra inflațieiȚintirea inflației (aug 2012) - Raport trimestrial asupra inflației
Țintirea inflației (aug 2012) - Raport trimestrial asupra inflației
 
Exercises to improve your form and protect your calves
Exercises to improve your form and protect your calvesExercises to improve your form and protect your calves
Exercises to improve your form and protect your calves
 
Bottomupparser
BottomupparserBottomupparser
Bottomupparser
 
Midlands PAMI press statement-final
Midlands PAMI press statement-finalMidlands PAMI press statement-final
Midlands PAMI press statement-final
 
Consolidation of diamond mines final draft
Consolidation of diamond mines  final draftConsolidation of diamond mines  final draft
Consolidation of diamond mines final draft
 
Introduction
IntroductionIntroduction
Introduction
 
How to make a relationship last
How to make a relationship lastHow to make a relationship last
How to make a relationship last
 
How to have the best Christmas
How to have the best ChristmasHow to have the best Christmas
How to have the best Christmas
 
Learn hadoop and big data technologies
Learn hadoop and big data technologiesLearn hadoop and big data technologies
Learn hadoop and big data technologies
 
The promise and perils of globalization
The promise and perils of globalization The promise and perils of globalization
The promise and perils of globalization
 
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
 
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
 
Proyecto de clase ingles
Proyecto de clase ingles Proyecto de clase ingles
Proyecto de clase ingles
 
Mercedes Benz Corporate Run
Mercedes Benz Corporate RunMercedes Benz Corporate Run
Mercedes Benz Corporate Run
 
My Query is slow, now what?
My Query is slow, now what?My Query is slow, now what?
My Query is slow, now what?
 

Similar to Learn Database Design with MySQL - Chapter 6 - Database design process

knowledgeforumpowerbitrainingnew-230816140827-5eb14be7.pdf
knowledgeforumpowerbitrainingnew-230816140827-5eb14be7.pdfknowledgeforumpowerbitrainingnew-230816140827-5eb14be7.pdf
knowledgeforumpowerbitrainingnew-230816140827-5eb14be7.pdfRame28
 
Nota database object query
Nota database object queryNota database object query
Nota database object queryAzmiah Mahmud
 
Power bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantPower bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantSatyabratarath5
 
La6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsLa6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsKak Yong
 
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxedieali1
 
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIEzekielJames8
 
La6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsLa6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsAzmiah Mahmud
 
Tableau Visual analytics complete deck 2
Tableau Visual analytics complete deck 2Tableau Visual analytics complete deck 2
Tableau Visual analytics complete deck 2Arun K
 
IT 330 Final Project Guidelines and Rubric Overview .docx
IT 330 Final Project Guidelines and Rubric  Overview .docxIT 330 Final Project Guidelines and Rubric  Overview .docx
IT 330 Final Project Guidelines and Rubric Overview .docxchristiandean12115
 
Power BI(Empower Your Data: Unleash Business Insights with Our Comprehensive ...
Power BI(Empower Your Data: Unleash Business Insights with Our Comprehensive ...Power BI(Empower Your Data: Unleash Business Insights with Our Comprehensive ...
Power BI(Empower Your Data: Unleash Business Insights with Our Comprehensive ...jahanvi52
 
ETL Microsoft Material
ETL Microsoft MaterialETL Microsoft Material
ETL Microsoft MaterialAhmed Hashem
 
Power BI101 SPS Chicago Suburbs 2020
Power BI101 SPS Chicago Suburbs 2020Power BI101 SPS Chicago Suburbs 2020
Power BI101 SPS Chicago Suburbs 2020Sharon Weaver
 
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Empowering Business Users: OBIEE 12c Visual Analyzer and Data MashupEmpowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Empowering Business Users: OBIEE 12c Visual Analyzer and Data MashupEdelweiss Kammermann
 
6 creating data visualizations for analysis
6 creating data visualizations for analysis6 creating data visualizations for analysis
6 creating data visualizations for analysisStefan Stefanov
 

Similar to Learn Database Design with MySQL - Chapter 6 - Database design process (20)

knowledgeforumpowerbitrainingnew-230816140827-5eb14be7.pdf
knowledgeforumpowerbitrainingnew-230816140827-5eb14be7.pdfknowledgeforumpowerbitrainingnew-230816140827-5eb14be7.pdf
knowledgeforumpowerbitrainingnew-230816140827-5eb14be7.pdf
 
PowerBI Training
PowerBI Training PowerBI Training
PowerBI Training
 
Nota database object query
Nota database object queryNota database object query
Nota database object query
 
Notacd12
Notacd12Notacd12
Notacd12
 
Notacd12
Notacd12Notacd12
Notacd12
 
Power bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantPower bi slide share pdf it is a very important
Power bi slide share pdf it is a very important
 
L6-information-systems
L6-information-systemsL6-information-systems
L6-information-systems
 
La6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsLa6 ict-topic-6-information-systems
La6 ict-topic-6-information-systems
 
L6-information-systems
L6-information-systemsL6-information-systems
L6-information-systems
 
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
 
Nota ict form 5
Nota ict form 5Nota ict form 5
Nota ict form 5
 
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
DSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BIDSN_Power BI
 
La6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsLa6 ict-topic-6-information-systems
La6 ict-topic-6-information-systems
 
Tableau Visual analytics complete deck 2
Tableau Visual analytics complete deck 2Tableau Visual analytics complete deck 2
Tableau Visual analytics complete deck 2
 
IT 330 Final Project Guidelines and Rubric Overview .docx
IT 330 Final Project Guidelines and Rubric  Overview .docxIT 330 Final Project Guidelines and Rubric  Overview .docx
IT 330 Final Project Guidelines and Rubric Overview .docx
 
Power BI(Empower Your Data: Unleash Business Insights with Our Comprehensive ...
Power BI(Empower Your Data: Unleash Business Insights with Our Comprehensive ...Power BI(Empower Your Data: Unleash Business Insights with Our Comprehensive ...
Power BI(Empower Your Data: Unleash Business Insights with Our Comprehensive ...
 
ETL Microsoft Material
ETL Microsoft MaterialETL Microsoft Material
ETL Microsoft Material
 
Power BI101 SPS Chicago Suburbs 2020
Power BI101 SPS Chicago Suburbs 2020Power BI101 SPS Chicago Suburbs 2020
Power BI101 SPS Chicago Suburbs 2020
 
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Empowering Business Users: OBIEE 12c Visual Analyzer and Data MashupEmpowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
Empowering Business Users: OBIEE 12c Visual Analyzer and Data Mashup
 
6 creating data visualizations for analysis
6 creating data visualizations for analysis6 creating data visualizations for analysis
6 creating data visualizations for analysis
 

More from Eduonix 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 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
 
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
 
Learn Database Design with MySQL - Chapter 1 - What is a database
Learn Database Design with MySQL - Chapter 1 -   What is a databaseLearn Database Design with MySQL - Chapter 1 -   What is a database
Learn Database Design with MySQL - Chapter 1 - What is a databaseEduonix Learning Solutions
 

More from Eduonix Learning Solutions (10)

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 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 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 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
 
Learn Database Design with MySQL - Chapter 1 - What is a database
Learn Database Design with MySQL - Chapter 1 -   What is a databaseLearn Database Design with MySQL - Chapter 1 -   What is a database
Learn Database Design with MySQL - Chapter 1 - What is a database
 
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 node.js by building projects
Learn node.js by building projectsLearn node.js by building projects
Learn node.js by building projects
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
 

Recently uploaded

FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxCeline George
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17Celine George
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfNirmal Dwivedi
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfcupulin
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjMohammed Sikander
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxRugvedSathawane
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSean M. Fox
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi RajagopalEADTU
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 

Recently uploaded (20)

VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 

Learn Database Design with MySQL - Chapter 6 - Database design process

  • 2. DESIGN PROCESS All developers should have some kind or process when creating a database/application structure, especially with relational databases. Processes may vary depending on the developer. In this presentation I will describe a simple but effective process that I use to create data structures
  • 3. STEP ONE: DEFINE YOUR PURPOSE The first step is to define the purpose of your database and the application(s) that will use it Our purpose is pretty simple. We want to create a database for an application/website that will • Sell products which can be categorized • Create customer accounts • Allow customers to create reviews for products • Provide a basic content management system for static pages
  • 4. STEP TWO: DETERMINE YOUR TABLES Once we figure out our purpose and what kinds of tasks we need to do, we can divide our information up into tables. You should follow a naming convention in your table structure. Going by the defining process, we know we need the following tables… • product_categories • products • customers • reviews • page_categories • pages
  • 5. STEP THREE: DETERMINE YOUR FIELDS Your tables need fields. First decide which information you want to save, then decide which table it should be placed in As an example, our “products” table will have an ID, name, description, price, category and an image. We can also add more along the way. This step also includes choosing data types. We will map out our full structure in the next video
  • 6. STEP FOUR: DETERMINE YOUR RELATIONSHIPS In this step, we need to look at our table data and figure out which tables can relate to another A good example is in our “reviews” table, we have a “customer” field. This field will relate to the “id” field in the “customers” table
  • 7. STEP FIVE: CREATE A DIAGRAM Now that you have your data structure figured out, transfer it from a messy notepad file to a neat diagram or some other physical representation of the schema using software like MySQL Workbench or Dia Diagram Editor
  • 8. STEP SIX: REFINE IF NEEDED In step five you want to take a step back and really look at your data structure and make any additions or changes needed Don’t get worried if you forgot some things or made any errors. Your initial design is like a rough draft. You can improve things as your application grows.