SlideShare a Scribd company logo
1 of 15
Database Administration:
The Complete Guide to Practices and Procedures
Chapter 3
Data Modeling & Normalization
The Blind Men & The Elephant
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Entities
Student
Instructor
Course
ā€¢ Something that exists and is capable
of being described.
ā€¢ A person, place, thing, concept or
event about which an organization
maintains facts.
Employee
Order
Item
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Entity Naming Guidelines
ā€¢ Noun, or adjective noun format
ā€“Contract
ā€“Lease Agreement
ā€¢ Minimize use of adjectives
ā€“Contractor vs Contract Employee
ā€“Training vs Employee Course
ā€¢ Do not pluralize; use singular instead: Employee vs Employees
ā€“The entity type is a model or pattern rather than the set of all
employees
ā€¢ Use business terms
ā€“Vendor or Supplier?
ā€“User or Client?
ā€¢ Be consistent
ā€¢ Remove process specific artifacts from the entity name
ā€“State not Residence State
ā€“Agent not Selling Agent
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Entity-Relationship Diagramming
is
rented
under
reports to
completes
rents /
is in
employed by
receives
makes
rents under
is made on
is rented as
CUSTOMER
CustomerNum
Name
Address
Phone
CreditCardNum
CreditCardExDate
StatusCode
MOVIE
MovieNum
Name
Director
Description
Star
Rating
Genre
Rental Rate
STORE
StoreNum
Manager
Address
Phone
EMPLOYEE
EmployeeNum
Name
Address
Phone
SocialSecNum
HireDate
Salary
Supervisor (FK)
PAYMENT
Payment Transaction Num
Type
Amount
PaymentDate
Status
MOVIE RENTAL RECORD
Rental Record Date
Rental Date
Due Date
Rental Status
Rental Rate
Overdue Charge Amt
MOVIE COPY
Movie Copy Num
General Condition
JoinDate
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Data Model Diagram Guidelines
Order Customer
Order Customer
Order
Customer Customer
Order
Reads left-to-right
Is placed by
Read right-to-left
Places
Read top-to-bottomRead bottom-to-top
Is placed byPlaces
The relationship is read clockwise over the line
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Attributes
An attribute is a fact about an entity.
It is a data element that is an inherent property of an
entity.
An attribute will fulfill one (and only one) of these
objectives:
Identify
Relate
Describe
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Attribute Naming Guidelines
CLASS ABBREVIATION DESCRIPTION
ADDRESS ADDR Address or location
AMOUNT AMT Monetary amount
CODE CODE Classifications, codes, types
DATE DATE Calendar dates
DESCRIPTION DESC Descriptive text
IDENTIFIER ID Alphanumeric unique identifier
IMAGE IMG Encoded digital image
NAME NAME Alphabetic name, identification
NUMBER NUM Numeric count
PERCENT PCT Relationships as %
QUANTITY QTY Counts and units
TEXT TXT Free form document text
TIME TIME Time; temporal data
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Primary Keys
ā€¢ The attribute or attributes that uniquely identify an entity type
ā€¢ A primary key value uniquely identifies a single occurrence of an entity
Order
Order #: 0001 Line #: 1
ProdID: 1234
Qty: 5
Customer
Number
Order Number +
Line Number Product
ID
0001 / 1
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Discovering Entities, Attributes, and
Relationships
ā€¢ Keep track of the nouns, noun phrases, verbs and
adjectives used by subject matter experts
ā€¢ Nouns are potential entities & attributes, or
perhaps entity occurrences & attribute values
ā€¢ Adjectives and prepositional phrases are usually
potential attributes
ā€¢ Verbs highlight potential relationships
ā€¢ Of course, these are not hard & fast rules and you
will need to dig for meaning & understanding to
build an accurate data model
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Types of Data Models
ā€¢ Conceptual
ā€“ High level
ā€¢ Logical
ā€“ More detailed
ā€“ No many-to-many relationships
ā€“ Ready to move to physical
ā€¢ Physical
ā€“ Additional DBMS details
ā€“ Ready to be implemented as a database
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
First Normal Form
StudentID LastName FirstName MiddleInit MajorID StudentMajor
2907 Smith Jacob R MAT Mathematics
4019 Patterson Jane K PHI Philosophy
5145 Neeld Norris B EGL English Literature
6132 Morrison Xavier Q MUS Music
7810 Brown Richard E CS Computer Science
8966 Juarez Samantha EGL English Literature
StudentID CourseNum CourseName CourseCompDate
2907 MAT0011 Discrete Math 2002-08-01
2907 MAT0027 Calculus I 2002-04-30
2907 EGL0010 English Classics I 2001-12-30
4019 PHI0010 Intro to Philosophy 2002-04-30
4019 CS00100 Programming Languages 2002-04-30
5145 SOC0102 Ascent of Man 2002-08-01
6132 MUS0002 Origin of Jazz 2002-04-30
6132 SOC0102 Ascent of Man 2002-08-01
8966 EGL0010 English Classics I 2001-12-30
8966
EGL0101 Shakespeare II 2002-08-01
STUDENT
COURSE
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
MAJOR
MajorID
Major
STUDENT
StudentID
LastName
FirstName
MiddleInit
MajorID
ENROLLMENT
StudentID
CourseNum
CourseCompDate
COURSE
CourseNum
CourseName
Credits
The Data Model
in Third Normal Form
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
Additional Data Modeling Issues
ā€¢ Subtypes and super-types
ā€¢ Handling time
ā€¢ One-to-one relationships?
ā€¢ Derived data (see next slide)
This document is a partial preview. Full document download can be found on Flevy:
http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
1
Flevy (www.flevy.com) is the marketplace
for premium documents. These
documents can range from Business
Frameworks to Financial Models to
PowerPoint Templates.
Flevy was founded under the principle that
companies waste a lot of time and money
recreating the same foundational business
documents. Our vision is for Flevy to
become a comprehensive knowledge base
of business documents. All organizations,
from startups to large enterprises, can use
Flevyā€” whether it's to jumpstart projects, to
find reference or comparison materials, or
just to learn.
Contact Us
Please contact us with any questions you may have
about our company.
ā€¢ General Inquiries
support@flevy.com
ā€¢ Media/PR
press@flevy.com
ā€¢ Billing
billing@flevy.com

More Related Content

More from Flevy.com Best Practices

[Whitepaper] 8 Key Steps of Data Integration: Restructuring Redeployment Asse...
[Whitepaper] 8 Key Steps of Data Integration: Restructuring Redeployment Asse...[Whitepaper] 8 Key Steps of Data Integration: Restructuring Redeployment Asse...
[Whitepaper] 8 Key Steps of Data Integration: Restructuring Redeployment Asse...Flevy.com Best Practices
Ā 
[Whitepaper] Strategy Classics: Value Disciplines Model
[Whitepaper] Strategy Classics: Value Disciplines Model[Whitepaper] Strategy Classics: Value Disciplines Model
[Whitepaper] Strategy Classics: Value Disciplines ModelFlevy.com Best Practices
Ā 
[Whitepaper] The Definitive Guide to Strategic Planning: Hereā€™s What You Need...
[Whitepaper] The Definitive Guide to Strategic Planning: Hereā€™s What You Need...[Whitepaper] The Definitive Guide to Strategic Planning: Hereā€™s What You Need...
[Whitepaper] The Definitive Guide to Strategic Planning: Hereā€™s What You Need...Flevy.com Best Practices
Ā 
[Whitepaper] The Definitive Introduction to Strategy Development and Strategy...
[Whitepaper] The Definitive Introduction to Strategy Development and Strategy...[Whitepaper] The Definitive Introduction to Strategy Development and Strategy...
[Whitepaper] The Definitive Introduction to Strategy Development and Strategy...Flevy.com Best Practices
Ā 
[Whitepaper] The ā€œTheory of Constraints:ā€ Whatā€™s Limiting Your Organization?
[Whitepaper] The ā€œTheory of Constraints:ā€ Whatā€™s Limiting Your Organization?[Whitepaper] The ā€œTheory of Constraints:ā€ Whatā€™s Limiting Your Organization?
[Whitepaper] The ā€œTheory of Constraints:ā€ Whatā€™s Limiting Your Organization?Flevy.com Best Practices
Ā 
[Whitepaper] Transportation Cost Reduction in Supply Chain Management
[Whitepaper] Transportation Cost Reduction in Supply Chain Management[Whitepaper] Transportation Cost Reduction in Supply Chain Management
[Whitepaper] Transportation Cost Reduction in Supply Chain ManagementFlevy.com Best Practices
Ā 
[Whitepaper] A Great Leadership Experience: Dr. Rachid Yazami, Inventor of th...
[Whitepaper] A Great Leadership Experience: Dr. Rachid Yazami, Inventor of th...[Whitepaper] A Great Leadership Experience: Dr. Rachid Yazami, Inventor of th...
[Whitepaper] A Great Leadership Experience: Dr. Rachid Yazami, Inventor of th...Flevy.com Best Practices
Ā 
[Whitepaper] Finding It Hard to Manage Conflict at the Workplace? Use the Tho...
[Whitepaper] Finding It Hard to Manage Conflict at the Workplace? Use the Tho...[Whitepaper] Finding It Hard to Manage Conflict at the Workplace? Use the Tho...
[Whitepaper] Finding It Hard to Manage Conflict at the Workplace? Use the Tho...Flevy.com Best Practices
Ā 
[Whitepaper] Key Account Management: Handling Large Global Accounts the Right...
[Whitepaper] Key Account Management: Handling Large Global Accounts the Right...[Whitepaper] Key Account Management: Handling Large Global Accounts the Right...
[Whitepaper] Key Account Management: Handling Large Global Accounts the Right...Flevy.com Best Practices
Ā 
[Whitepaper] Nudge Theory: An Effective Way to Transform Negative Behaviors
[Whitepaper] Nudge Theory: An Effective Way to Transform Negative Behaviors[Whitepaper] Nudge Theory: An Effective Way to Transform Negative Behaviors
[Whitepaper] Nudge Theory: An Effective Way to Transform Negative BehaviorsFlevy.com Best Practices
Ā 
[Whitepaper] Business Model Innovation: Creation of Scalable Business Models ...
[Whitepaper] Business Model Innovation: Creation of Scalable Business Models ...[Whitepaper] Business Model Innovation: Creation of Scalable Business Models ...
[Whitepaper] Business Model Innovation: Creation of Scalable Business Models ...Flevy.com Best Practices
Ā 
[Whitepaper] Shareholder Value Traps: How to Evade Them and Focus on Value Cr...
[Whitepaper] Shareholder Value Traps: How to Evade Them and Focus on Value Cr...[Whitepaper] Shareholder Value Traps: How to Evade Them and Focus on Value Cr...
[Whitepaper] Shareholder Value Traps: How to Evade Them and Focus on Value Cr...Flevy.com Best Practices
Ā 
The Top 101 Consulting Frameworks of 2020
The Top 101 Consulting Frameworks of 2020The Top 101 Consulting Frameworks of 2020
The Top 101 Consulting Frameworks of 2020Flevy.com Best Practices
Ā 
Six Sigma - Statistical Process Control (SPC)
Six Sigma - Statistical Process Control (SPC)Six Sigma - Statistical Process Control (SPC)
Six Sigma - Statistical Process Control (SPC)Flevy.com Best Practices
Ā 
Lean Six Sigma - Process Risk Analysis (FMEA)
Lean Six Sigma - Process Risk Analysis (FMEA)Lean Six Sigma - Process Risk Analysis (FMEA)
Lean Six Sigma - Process Risk Analysis (FMEA)Flevy.com Best Practices
Ā 
Effective Staff Suggestion System (Kaizen Teian)
Effective Staff Suggestion System (Kaizen Teian)Effective Staff Suggestion System (Kaizen Teian)
Effective Staff Suggestion System (Kaizen Teian)Flevy.com Best Practices
Ā 

More from Flevy.com Best Practices (20)

[Whitepaper] 8 Key Steps of Data Integration: Restructuring Redeployment Asse...
[Whitepaper] 8 Key Steps of Data Integration: Restructuring Redeployment Asse...[Whitepaper] 8 Key Steps of Data Integration: Restructuring Redeployment Asse...
[Whitepaper] 8 Key Steps of Data Integration: Restructuring Redeployment Asse...
Ā 
[Whitepaper] Strategy Classics: Value Disciplines Model
[Whitepaper] Strategy Classics: Value Disciplines Model[Whitepaper] Strategy Classics: Value Disciplines Model
[Whitepaper] Strategy Classics: Value Disciplines Model
Ā 
[Whitepaper] The Definitive Guide to Strategic Planning: Hereā€™s What You Need...
[Whitepaper] The Definitive Guide to Strategic Planning: Hereā€™s What You Need...[Whitepaper] The Definitive Guide to Strategic Planning: Hereā€™s What You Need...
[Whitepaper] The Definitive Guide to Strategic Planning: Hereā€™s What You Need...
Ā 
[Whitepaper] The Definitive Introduction to Strategy Development and Strategy...
[Whitepaper] The Definitive Introduction to Strategy Development and Strategy...[Whitepaper] The Definitive Introduction to Strategy Development and Strategy...
[Whitepaper] The Definitive Introduction to Strategy Development and Strategy...
Ā 
[Whitepaper] The ā€œTheory of Constraints:ā€ Whatā€™s Limiting Your Organization?
[Whitepaper] The ā€œTheory of Constraints:ā€ Whatā€™s Limiting Your Organization?[Whitepaper] The ā€œTheory of Constraints:ā€ Whatā€™s Limiting Your Organization?
[Whitepaper] The ā€œTheory of Constraints:ā€ Whatā€™s Limiting Your Organization?
Ā 
[Whitepaper] Transportation Cost Reduction in Supply Chain Management
[Whitepaper] Transportation Cost Reduction in Supply Chain Management[Whitepaper] Transportation Cost Reduction in Supply Chain Management
[Whitepaper] Transportation Cost Reduction in Supply Chain Management
Ā 
[Whitepaper] A Great Leadership Experience: Dr. Rachid Yazami, Inventor of th...
[Whitepaper] A Great Leadership Experience: Dr. Rachid Yazami, Inventor of th...[Whitepaper] A Great Leadership Experience: Dr. Rachid Yazami, Inventor of th...
[Whitepaper] A Great Leadership Experience: Dr. Rachid Yazami, Inventor of th...
Ā 
[Whitepaper] Finding It Hard to Manage Conflict at the Workplace? Use the Tho...
[Whitepaper] Finding It Hard to Manage Conflict at the Workplace? Use the Tho...[Whitepaper] Finding It Hard to Manage Conflict at the Workplace? Use the Tho...
[Whitepaper] Finding It Hard to Manage Conflict at the Workplace? Use the Tho...
Ā 
[Whitepaper] Key Account Management: Handling Large Global Accounts the Right...
[Whitepaper] Key Account Management: Handling Large Global Accounts the Right...[Whitepaper] Key Account Management: Handling Large Global Accounts the Right...
[Whitepaper] Key Account Management: Handling Large Global Accounts the Right...
Ā 
[Whitepaper] Nudge Theory: An Effective Way to Transform Negative Behaviors
[Whitepaper] Nudge Theory: An Effective Way to Transform Negative Behaviors[Whitepaper] Nudge Theory: An Effective Way to Transform Negative Behaviors
[Whitepaper] Nudge Theory: An Effective Way to Transform Negative Behaviors
Ā 
[Whitepaper] Business Model Innovation: Creation of Scalable Business Models ...
[Whitepaper] Business Model Innovation: Creation of Scalable Business Models ...[Whitepaper] Business Model Innovation: Creation of Scalable Business Models ...
[Whitepaper] Business Model Innovation: Creation of Scalable Business Models ...
Ā 
[Whitepaper] Shareholder Value Traps: How to Evade Them and Focus on Value Cr...
[Whitepaper] Shareholder Value Traps: How to Evade Them and Focus on Value Cr...[Whitepaper] Shareholder Value Traps: How to Evade Them and Focus on Value Cr...
[Whitepaper] Shareholder Value Traps: How to Evade Them and Focus on Value Cr...
Ā 
The Top 101 Consulting Frameworks of 2020
The Top 101 Consulting Frameworks of 2020The Top 101 Consulting Frameworks of 2020
The Top 101 Consulting Frameworks of 2020
Ā 
Six Sigma - Statistical Process Control (SPC)
Six Sigma - Statistical Process Control (SPC)Six Sigma - Statistical Process Control (SPC)
Six Sigma - Statistical Process Control (SPC)
Ā 
Lean Six Sigma - Process Risk Analysis (FMEA)
Lean Six Sigma - Process Risk Analysis (FMEA)Lean Six Sigma - Process Risk Analysis (FMEA)
Lean Six Sigma - Process Risk Analysis (FMEA)
Ā 
Lean Manufacturing
Lean ManufacturingLean Manufacturing
Lean Manufacturing
Ā 
Effective Staff Suggestion System (Kaizen Teian)
Effective Staff Suggestion System (Kaizen Teian)Effective Staff Suggestion System (Kaizen Teian)
Effective Staff Suggestion System (Kaizen Teian)
Ā 
Sales Excellence - Diagnostic Tool
Sales Excellence - Diagnostic ToolSales Excellence - Diagnostic Tool
Sales Excellence - Diagnostic Tool
Ā 
Variance Analysis
Variance AnalysisVariance Analysis
Variance Analysis
Ā 
Change Management Models
Change Management ModelsChange Management Models
Change Management Models
Ā 

Recently uploaded

Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...allensay1
Ā 
Malegaon Call Girls Service ā˜Ž ļø82500ā€“77686 ā˜Žļø Enjoy 24/7 EscortĀ Service
Malegaon Call Girls Service ā˜Ž ļø82500ā€“77686 ā˜Žļø Enjoy 24/7 EscortĀ ServiceMalegaon Call Girls Service ā˜Ž ļø82500ā€“77686 ā˜Žļø Enjoy 24/7 EscortĀ Service
Malegaon Call Girls Service ā˜Ž ļø82500ā€“77686 ā˜Žļø Enjoy 24/7 EscortĀ ServiceDamini Dixit
Ā 
Nelamangala Call Girls: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bangalore...Nelamangala Call Girls: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bangalore...amitlee9823
Ā 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 MonthsIndeedSEO
Ā 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting
Ā 
Call Girls Hebbal Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service Bangaloreamitlee9823
Ā 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...daisycvs
Ā 
Call Girls Electronic City Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Servi...
Call Girls Electronic City Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Servi...Call Girls Electronic City Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Servi...
Call Girls Electronic City Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Servi...amitlee9823
Ā 
šŸ‘‰Chandigarh Call Girls šŸ‘‰9878799926šŸ‘‰Just CallšŸ‘‰Chandigarh Call Girl In Chandiga...
šŸ‘‰Chandigarh Call Girls šŸ‘‰9878799926šŸ‘‰Just CallšŸ‘‰Chandigarh Call Girl In Chandiga...šŸ‘‰Chandigarh Call Girls šŸ‘‰9878799926šŸ‘‰Just CallšŸ‘‰Chandigarh Call Girl In Chandiga...
šŸ‘‰Chandigarh Call Girls šŸ‘‰9878799926šŸ‘‰Just CallšŸ‘‰Chandigarh Call Girl In Chandiga...rajveerescorts2022
Ā 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
Ā 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
Ā 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentationuneakwhite
Ā 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
Ā 
BAGALUR CALL GIRL IN 98274*61493 ā¤CALL GIRLS IN ESCORT SERVICEā¤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ā¤CALL GIRLS IN ESCORT SERVICEā¤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ā¤CALL GIRLS IN ESCORT SERVICEā¤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ā¤CALL GIRLS IN ESCORT SERVICEā¤CALL GIRLkapoorjyoti4444
Ā 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
Ā 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
Ā 
Russian Call Girls In Rajiv Chowk Gurgaon ā¤ļø8448577510 āŠ¹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ā¤ļø8448577510 āŠ¹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ā¤ļø8448577510 āŠ¹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ā¤ļø8448577510 āŠ¹Best Escorts Service ...lizamodels9
Ā 
Call Girls In Noida 959961āŠ¹3876 Independent Escort Service Noida
Call Girls In Noida 959961āŠ¹3876 Independent Escort Service NoidaCall Girls In Noida 959961āŠ¹3876 Independent Escort Service Noida
Call Girls In Noida 959961āŠ¹3876 Independent Escort Service Noidadlhescort
Ā 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel
Ā 

Recently uploaded (20)

Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Ā 
Malegaon Call Girls Service ā˜Ž ļø82500ā€“77686 ā˜Žļø Enjoy 24/7 EscortĀ Service
Malegaon Call Girls Service ā˜Ž ļø82500ā€“77686 ā˜Žļø Enjoy 24/7 EscortĀ ServiceMalegaon Call Girls Service ā˜Ž ļø82500ā€“77686 ā˜Žļø Enjoy 24/7 EscortĀ Service
Malegaon Call Girls Service ā˜Ž ļø82500ā€“77686 ā˜Žļø Enjoy 24/7 EscortĀ Service
Ā 
Nelamangala Call Girls: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bangalore...Nelamangala Call Girls: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: šŸ“ 7737669865 šŸ“ High Profile Model Escorts | Bangalore...
Ā 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
Ā 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
Ā 
Call Girls Hebbal Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Service Bangalore
Ā 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Ā 
Call Girls Electronic City Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Servi...
Call Girls Electronic City Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Servi...Call Girls Electronic City Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Servi...
Call Girls Electronic City Just Call šŸ‘— 7737669865 šŸ‘— Top Class Call Girl Servi...
Ā 
šŸ‘‰Chandigarh Call Girls šŸ‘‰9878799926šŸ‘‰Just CallšŸ‘‰Chandigarh Call Girl In Chandiga...
šŸ‘‰Chandigarh Call Girls šŸ‘‰9878799926šŸ‘‰Just CallšŸ‘‰Chandigarh Call Girl In Chandiga...šŸ‘‰Chandigarh Call Girls šŸ‘‰9878799926šŸ‘‰Just CallšŸ‘‰Chandigarh Call Girl In Chandiga...
šŸ‘‰Chandigarh Call Girls šŸ‘‰9878799926šŸ‘‰Just CallšŸ‘‰Chandigarh Call Girl In Chandiga...
Ā 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Ā 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
Ā 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
Ā 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Ā 
BAGALUR CALL GIRL IN 98274*61493 ā¤CALL GIRLS IN ESCORT SERVICEā¤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ā¤CALL GIRLS IN ESCORT SERVICEā¤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ā¤CALL GIRLS IN ESCORT SERVICEā¤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ā¤CALL GIRLS IN ESCORT SERVICEā¤CALL GIRL
Ā 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
Ā 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
Ā 
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
Ā 
Russian Call Girls In Rajiv Chowk Gurgaon ā¤ļø8448577510 āŠ¹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ā¤ļø8448577510 āŠ¹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ā¤ļø8448577510 āŠ¹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ā¤ļø8448577510 āŠ¹Best Escorts Service ...
Ā 
Call Girls In Noida 959961āŠ¹3876 Independent Escort Service Noida
Call Girls In Noida 959961āŠ¹3876 Independent Escort Service NoidaCall Girls In Noida 959961āŠ¹3876 Independent Escort Service Noida
Call Girls In Noida 959961āŠ¹3876 Independent Escort Service Noida
Ā 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
Ā 

The Complete Guide to DBA Practices & Procedures - Data Modeling & Normalization - Part 3

  • 1. Database Administration: The Complete Guide to Practices and Procedures Chapter 3 Data Modeling & Normalization
  • 2. The Blind Men & The Elephant This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 3. Entities Student Instructor Course ā€¢ Something that exists and is capable of being described. ā€¢ A person, place, thing, concept or event about which an organization maintains facts. Employee Order Item This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 4. Entity Naming Guidelines ā€¢ Noun, or adjective noun format ā€“Contract ā€“Lease Agreement ā€¢ Minimize use of adjectives ā€“Contractor vs Contract Employee ā€“Training vs Employee Course ā€¢ Do not pluralize; use singular instead: Employee vs Employees ā€“The entity type is a model or pattern rather than the set of all employees ā€¢ Use business terms ā€“Vendor or Supplier? ā€“User or Client? ā€¢ Be consistent ā€¢ Remove process specific artifacts from the entity name ā€“State not Residence State ā€“Agent not Selling Agent This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 5. Entity-Relationship Diagramming is rented under reports to completes rents / is in employed by receives makes rents under is made on is rented as CUSTOMER CustomerNum Name Address Phone CreditCardNum CreditCardExDate StatusCode MOVIE MovieNum Name Director Description Star Rating Genre Rental Rate STORE StoreNum Manager Address Phone EMPLOYEE EmployeeNum Name Address Phone SocialSecNum HireDate Salary Supervisor (FK) PAYMENT Payment Transaction Num Type Amount PaymentDate Status MOVIE RENTAL RECORD Rental Record Date Rental Date Due Date Rental Status Rental Rate Overdue Charge Amt MOVIE COPY Movie Copy Num General Condition JoinDate This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 6. Data Model Diagram Guidelines Order Customer Order Customer Order Customer Customer Order Reads left-to-right Is placed by Read right-to-left Places Read top-to-bottomRead bottom-to-top Is placed byPlaces The relationship is read clockwise over the line This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 7. Attributes An attribute is a fact about an entity. It is a data element that is an inherent property of an entity. An attribute will fulfill one (and only one) of these objectives: Identify Relate Describe This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 8. Attribute Naming Guidelines CLASS ABBREVIATION DESCRIPTION ADDRESS ADDR Address or location AMOUNT AMT Monetary amount CODE CODE Classifications, codes, types DATE DATE Calendar dates DESCRIPTION DESC Descriptive text IDENTIFIER ID Alphanumeric unique identifier IMAGE IMG Encoded digital image NAME NAME Alphabetic name, identification NUMBER NUM Numeric count PERCENT PCT Relationships as % QUANTITY QTY Counts and units TEXT TXT Free form document text TIME TIME Time; temporal data This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 9. Primary Keys ā€¢ The attribute or attributes that uniquely identify an entity type ā€¢ A primary key value uniquely identifies a single occurrence of an entity Order Order #: 0001 Line #: 1 ProdID: 1234 Qty: 5 Customer Number Order Number + Line Number Product ID 0001 / 1 This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 10. Discovering Entities, Attributes, and Relationships ā€¢ Keep track of the nouns, noun phrases, verbs and adjectives used by subject matter experts ā€¢ Nouns are potential entities & attributes, or perhaps entity occurrences & attribute values ā€¢ Adjectives and prepositional phrases are usually potential attributes ā€¢ Verbs highlight potential relationships ā€¢ Of course, these are not hard & fast rules and you will need to dig for meaning & understanding to build an accurate data model This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 11. Types of Data Models ā€¢ Conceptual ā€“ High level ā€¢ Logical ā€“ More detailed ā€“ No many-to-many relationships ā€“ Ready to move to physical ā€¢ Physical ā€“ Additional DBMS details ā€“ Ready to be implemented as a database This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 12. First Normal Form StudentID LastName FirstName MiddleInit MajorID StudentMajor 2907 Smith Jacob R MAT Mathematics 4019 Patterson Jane K PHI Philosophy 5145 Neeld Norris B EGL English Literature 6132 Morrison Xavier Q MUS Music 7810 Brown Richard E CS Computer Science 8966 Juarez Samantha EGL English Literature StudentID CourseNum CourseName CourseCompDate 2907 MAT0011 Discrete Math 2002-08-01 2907 MAT0027 Calculus I 2002-04-30 2907 EGL0010 English Classics I 2001-12-30 4019 PHI0010 Intro to Philosophy 2002-04-30 4019 CS00100 Programming Languages 2002-04-30 5145 SOC0102 Ascent of Man 2002-08-01 6132 MUS0002 Origin of Jazz 2002-04-30 6132 SOC0102 Ascent of Man 2002-08-01 8966 EGL0010 English Classics I 2001-12-30 8966 EGL0101 Shakespeare II 2002-08-01 STUDENT COURSE This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 13. MAJOR MajorID Major STUDENT StudentID LastName FirstName MiddleInit MajorID ENROLLMENT StudentID CourseNum CourseCompDate COURSE CourseNum CourseName Credits The Data Model in Third Normal Form This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 14. Additional Data Modeling Issues ā€¢ Subtypes and super-types ā€¢ Handling time ā€¢ One-to-one relationships? ā€¢ Derived data (see next slide) This document is a partial preview. Full document download can be found on Flevy: http://flevy.com/browse/document/the-complete-guide-to-dba-practices-and-procedures-data-modeling-and-normalization-part-3-574
  • 15. 1 Flevy (www.flevy.com) is the marketplace for premium documents. These documents can range from Business Frameworks to Financial Models to PowerPoint Templates. Flevy was founded under the principle that companies waste a lot of time and money recreating the same foundational business documents. Our vision is for Flevy to become a comprehensive knowledge base of business documents. All organizations, from startups to large enterprises, can use Flevyā€” whether it's to jumpstart projects, to find reference or comparison materials, or just to learn. Contact Us Please contact us with any questions you may have about our company. ā€¢ General Inquiries support@flevy.com ā€¢ Media/PR press@flevy.com ā€¢ Billing billing@flevy.com