SlideShare a Scribd company logo
Data
Models
Dr. Kamal Gulati
Fundamentals of Data Modeling and Database Design
Dr. Kamal Gulati
ERM vs. ERD
• ERM (Entity Relationship Data Model / Entity–
Relationship Modeling): is a detailed, Logical
representation of the data for an organization or for
a business area. ERM is expressed in terms of :
• Entities
• Attributes
• Relationships
• ERD (Entity Relationship Diagram): is a graphical
representation of a Entity-Relationship Model.
Dr. Kamal Gulati
ERM (Entity Relationship
Modeling)
• Is a data model for describing the data or
information aspects of a business domain or its
process requirements, in an abstract way that lends
itself to ultimately being implemented in a
database such as a relational database.
• Data Model: A set of concepts to describe the structure
of a database and certain constrain that the database
shouldobey.
Dr. Kamal Gulati
• The main components of ER models are
entities (things) and the relationships that can exist
among them.
• Entity–Relationship Modeling was developed
by Peter Chen and published in a 1976.
Dr. Kamal Gulati
The three schema approach to software
engineering uses three levels of ER models that
may be developed.
• Conceptual data model
• Logical data model
• Physical data model
Dr. Kamal Gulati
Dr. Kamal Gulati
Conceptual data model
• A conceptual schema or conceptual data model is
a map of concepts and their relationships used
for databases.
• This describes the semantics of an organization
and represents a series of assertions about its
nature.
• Specifically, it describes the things of significance to
an organization (entity classes), about which it is
inclined to collect information, and characteristics
of (attributes) and associations between pairs of
those things of significance (relationships).
Dr. Kamal Gulati
CONCEPTUAL DATA MODEL
• This ER model establishes a broad view of what
should be included in the model set. Conceptual
data models:
• Include important entities and the relationship between
them.
• Do not specify attributes.
• Do not specify primary keys.
• Conceptual ERDs can be used as the foundation for
logical data models. They may also be used to form
commonality relationships between ER models as a
basis for data model integration.
Dr. Kamal Gulati
Logical data model
• Is a type of data model showing a detailed
representation of an organization's data,
independent of any particular technology, and
described in business language.
• A logical data model standardizes people, places,
things and the rules, relationships and the events
between them.
Dr. Kamal Gulati
LOGICAL DATA MODEL
• This model contains more detail than the conceptual ER
model, without regard to how information will be
physically implemented in the database. Logical data
models:
• Include all entities and relationships between them.
• Specify attributes for each entity.
• Specify primary key for each entity.
• Specify foreign keys, which identify the relationship between
different entities.
• Involve normalization, which is the process of removing
redundancy in a table so that the table is easier to modify.
Normalization typically occurs by dividing an entity table into
two or more tables and defining relationships between the
tables.
Dr. Kamal Gulati
Physical data model
• A physical data model (or database design) is a
representation of a data design which takes into
account the facilities and constraints of a
given database management system.
• In the lifecycle of a project it typically derives from
a logical data model, though it may be reverse-
engineered from a given database implementation.
Dr. Kamal Gulati
PHYSICAL DATA MODEL
• The physical data model represents the process of
adding information to the database. This model shows
all table structures, including column name, column
data type, column constraints, primary key, foreign key,
and relationships between tables. Physical data models:
• Specify all tables and columns.
• Include foreign keys to identify relationships between tables.
• May include denormalization, depending on user
requirements.
• May be significantly different from the logical data model.
• Will differ depending on which DBMS (database management
system) is used.
Dr. Kamal Gulati
Conceptual Data Model (CDM) Logical Data Model (LDM) Physical Data Model (PDM)
Includes high-level data constructs
Includes entities (tables), attributes
(columns/fields) and relationships (keys)
Includes tables, columns, keys, data types,
validation rules, database triggers, stored
procedures, domains, and access
constraints
Non-technical names, so that executives
and managers at all levels can understand
the data basis of Architectural Description
Uses business names for entities &
attributes
Uses more defined and less generic
specific names for tables and columns,
such as abbreviated column names,
limited by the database management
system (DBMS) and any company
defined standards
Uses general high-level data constructs
from which Architectural Descriptions are
created in non-technical terms
Is independent of technology (platform,
DBMS)
Includes primary keys, also all other keys
and indices for fast data access.
May not be normalized
Is normalized to fourth normal
form (4NF)
May be de-normalized to meet
performance requirements based on the
nature of the database. If the nature of the
database is Online Transaction
Processing (OLTP) or Operational Data
Store (ODS) it is usually not de-
normalized.
De-normalization is common in Data
warehouses.
Dr. Kamal Gulati
Dr. Kamal Gulati
ERD (Entity Relationship Diagram)
• Logical representation of data in an organization.
• Views the entire system as a collection of entities
related to one another.
Dr. Kamal Gulati
Advantages of E-R Model
Dr. Kamal Gulati
Elements of E-R Diagram
• 1: Entity
• 2: Attributes
• 3: Relationships
Dr. Kamal Gulati
Dr. Kamal Gulati
Dr. Kamal Gulati
Entity
• An Entity is a Person, Place, Thing or Event for
which data is collected and maintained.
• Entities are represented in ER diagrams by a
rectangle and named using singular nouns.
Entity namesymbol
Dr. Kamal Gulati
Entity type/Entity class
• A set of entities with same attributes
• Example:
• Student entity class is a set of all students.
• Book entity type is for all Books etc.
Dr. Kamal Gulati
Entity instance / occurrence
• A member of an entity class is known as entity
instance .
• Also known as entity occurrence.
Dr. Kamal Gulati
Entity Class
Entity
instance
Dr. Kamal Gulati
Entity class
Entity instance
Dr. Kamal Gulati
Weak Entity
• A weak entity is an entity that depends on the
existence of another entity.
• In more technical terms it can defined as an entity
that cannot be identified by its own attributes.
• It uses a foreign key combined with its attributed to
form the primary key.
• An entity like order item is a good example for this.
The order item will be meaningless without an
order so it depends on the existence of order.
Dr. Kamal Gulati
• Example: Name, address, Class and Email of a
students are his attributes.
• Can you define for Employee?
Attribute name
Symbol
Dr. Kamal Gulati
Dr. Kamal Gulati
Attribute Domain:
• A set of possible values for an attribute
• All attributes have domain
• Example :
• The domain for Grade point average
(GPA) can be from 0 to 4.
• Similarly, domain for Gender attribute can
be Either male or female.
Dr. Kamal Gulati
Types of Attributes
• 1: Simple
• 2: Composite
• 3: Single valued
• 4: Multi-valued
• 5: Derived
Dr. Kamal Gulati
• Cannot be subdivided into smaller
components.
PERSON
GENDER
Dr. Kamal Gulati
• Can be divided into smaller components.
EMPLOYEE
ADDRESS
street
city
country
Dr. Kamal Gulati
Single-valued Attributes:
Contain single valued value.
Employee
Gender
Multi-valued Attributes:
Contain two or more values.
person
name
city hobbies
Dr. Kamal Gulati
Multivalued Attribute
• If an attribute can have more than one value it is
called an multivalued attribute.
• It is important to note that this is different to an
attribute having its own attributes.
• For example a teacher entity can have multiple
subject values.
Dr. Kamal Gulati
Derived Attribute
• An attribute based on another attribute. This is
found rarely in ER diagrams.
• For example for a circle the area can be derived
from the radius.
Dr. Kamal Gulati
Relationship
• A relationship describes how entities interact. For
example, the entity “carpenter” may be related to
the entity “table” by the relationship “builds” or
“makes”.
• Relationships are represented by diamond shapes
and are labeled using verbs.
Dr. Kamal Gulati
The number of entities in a relationship
•Types:
1: Unary relationship
2: Binary relationship
3: Ternary relationship
Dr. Kamal Gulati
Unary Relationship
• It is also called as Recursive Relationship.
• If the same entity participates more than once in a
relationship it is known as a recursive relationship.
• For E.g: An employee can be a supervisor and be
supervised, so there is a recursive relationship.
Dr. Kamal Gulati
Dr. Kamal Gulati
• Exist between the instances of two entity types.
• Types:
• 1: one-to-one
• 2:one-to-many
• 3:many –to-many
Dr. Kamal Gulati
Dr. Kamal Gulati
Dr. Kamal Gulati
• The maximum number of relationships.
*Circle means zero
*Line
means………..one
*Crow’s foot
symbol
means….many
Dr. Kamal Gulati
Relationship
• Cardinality and Ordinality are two other notations
used in ER diagrams to further define relationships.
• Cardinality specifies how many instances of an
entity relate to one instance of another entity.
Cardinality specifies the maximum number of
relationships and
• Ordinality specifies the absolute minimum number
of relationships.
• For example, a “student” is not to required to
“join” an “activity”. While an “activity” should be
participated by many “student”.
Dr. Kamal Gulati
Tips on How to Draw ER Diagrams
1. Identify all the relevant entities in a given system and
determine the relationships among these entities.
2. An entity should appear only once in a particular
diagram.
3. Provide a precise and appropriate name for each
entity, attribute, and relationship in the diagram.
4. Remove vague, redundant or unnecessary
relationships between entities.
5. Never connect a relationship to another relationship.
6. Make effective use of colors.
Dr. Kamal Gulati
Proprietary ER diagramming tools
• Avolution
• Creately
• ER/Studio
• ERwin
• DeZign for Databases
• LucidChart
• MagicDraw
• MEGA International
• ModelRight
• Navicat Data Modeler
• OmniGraffle
• Oracle Designer
• PowerDesigner
• Prosa Structured Analysis Tool
• Rational Rose
• Software Ideas Modeler
• Sparx Enterprise Architect
• SQLyog
• System Architect
• Toad Data Modeler
• Visual Paradigm
• yEd
• http://creately.com/ER-diagram-software
Dr. Kamal Gulati
Exam database ERD
Dr. Kamal Gulati
Dr. Kamal Gulati
Car Rental System
Dr. Kamal Gulati
Hotel Reservation System
Dr. Kamal Gulati
Dr. Kamal Gulati
Railway Reservation System
Dr. Kamal Gulati
Dr. Kamal Gulati
Benefits of ER diagrams
• ER diagrams constitute a very useful framework for
creating and manipulating databases.
• First, ER diagrams are easy to understand and do not
require a person to undergo extensive training to be
able to work with it efficiently and accurately.
• Second, ER diagrams are readily translatable into
relational tables which can be used to quickly build
databases. In addition, ER diagrams can directly be
used by database developers as the blueprint for
implementing data in specific software applications.
• Lastly, ER diagrams may be applied in other contexts
such as describing the different relationships and
operations within an organization.
Dr. Kamal Gulati
Dr. Kamal Gulati
employee
department
jobs
equipment
suppliers project
Dr. Kamal Gulati
name DOB
Phone no
Project
no
Project
name
Project
cost duration
name
Address
Date of last meeting
number
Dr. Kamal Gulati
Dr. Kamal Gulati
(Hope you are able to
understand the Fundamentals
of Data Modeling and Database
Design)
For More Questions /
Queries Feel Free to
Contact me.
Dr. Kamal Gulati
Associate Professor |
University Quality Support Head
Mentoring Programme Coordinator &
Exam Superintendent |
[Ph. D., M.Sc. (Computer Science), M.C.A., M.B.A]
Professional Certifications:
• Certified Microsoft Innovative Educator
• Data Science 101 Certification from Big Data University
• R Language 101 Certification from Big Data University
• SQL Certification from SOLOLEARN.com
• Certified IBM Big Data 101 from Big Data University
• R Program & Python Certified from DataCamp
• Wiley Certified Big Data Analyst [WCBDA]
• Certification on DBMS from IIT Mumbai
• Certified Cisco Certified Network Associate [CCNA]
• Certified Microsoft Certified Professional [MCP]
• Certified Brainbench in (MS Access, MS Project, MySQL 5.7 Administration, Computer
Fundamentals, Advanced Ms. Excel & Windows OS)
• Real-time Advertising Fundamentals Certified from RTA Academy
• Worked as Visiting Professor with Stratford University, USA for six months from Jan’2016 to
June’2016.
• Also worked at Bahrain University in Kingdom of Bahrain Sr. I.T. Faculty (Computer Science
Department) for Period of 2 Years.
• Have rich experience in the field of teaching and research in Computer Science and Information
Technology for almost 15+ years in Academia.
• Having experience of working with both private and public institutions and universities as the
lecturer and self-instruction material writer for Information Technology courses.
• Had number of research papers published in national and international journals and conference
proceedings in IEEE and Scopus Index.
• Also chaired various National and International Conferences of repute and associated with
various International Journals as Editorial Board Member for International and National,
Academic Adviser and Research Paper Reviewer.
• My current area of interest: Big Data Analytics, R Software, Internet & Web Technology, IT Project
Management, Decision Support System, Business Analytics, Management Information System,
Database Management System, Data Networking, R Software and Advanced Excel with Visual
Basic Macros.
• Country Visited: USA, Canada, UAE, Bahrain, Oman (Mostly for Teaching and Research Purpose)
Profile of Dr. Kamal Gulati
Profile Contd….
• Technical Program Committee for International Conference on Data, Engineering and Applications 2017
(IDEA-2k17) which would be on October 28-29, 2017 at Bhopal. http://www.ideaconference.in
• Advisory Board Committee Member for International Conference on Energy, Communication, Data
Analytics and Soft Computing (ICECDS) which would be on 1-2 August 2017 at SKR Engineering College,
Poonamallee, Tamil Nadu, India. http://ecds.org.in
• Advisory Committee Member for International Conference on Innovative Research in Engineering and
Science which would be on 16-17 June 2017 at Asian Institute of Technology Conference Center
Thailand. http://www.iresconf.org
• Advisory Committee Member for International Conference on Cloud Computing and Internet of
everything which held on 10-11 Feb’2016 at Delhi-NCR. http://www.ccioet.org
• Technical Committee member for InCITe-2016 (International Conference on Information Technology)
Theme - Internet of Things: Connect Your Worlds, IT Summit, Amity University 2016 which held on 06-07
Oct, 2016. http://www.amity.edu/incite2016
• Technical Speaker for Global perspective on IT business “The Changing Scenario” – Big Data on
International Students Conference New Delhi (ISCND) which held on 14-15 Oct, 2016 http://iscnd.com
• Advisory Committee Member for International Conference on Sustainable Computing Techniques in
Engineering, Science and Management which has held on 09-10 Sep’2016 at Delhi-NCR.
http://www.scesm.org
• Technical Program Committee Member for Program Committee Member for International Conference on
Recent Trends IN ICT, Jaipur, India, Aug 18-19, 2017 http://rtict.org
• Program Committee Member for International Conference on Recent Advancement in Computer and
Communication Bhopal, India, (IC-RAC-2017) May 26-27, 2017 http://www.icrac.co.in
Profile Contd….
• Editorial Board member for the following International Journals:
– International Journal of Computer Science and Innovation
http://www.infinitysciences.org
– International Journal of Latest Research in Engineering and Technology
http://www.ijlret.com
– International Journal of Latest Trends in Engineering and Technology
http://www.ijltet.org
– International Journal of Application or
Innovation in Engineering & Management
http://www.ijaiem.org
– International Journal for Management http://www.ijm-apm.com
– The International Journal of Emerging Engineering and Embedded Systems
http://www.ijeees.org
– Conference Info http://conferenceinfo.org/tpc.php
• Expert Speaker for Program “Insurance Beyond Doubt” Presented by Oriental
Insurance Co Ltd.
https://www.youtube.com/watch?v=GrvJkN_Zn3Q
BOOK, CHAPTER, and CASE STUDY Published
• Published Book on “A Study of Changing Trends in E-CRM of Indian
Insurance Industry” Published by LAP Lambert Academic Publishing, one
of the top researchers and renowned scientists of Germany with ISBN:
3330009543, 9783330009547. The Book available at Amazon.com.
• Published Real Case Study on “IoT Security Considerations for Higher
Education” published on Business Cases - RENVOI 2017 BOOK (The Case
Centre, UK) with ISBN: 978-1-4828-8840-9, Page 63-70. The Book available
at the various online website: Amazon, AbeBooks, Chegg, Barnes & Noble.
• Published Chapter on "Role of eWorld in Insurance Innovation" Published
by Insurance Institute of India (III), 60 Years Diamond Jubilee,
Compendium, Nov 2016 – (Magazine) – One of the premium Insurance
Institute of India.
Contact Details
• Email : drkamalgulati@gmail.com
• Website : http://mybigdataanalytics.com
• LinkedIn : https://in.linkedin.com/in/drkamalgulati
• Phone: +91-9718361928
Ad

More Related Content

What's hot (20)

Introduction to Databases by Dr. Kamal Gulati
Introduction to Databases by Dr. Kamal GulatiIntroduction to Databases by Dr. Kamal Gulati
Introduction to Databases by Dr. Kamal Gulati
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Database design
Database designDatabase design
Database design
Jennifer Polack
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
emailharmeet
 
Database Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal GulatiDatabase Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal Gulati
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
LDM Slides: Conceptual Data Models - How to Get the Attention of Business Use...
LDM Slides: Conceptual Data Models - How to Get the Attention of Business Use...LDM Slides: Conceptual Data Models - How to Get the Attention of Business Use...
LDM Slides: Conceptual Data Models - How to Get the Attention of Business Use...
DATAVERSITY
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Types of keys in database management system by Dr. Kamal Gulati
Types of keys in database management system by Dr. Kamal GulatiTypes of keys in database management system by Dr. Kamal Gulati
Types of keys in database management system by Dr. Kamal Gulati
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
Dr. C.V. Suresh Babu
 
Database systems - Chapter 1
Database systems - Chapter 1Database systems - Chapter 1
Database systems - Chapter 1
shahab3
 
Data models
Data modelsData models
Data models
Anuj Modi
 
Relational database- Fundamentals
Relational database- FundamentalsRelational database- Fundamentals
Relational database- Fundamentals
Mohammed El Hedhly
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
Sunita Sahu
 
Data Models.ppt
Data Models.pptData Models.ppt
Data Models.ppt
AnshikaGoel42
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
YouQue ™
 
Introduction to DBMS - Notes in Layman...
Introduction to DBMS - Notes in Layman...Introduction to DBMS - Notes in Layman...
Introduction to DBMS - Notes in Layman...
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Database systems
Database systemsDatabase systems
Database systems
NazmulHossen5
 
Data models
Data modelsData models
Data models
Usman Tariq
 
Metadata ppt
Metadata pptMetadata ppt
Metadata ppt
Shashikant Kumar
 
Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modeling
Dhani Ahmad
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
emailharmeet
 
LDM Slides: Conceptual Data Models - How to Get the Attention of Business Use...
LDM Slides: Conceptual Data Models - How to Get the Attention of Business Use...LDM Slides: Conceptual Data Models - How to Get the Attention of Business Use...
LDM Slides: Conceptual Data Models - How to Get the Attention of Business Use...
DATAVERSITY
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
Database systems - Chapter 1
Database systems - Chapter 1Database systems - Chapter 1
Database systems - Chapter 1
shahab3
 
Relational database- Fundamentals
Relational database- FundamentalsRelational database- Fundamentals
Relational database- Fundamentals
Mohammed El Hedhly
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
Sunita Sahu
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
YouQue ™
 
Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modeling
Dhani Ahmad
 

Similar to Fundamentals of Data Modeling and Database Design by Dr. Kamal Gulati (20)

RDBMS Unit-2.pdf Entity Relationship Diagram
RDBMS Unit-2.pdf Entity Relationship DiagramRDBMS Unit-2.pdf Entity Relationship Diagram
RDBMS Unit-2.pdf Entity Relationship Diagram
ChaithraCSHirematt
 
Data Modeling Training.pptx
Data Modeling Training.pptxData Modeling Training.pptx
Data Modeling Training.pptx
ssuser23b3eb
 
Data model
Data modelData model
Data model
Sumit Rana
 
Database design
Database designDatabase design
Database design
FLYMAN TECHNOLOGY LIMITED
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
JasmineMichael1
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
 
RDBMS stands for Relational Database Management System
RDBMS stands for Relational Database Management SystemRDBMS stands for Relational Database Management System
RDBMS stands for Relational Database Management System
AnilNaik42
 
ICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdfICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdf
Infotech27
 
Relational Database management Models-MCA.pptx
Relational Database management Models-MCA.pptxRelational Database management Models-MCA.pptx
Relational Database management Models-MCA.pptx
Madhu855237
 
Data Base Security note in data -unit-1.pdf
Data Base Security note in data  -unit-1.pdfData Base Security note in data  -unit-1.pdf
Data Base Security note in data -unit-1.pdf
22cc005
 
Entity-Relationship Data Model
Entity-Relationship Data ModelEntity-Relationship Data Model
Entity-Relationship Data Model
Bishrul Haq
 
EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf
EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdfEContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf
EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf
sitework231
 
Data Models
Data ModelsData Models
Data Models
BHARATH KUMAR
 
Relation DB.pptx a powerpoint presentation
Relation DB.pptx a powerpoint presentationRelation DB.pptx a powerpoint presentation
Relation DB.pptx a powerpoint presentation
HANTkm
 
Database Introduction to Data Models.pptx
Database Introduction to Data Models.pptxDatabase Introduction to Data Models.pptx
Database Introduction to Data Models.pptx
ssuser19199c
 
Data Modelling on the Relation between two or more variables
Data Modelling on the Relation between two or more variablesData Modelling on the Relation between two or more variables
Data Modelling on the Relation between two or more variables
AminuHassanJakada1
 
data-models .pptx
data-models                                             .pptxdata-models                                             .pptx
data-models .pptx
iamayesha2526
 
data Modelling in Database introduction and design.pptx
data Modelling in Database introduction and design.pptxdata Modelling in Database introduction and design.pptx
data Modelling in Database introduction and design.pptx
kbjoash1
 
er-models.pptx
er-models.pptxer-models.pptx
er-models.pptx
UmmerFarooq24
 
Advance database system(part 4)
Advance database system(part 4)Advance database system(part 4)
Advance database system(part 4)
Abdullah Khosa
 
RDBMS Unit-2.pdf Entity Relationship Diagram
RDBMS Unit-2.pdf Entity Relationship DiagramRDBMS Unit-2.pdf Entity Relationship Diagram
RDBMS Unit-2.pdf Entity Relationship Diagram
ChaithraCSHirematt
 
Data Modeling Training.pptx
Data Modeling Training.pptxData Modeling Training.pptx
Data Modeling Training.pptx
ssuser23b3eb
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
JasmineMichael1
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
MaryJoseph79
 
RDBMS stands for Relational Database Management System
RDBMS stands for Relational Database Management SystemRDBMS stands for Relational Database Management System
RDBMS stands for Relational Database Management System
AnilNaik42
 
ICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdfICT DBA3 09 0710 Model Data Objects.pdf
ICT DBA3 09 0710 Model Data Objects.pdf
Infotech27
 
Relational Database management Models-MCA.pptx
Relational Database management Models-MCA.pptxRelational Database management Models-MCA.pptx
Relational Database management Models-MCA.pptx
Madhu855237
 
Data Base Security note in data -unit-1.pdf
Data Base Security note in data  -unit-1.pdfData Base Security note in data  -unit-1.pdf
Data Base Security note in data -unit-1.pdf
22cc005
 
Entity-Relationship Data Model
Entity-Relationship Data ModelEntity-Relationship Data Model
Entity-Relationship Data Model
Bishrul Haq
 
EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf
EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdfEContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf
EContent_11_2024_01_23_18_48_10_DatamodelsUnitIVpptx__2023_11_10_16_13_01.pdf
sitework231
 
Relation DB.pptx a powerpoint presentation
Relation DB.pptx a powerpoint presentationRelation DB.pptx a powerpoint presentation
Relation DB.pptx a powerpoint presentation
HANTkm
 
Database Introduction to Data Models.pptx
Database Introduction to Data Models.pptxDatabase Introduction to Data Models.pptx
Database Introduction to Data Models.pptx
ssuser19199c
 
Data Modelling on the Relation between two or more variables
Data Modelling on the Relation between two or more variablesData Modelling on the Relation between two or more variables
Data Modelling on the Relation between two or more variables
AminuHassanJakada1
 
data Modelling in Database introduction and design.pptx
data Modelling in Database introduction and design.pptxdata Modelling in Database introduction and design.pptx
data Modelling in Database introduction and design.pptx
kbjoash1
 
Advance database system(part 4)
Advance database system(part 4)Advance database system(part 4)
Advance database system(part 4)
Abdullah Khosa
 
Ad

More from Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU (20)

All About DBMS - Interview Question and Answers
All About DBMS - Interview Question and AnswersAll About DBMS - Interview Question and Answers
All About DBMS - Interview Question and Answers
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Concept of Governance - Management of Operational Risk for IT Officers/Execut...
Concept of Governance - Management of Operational Risk for IT Officers/Execut...Concept of Governance - Management of Operational Risk for IT Officers/Execut...
Concept of Governance - Management of Operational Risk for IT Officers/Execut...
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Emerging Technologies in IT
Emerging Technologies in ITEmerging Technologies in IT
Emerging Technologies in IT
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
CASE (Computer Aided Software Design)
CASE (Computer Aided Software Design)CASE (Computer Aided Software Design)
CASE (Computer Aided Software Design)
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
SOFTWARE RELIABILITY AND QUALITY ASSURANCE
SOFTWARE RELIABILITY AND QUALITY ASSURANCESOFTWARE RELIABILITY AND QUALITY ASSURANCE
SOFTWARE RELIABILITY AND QUALITY ASSURANCE
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Software Testing (Contd..) SDLC Model
Software Testing (Contd..) SDLC ModelSoftware Testing (Contd..) SDLC Model
Software Testing (Contd..) SDLC Model
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Coding - SDLC Model
Coding - SDLC ModelCoding - SDLC Model
Coding - SDLC Model
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Software Design - SDLC Model
Software Design - SDLC ModelSoftware Design - SDLC Model
Software Design - SDLC Model
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Models of SDLC (Contd..) & Feasibility Study
Models of SDLC (Contd..)  & Feasibility StudyModels of SDLC (Contd..)  & Feasibility Study
Models of SDLC (Contd..) & Feasibility Study
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Models of SDLC (Software Development Life Cycle / Program Development Life Cy...
Models of SDLC (Software Development Life Cycle / Program Development Life Cy...Models of SDLC (Software Development Life Cycle / Program Development Life Cy...
Models of SDLC (Software Development Life Cycle / Program Development Life Cy...
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
CLOUD SECURITY IN INSURANCE INDUSTRY WITH RESPECT TO INDIAN MARKET
CLOUD SECURITY IN INSURANCE INDUSTRY WITH RESPECT TO INDIAN MARKETCLOUD SECURITY IN INSURANCE INDUSTRY WITH RESPECT TO INDIAN MARKET
CLOUD SECURITY IN INSURANCE INDUSTRY WITH RESPECT TO INDIAN MARKET
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Application Software
Application SoftwareApplication Software
Application Software
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Application Software – Horizontal & Vertical Software
Application Software – Horizontal & Vertical SoftwareApplication Software – Horizontal & Vertical Software
Application Software – Horizontal & Vertical Software
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Software: Systems and Application Software
Software:  Systems and Application SoftwareSoftware:  Systems and Application Software
Software: Systems and Application Software
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Number Codes and Registers
Number Codes and RegistersNumber Codes and Registers
Number Codes and Registers
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
PROGRAMMING AND LANGUAGES
PROGRAMMING AND LANGUAGES  PROGRAMMING AND LANGUAGES
PROGRAMMING AND LANGUAGES
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Ad

Recently uploaded (20)

Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Kenan Fellows Participants, Projects 2025-26 Cohort
Kenan Fellows Participants, Projects 2025-26 CohortKenan Fellows Participants, Projects 2025-26 Cohort
Kenan Fellows Participants, Projects 2025-26 Cohort
EducationNC
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Herbs Used in Cosmetic Formulations .pptx
Herbs Used in Cosmetic Formulations .pptxHerbs Used in Cosmetic Formulations .pptx
Herbs Used in Cosmetic Formulations .pptx
RAJU THENGE
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18
Celine George
 
Grade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable WorksheetGrade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable Worksheet
Sritoma Majumder
 
Real GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for SuccessReal GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for Success
Mark Soia
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdfAPM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
Association for Project Management
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Kenan Fellows Participants, Projects 2025-26 Cohort
Kenan Fellows Participants, Projects 2025-26 CohortKenan Fellows Participants, Projects 2025-26 Cohort
Kenan Fellows Participants, Projects 2025-26 Cohort
EducationNC
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Herbs Used in Cosmetic Formulations .pptx
Herbs Used in Cosmetic Formulations .pptxHerbs Used in Cosmetic Formulations .pptx
Herbs Used in Cosmetic Formulations .pptx
RAJU THENGE
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18How to Manage Purchase Alternatives in Odoo 18
How to Manage Purchase Alternatives in Odoo 18
Celine George
 
Grade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable WorksheetGrade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable Worksheet
Sritoma Majumder
 
Real GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for SuccessReal GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for Success
Mark Soia
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 

Fundamentals of Data Modeling and Database Design by Dr. Kamal Gulati

  • 1. Data Models Dr. Kamal Gulati Fundamentals of Data Modeling and Database Design
  • 2. Dr. Kamal Gulati ERM vs. ERD • ERM (Entity Relationship Data Model / Entity– Relationship Modeling): is a detailed, Logical representation of the data for an organization or for a business area. ERM is expressed in terms of : • Entities • Attributes • Relationships • ERD (Entity Relationship Diagram): is a graphical representation of a Entity-Relationship Model.
  • 3. Dr. Kamal Gulati ERM (Entity Relationship Modeling) • Is a data model for describing the data or information aspects of a business domain or its process requirements, in an abstract way that lends itself to ultimately being implemented in a database such as a relational database. • Data Model: A set of concepts to describe the structure of a database and certain constrain that the database shouldobey.
  • 4. Dr. Kamal Gulati • The main components of ER models are entities (things) and the relationships that can exist among them. • Entity–Relationship Modeling was developed by Peter Chen and published in a 1976.
  • 5. Dr. Kamal Gulati The three schema approach to software engineering uses three levels of ER models that may be developed. • Conceptual data model • Logical data model • Physical data model
  • 7. Dr. Kamal Gulati Conceptual data model • A conceptual schema or conceptual data model is a map of concepts and their relationships used for databases. • This describes the semantics of an organization and represents a series of assertions about its nature. • Specifically, it describes the things of significance to an organization (entity classes), about which it is inclined to collect information, and characteristics of (attributes) and associations between pairs of those things of significance (relationships).
  • 8. Dr. Kamal Gulati CONCEPTUAL DATA MODEL • This ER model establishes a broad view of what should be included in the model set. Conceptual data models: • Include important entities and the relationship between them. • Do not specify attributes. • Do not specify primary keys. • Conceptual ERDs can be used as the foundation for logical data models. They may also be used to form commonality relationships between ER models as a basis for data model integration.
  • 9. Dr. Kamal Gulati Logical data model • Is a type of data model showing a detailed representation of an organization's data, independent of any particular technology, and described in business language. • A logical data model standardizes people, places, things and the rules, relationships and the events between them.
  • 10. Dr. Kamal Gulati LOGICAL DATA MODEL • This model contains more detail than the conceptual ER model, without regard to how information will be physically implemented in the database. Logical data models: • Include all entities and relationships between them. • Specify attributes for each entity. • Specify primary key for each entity. • Specify foreign keys, which identify the relationship between different entities. • Involve normalization, which is the process of removing redundancy in a table so that the table is easier to modify. Normalization typically occurs by dividing an entity table into two or more tables and defining relationships between the tables.
  • 11. Dr. Kamal Gulati Physical data model • A physical data model (or database design) is a representation of a data design which takes into account the facilities and constraints of a given database management system. • In the lifecycle of a project it typically derives from a logical data model, though it may be reverse- engineered from a given database implementation.
  • 12. Dr. Kamal Gulati PHYSICAL DATA MODEL • The physical data model represents the process of adding information to the database. This model shows all table structures, including column name, column data type, column constraints, primary key, foreign key, and relationships between tables. Physical data models: • Specify all tables and columns. • Include foreign keys to identify relationships between tables. • May include denormalization, depending on user requirements. • May be significantly different from the logical data model. • Will differ depending on which DBMS (database management system) is used.
  • 13. Dr. Kamal Gulati Conceptual Data Model (CDM) Logical Data Model (LDM) Physical Data Model (PDM) Includes high-level data constructs Includes entities (tables), attributes (columns/fields) and relationships (keys) Includes tables, columns, keys, data types, validation rules, database triggers, stored procedures, domains, and access constraints Non-technical names, so that executives and managers at all levels can understand the data basis of Architectural Description Uses business names for entities & attributes Uses more defined and less generic specific names for tables and columns, such as abbreviated column names, limited by the database management system (DBMS) and any company defined standards Uses general high-level data constructs from which Architectural Descriptions are created in non-technical terms Is independent of technology (platform, DBMS) Includes primary keys, also all other keys and indices for fast data access. May not be normalized Is normalized to fourth normal form (4NF) May be de-normalized to meet performance requirements based on the nature of the database. If the nature of the database is Online Transaction Processing (OLTP) or Operational Data Store (ODS) it is usually not de- normalized. De-normalization is common in Data warehouses.
  • 15. Dr. Kamal Gulati ERD (Entity Relationship Diagram) • Logical representation of data in an organization. • Views the entire system as a collection of entities related to one another.
  • 17. Dr. Kamal Gulati Elements of E-R Diagram • 1: Entity • 2: Attributes • 3: Relationships
  • 20. Dr. Kamal Gulati Entity • An Entity is a Person, Place, Thing or Event for which data is collected and maintained. • Entities are represented in ER diagrams by a rectangle and named using singular nouns. Entity namesymbol
  • 21. Dr. Kamal Gulati Entity type/Entity class • A set of entities with same attributes • Example: • Student entity class is a set of all students. • Book entity type is for all Books etc.
  • 22. Dr. Kamal Gulati Entity instance / occurrence • A member of an entity class is known as entity instance . • Also known as entity occurrence.
  • 23. Dr. Kamal Gulati Entity Class Entity instance
  • 24. Dr. Kamal Gulati Entity class Entity instance
  • 25. Dr. Kamal Gulati Weak Entity • A weak entity is an entity that depends on the existence of another entity. • In more technical terms it can defined as an entity that cannot be identified by its own attributes. • It uses a foreign key combined with its attributed to form the primary key. • An entity like order item is a good example for this. The order item will be meaningless without an order so it depends on the existence of order.
  • 26. Dr. Kamal Gulati • Example: Name, address, Class and Email of a students are his attributes. • Can you define for Employee? Attribute name Symbol
  • 28. Dr. Kamal Gulati Attribute Domain: • A set of possible values for an attribute • All attributes have domain • Example : • The domain for Grade point average (GPA) can be from 0 to 4. • Similarly, domain for Gender attribute can be Either male or female.
  • 29. Dr. Kamal Gulati Types of Attributes • 1: Simple • 2: Composite • 3: Single valued • 4: Multi-valued • 5: Derived
  • 30. Dr. Kamal Gulati • Cannot be subdivided into smaller components. PERSON GENDER
  • 31. Dr. Kamal Gulati • Can be divided into smaller components. EMPLOYEE ADDRESS street city country
  • 32. Dr. Kamal Gulati Single-valued Attributes: Contain single valued value. Employee Gender Multi-valued Attributes: Contain two or more values. person name city hobbies
  • 33. Dr. Kamal Gulati Multivalued Attribute • If an attribute can have more than one value it is called an multivalued attribute. • It is important to note that this is different to an attribute having its own attributes. • For example a teacher entity can have multiple subject values.
  • 34. Dr. Kamal Gulati Derived Attribute • An attribute based on another attribute. This is found rarely in ER diagrams. • For example for a circle the area can be derived from the radius.
  • 35. Dr. Kamal Gulati Relationship • A relationship describes how entities interact. For example, the entity “carpenter” may be related to the entity “table” by the relationship “builds” or “makes”. • Relationships are represented by diamond shapes and are labeled using verbs.
  • 36. Dr. Kamal Gulati The number of entities in a relationship •Types: 1: Unary relationship 2: Binary relationship 3: Ternary relationship
  • 37. Dr. Kamal Gulati Unary Relationship • It is also called as Recursive Relationship. • If the same entity participates more than once in a relationship it is known as a recursive relationship. • For E.g: An employee can be a supervisor and be supervised, so there is a recursive relationship.
  • 39. Dr. Kamal Gulati • Exist between the instances of two entity types. • Types: • 1: one-to-one • 2:one-to-many • 3:many –to-many
  • 42. Dr. Kamal Gulati • The maximum number of relationships. *Circle means zero *Line means………..one *Crow’s foot symbol means….many
  • 43. Dr. Kamal Gulati Relationship • Cardinality and Ordinality are two other notations used in ER diagrams to further define relationships. • Cardinality specifies how many instances of an entity relate to one instance of another entity. Cardinality specifies the maximum number of relationships and • Ordinality specifies the absolute minimum number of relationships. • For example, a “student” is not to required to “join” an “activity”. While an “activity” should be participated by many “student”.
  • 44. Dr. Kamal Gulati Tips on How to Draw ER Diagrams 1. Identify all the relevant entities in a given system and determine the relationships among these entities. 2. An entity should appear only once in a particular diagram. 3. Provide a precise and appropriate name for each entity, attribute, and relationship in the diagram. 4. Remove vague, redundant or unnecessary relationships between entities. 5. Never connect a relationship to another relationship. 6. Make effective use of colors.
  • 45. Dr. Kamal Gulati Proprietary ER diagramming tools • Avolution • Creately • ER/Studio • ERwin • DeZign for Databases • LucidChart • MagicDraw • MEGA International • ModelRight • Navicat Data Modeler • OmniGraffle • Oracle Designer • PowerDesigner • Prosa Structured Analysis Tool • Rational Rose • Software Ideas Modeler • Sparx Enterprise Architect • SQLyog • System Architect • Toad Data Modeler • Visual Paradigm • yEd • http://creately.com/ER-diagram-software
  • 46. Dr. Kamal Gulati Exam database ERD
  • 48. Dr. Kamal Gulati Car Rental System
  • 49. Dr. Kamal Gulati Hotel Reservation System
  • 51. Dr. Kamal Gulati Railway Reservation System
  • 53. Dr. Kamal Gulati Benefits of ER diagrams • ER diagrams constitute a very useful framework for creating and manipulating databases. • First, ER diagrams are easy to understand and do not require a person to undergo extensive training to be able to work with it efficiently and accurately. • Second, ER diagrams are readily translatable into relational tables which can be used to quickly build databases. In addition, ER diagrams can directly be used by database developers as the blueprint for implementing data in specific software applications. • Lastly, ER diagrams may be applied in other contexts such as describing the different relationships and operations within an organization.
  • 56. Dr. Kamal Gulati name DOB Phone no Project no Project name Project cost duration name Address Date of last meeting number
  • 59. (Hope you are able to understand the Fundamentals of Data Modeling and Database Design) For More Questions / Queries Feel Free to Contact me.
  • 60. Dr. Kamal Gulati Associate Professor | University Quality Support Head Mentoring Programme Coordinator & Exam Superintendent | [Ph. D., M.Sc. (Computer Science), M.C.A., M.B.A] Professional Certifications: • Certified Microsoft Innovative Educator • Data Science 101 Certification from Big Data University • R Language 101 Certification from Big Data University • SQL Certification from SOLOLEARN.com • Certified IBM Big Data 101 from Big Data University • R Program & Python Certified from DataCamp • Wiley Certified Big Data Analyst [WCBDA] • Certification on DBMS from IIT Mumbai • Certified Cisco Certified Network Associate [CCNA] • Certified Microsoft Certified Professional [MCP] • Certified Brainbench in (MS Access, MS Project, MySQL 5.7 Administration, Computer Fundamentals, Advanced Ms. Excel & Windows OS) • Real-time Advertising Fundamentals Certified from RTA Academy
  • 61. • Worked as Visiting Professor with Stratford University, USA for six months from Jan’2016 to June’2016. • Also worked at Bahrain University in Kingdom of Bahrain Sr. I.T. Faculty (Computer Science Department) for Period of 2 Years. • Have rich experience in the field of teaching and research in Computer Science and Information Technology for almost 15+ years in Academia. • Having experience of working with both private and public institutions and universities as the lecturer and self-instruction material writer for Information Technology courses. • Had number of research papers published in national and international journals and conference proceedings in IEEE and Scopus Index. • Also chaired various National and International Conferences of repute and associated with various International Journals as Editorial Board Member for International and National, Academic Adviser and Research Paper Reviewer. • My current area of interest: Big Data Analytics, R Software, Internet & Web Technology, IT Project Management, Decision Support System, Business Analytics, Management Information System, Database Management System, Data Networking, R Software and Advanced Excel with Visual Basic Macros. • Country Visited: USA, Canada, UAE, Bahrain, Oman (Mostly for Teaching and Research Purpose) Profile of Dr. Kamal Gulati
  • 62. Profile Contd…. • Technical Program Committee for International Conference on Data, Engineering and Applications 2017 (IDEA-2k17) which would be on October 28-29, 2017 at Bhopal. http://www.ideaconference.in • Advisory Board Committee Member for International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS) which would be on 1-2 August 2017 at SKR Engineering College, Poonamallee, Tamil Nadu, India. http://ecds.org.in • Advisory Committee Member for International Conference on Innovative Research in Engineering and Science which would be on 16-17 June 2017 at Asian Institute of Technology Conference Center Thailand. http://www.iresconf.org • Advisory Committee Member for International Conference on Cloud Computing and Internet of everything which held on 10-11 Feb’2016 at Delhi-NCR. http://www.ccioet.org • Technical Committee member for InCITe-2016 (International Conference on Information Technology) Theme - Internet of Things: Connect Your Worlds, IT Summit, Amity University 2016 which held on 06-07 Oct, 2016. http://www.amity.edu/incite2016 • Technical Speaker for Global perspective on IT business “The Changing Scenario” – Big Data on International Students Conference New Delhi (ISCND) which held on 14-15 Oct, 2016 http://iscnd.com • Advisory Committee Member for International Conference on Sustainable Computing Techniques in Engineering, Science and Management which has held on 09-10 Sep’2016 at Delhi-NCR. http://www.scesm.org • Technical Program Committee Member for Program Committee Member for International Conference on Recent Trends IN ICT, Jaipur, India, Aug 18-19, 2017 http://rtict.org • Program Committee Member for International Conference on Recent Advancement in Computer and Communication Bhopal, India, (IC-RAC-2017) May 26-27, 2017 http://www.icrac.co.in
  • 63. Profile Contd…. • Editorial Board member for the following International Journals: – International Journal of Computer Science and Innovation http://www.infinitysciences.org – International Journal of Latest Research in Engineering and Technology http://www.ijlret.com – International Journal of Latest Trends in Engineering and Technology http://www.ijltet.org – International Journal of Application or Innovation in Engineering & Management http://www.ijaiem.org – International Journal for Management http://www.ijm-apm.com – The International Journal of Emerging Engineering and Embedded Systems http://www.ijeees.org – Conference Info http://conferenceinfo.org/tpc.php • Expert Speaker for Program “Insurance Beyond Doubt” Presented by Oriental Insurance Co Ltd. https://www.youtube.com/watch?v=GrvJkN_Zn3Q
  • 64. BOOK, CHAPTER, and CASE STUDY Published • Published Book on “A Study of Changing Trends in E-CRM of Indian Insurance Industry” Published by LAP Lambert Academic Publishing, one of the top researchers and renowned scientists of Germany with ISBN: 3330009543, 9783330009547. The Book available at Amazon.com. • Published Real Case Study on “IoT Security Considerations for Higher Education” published on Business Cases - RENVOI 2017 BOOK (The Case Centre, UK) with ISBN: 978-1-4828-8840-9, Page 63-70. The Book available at the various online website: Amazon, AbeBooks, Chegg, Barnes & Noble. • Published Chapter on "Role of eWorld in Insurance Innovation" Published by Insurance Institute of India (III), 60 Years Diamond Jubilee, Compendium, Nov 2016 – (Magazine) – One of the premium Insurance Institute of India.
  • 65. Contact Details • Email : [email protected] • Website : http://mybigdataanalytics.com • LinkedIn : https://in.linkedin.com/in/drkamalgulati • Phone: +91-9718361928