DATA
MODELS
Entity Relationship
Model
DBMS
In Hindi
Data Models
• A Model is a representation of reality, ‘real world’ objects and events,
associations.
• Data Model is a collection of high level concepts that can be used to
describe the structure of a database that hide many low levels storage
details.
• Data Model can be defined as an integrated collection of concepts for
describing and manipulating data, relationship between data, and
constraints on the data in an organization.
The Entity Relationship Model (ER Model)
• Entity–Relationship modeling was developed for database and design by
Peter Chen in 1976
• Entities are things or an object in the real world that is distinguishable
from other objects based on the values of the attributes is posses.
• Entities are described in a database by a set of attributes. For E.g.
Student is an entity which has attributes like RollNo, Name, DateOfBirth.
• An entity set is a collection of same type of entities that share same
attributes.
• Relationship is an association among several entity set. For E.g Student
is “admitted” to a single branch (Computer , Electronics etc.)
Entity, Entity-Set and Attributes
Student Table
Roll_No Name Date_Of_Birth
1 Ajay Joshi 12/3/2000
2 Poonam Sharma 28/4/2000
3 Vinay Deshmukh 29/12/1999
Attributes
Entity Set
Entity
ER Diagram
• ER Model is represented by using ER Diagram.
• Entity Set is represented by “Rectangle”
• Relationship is represented by “Diamond”
• Attributes are represented by “Ellipses”
• Linking of attributes to entity sets and entity sets to relationships is by “Lines”
Branch Student
Admitted
DateOfBirth
Name
RollNo
Id BName
Types Of Entity Set
 Strong Entity Set : An entity set that contains sufficient attributes to
uniquely identify all its entities.
 Weak Entity Set: An entity set which does not have sufficient
attributes to uniquely identify all its entities.
Account Logs Transaction
Types Of Attributes
There are many types of attributes which are as follows:
Key attribute
Composite attribute Derived attribute
Single-value
attribute
Multi-value
attribute
Simple attribute
Key Attribute
This attribute has the unique value for an entity which is used to identified
given row in the table is called as key attribute of an entity. It is
represented by underlying the attribute name.
Student
Roll_No
Simple Attribute
Simple attributes are atomic values, which cannot be divided further. For
example, a student’s phone number is an atomic value of 10 digits. It is
simply represented by an oval.
Student
Roll_No PhoneNo
Composite Attribute
Composite attributes are made up of more than one simple attributes. For
example , a student complete name may have F_Name, M_Name and
L_Name.
Student
RollNo PhoneNo
Student_Nm
F_Name
M_Name
L_Name
Derived Attribute
Derived attributes are the attributes that do not exist in the physical database, but
their values are derived from other attributes present in the database. For
example age can be derived from DateOfBirth. It is represented by dashed oval.
Student
RollNo PhoneNo
DateOfBirth
Student_Nm
F_Name
M_Name
L_Name
Age
Single-value and Multi-value Attribute
• Single-value attributes contain single value. For example Aadhar_card-number
• Multi-value attribute may contain more than one values. For example a person
can have more than one phone number, email_address etc. It is represented by
double oval.
Student
RollNo PhoneNo
DateOfBirth
Student_Nm
F_Name
M_Name
L_Name
Age
Thanks for watching!
If you have a question, you can reach me via e-mail at omega.teched@gmail.com
Social Media Handles:
omega.teched
megha_with
megha-sharma24
OMega TechEd

More Related Content

PPTX
E-R diagram in Database
PPTX
Er diagram
PPTX
Relational Model
PPTX
ER Modeling and Introduction to RDBMS
PPT
ER-Model-ER Diagram
PPTX
PPTX
Er model ppt
PPTX
Entity Relationship Modelling
E-R diagram in Database
Er diagram
Relational Model
ER Modeling and Introduction to RDBMS
ER-Model-ER Diagram
Er model ppt
Entity Relationship Modelling

What's hot (20)

PPTX
Database - Entity Relationship Diagram (ERD)
PPTX
Entity Relationship Diagrams
PPT
Entity relationship modelling
PPT
Entity Relationship Diagram
PPTX
ER DIAGRAM & ER MODELING IN DBMS
PPT
ER Diagram
PPTX
Er diagrams presentation
PPT
Relational Databases 2
PPTX
Entity Relationship Model
PPTX
ER MODEL
PPT
D I T211 Chapter 3
PPTX
Entity Relationship Diagram
PPTX
Entity relationship modelling - DE L300
PPTX
PDF
Db lec 02_new
PPT
E R Diagram
PPTX
ER model to Relational model mapping
PPT
Entity relationship diagram for dummies
PPTX
Er model
Database - Entity Relationship Diagram (ERD)
Entity Relationship Diagrams
Entity relationship modelling
Entity Relationship Diagram
ER DIAGRAM & ER MODELING IN DBMS
ER Diagram
Er diagrams presentation
Relational Databases 2
Entity Relationship Model
ER MODEL
D I T211 Chapter 3
Entity Relationship Diagram
Entity relationship modelling - DE L300
Db lec 02_new
E R Diagram
ER model to Relational model mapping
Entity relationship diagram for dummies
Er model
Ad

Similar to Data Models (20)

PPTX
E-R Diagram and their models using datbase
PPTX
Data Models.pptx
PPTX
Entity Relationship Model and ER Diagram
PPTX
E_R-Diagram (2).pptx
PPTX
Database
PPTX
PPTX
Presentation on Entity Relationship Diagram.pptx
PDF
dbms mannual.pdf
PPTX
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
PPTX
Basic building entity relationship model
PPTX
Day 1 SQL.pptx
PPTX
SQL.pptx
PPTX
42_16SCCCS4_20200520053835884587894.pptx
PPTX
E - R Models.pptx SQL and plsql database
PDF
ER diagram is created based on three principal components: entities, attribut...
PDF
RDBMS Unit-2.pdf Entity Relationship Diagram
PPT
ermodelN in database management system.ppt
PDF
Entity Relationship Model
PPTX
Entity Relationship Diagram – ER Diagram in DBMS.pptx
E-R Diagram and their models using datbase
Data Models.pptx
Entity Relationship Model and ER Diagram
E_R-Diagram (2).pptx
Database
Presentation on Entity Relationship Diagram.pptx
dbms mannual.pdf
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
Basic building entity relationship model
Day 1 SQL.pptx
SQL.pptx
42_16SCCCS4_20200520053835884587894.pptx
E - R Models.pptx SQL and plsql database
ER diagram is created based on three principal components: entities, attribut...
RDBMS Unit-2.pdf Entity Relationship Diagram
ermodelN in database management system.ppt
Entity Relationship Model
Entity Relationship Diagram – ER Diagram in DBMS.pptx
Ad

More from Megha Sharma (20)

PPTX
Designing Printed Circuit boards, Software Choices, The Design Process
PPTX
Manufacturing PCB, Etching board, milling board, Third party manufacturing, a...
PPTX
Business Model, make thing, sell thing, subscription, customization, Key Reso...
PPTX
Funding an IOT startup, Venture Capital, Government funding, Crowdfunding, Le...
PPTX
Sketch, Iterate and Explore, Nondigital Methods.
PPTX
CNC Milling, Software, Repurposing and Recycling.
PPTX
3D printing, Types of 3D printing: FDM, Laser Sintering, Powder bed, LOM, DLP.
PPTX
Laser Cutting, Choosing a laser cutter, Software, Hinges and joints.
PPTX
Memory management, Types of memory, Making the most of your RAM.
PPTX
Performance and Battery Life, Libraries, Debugging.
PPTX
Prototyping Embedded Devices: Arduino, Developing on the Arduino.
PPTX
Raspberry-Pi, Developing on Raspberry Pi, Difference between Arduino & Raspbe...
PPTX
Open Source versus Closed Source in IOT in IOT
PPTX
Why closed? Why Open? Mixing open and closed source
PPTX
Model Performance Metrics. Accuracy, Precision, Recall
PPTX
Graceful Degradation and Affordance in IOT
PPTX
Web thinking connected device, Small Pieces Loosely joined.
PPTX
Production & Mass Personalization, Changing Embedded Platform, Physical proto...
PPTX
Whose data is it anyways? Public vs Private data collection.
PPTX
Thinking about Prototyping: Sketching, Familiarity, Cost versus Ease of proto...
Designing Printed Circuit boards, Software Choices, The Design Process
Manufacturing PCB, Etching board, milling board, Third party manufacturing, a...
Business Model, make thing, sell thing, subscription, customization, Key Reso...
Funding an IOT startup, Venture Capital, Government funding, Crowdfunding, Le...
Sketch, Iterate and Explore, Nondigital Methods.
CNC Milling, Software, Repurposing and Recycling.
3D printing, Types of 3D printing: FDM, Laser Sintering, Powder bed, LOM, DLP.
Laser Cutting, Choosing a laser cutter, Software, Hinges and joints.
Memory management, Types of memory, Making the most of your RAM.
Performance and Battery Life, Libraries, Debugging.
Prototyping Embedded Devices: Arduino, Developing on the Arduino.
Raspberry-Pi, Developing on Raspberry Pi, Difference between Arduino & Raspbe...
Open Source versus Closed Source in IOT in IOT
Why closed? Why Open? Mixing open and closed source
Model Performance Metrics. Accuracy, Precision, Recall
Graceful Degradation and Affordance in IOT
Web thinking connected device, Small Pieces Loosely joined.
Production & Mass Personalization, Changing Embedded Platform, Physical proto...
Whose data is it anyways? Public vs Private data collection.
Thinking about Prototyping: Sketching, Familiarity, Cost versus Ease of proto...

Recently uploaded (20)

PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
Farming Based Livelihood Systems English Notes
PDF
Climate and Adaptation MCQs class 7 from chatgpt
PDF
My India Quiz Book_20210205121199924.pdf
PDF
International_Financial_Reporting_Standa.pdf
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
PowerPoint for Climate Change by T.T.pdf
PPTX
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
Journal of Dental Science - UDMY (2020).pdf
PPTX
Module on health assessment of CHN. pptx
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
IP : I ; Unit I : Preformulation Studies
PDF
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
Environmental Education MCQ BD2EE - Share Source.pdf
Farming Based Livelihood Systems English Notes
Climate and Adaptation MCQs class 7 from chatgpt
My India Quiz Book_20210205121199924.pdf
International_Financial_Reporting_Standa.pdf
Cambridge-Practice-Tests-for-IELTS-12.docx
PowerPoint for Climate Change by T.T.pdf
DRUGS USED FOR HORMONAL DISORDER, SUPPLIMENTATION, CONTRACEPTION, & MEDICAL T...
Journal of Dental Science - UDMY (2021).pdf
Journal of Dental Science - UDMY (2020).pdf
Module on health assessment of CHN. pptx
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
IP : I ; Unit I : Preformulation Studies
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf

Data Models

  • 2. Data Models • A Model is a representation of reality, ‘real world’ objects and events, associations. • Data Model is a collection of high level concepts that can be used to describe the structure of a database that hide many low levels storage details. • Data Model can be defined as an integrated collection of concepts for describing and manipulating data, relationship between data, and constraints on the data in an organization.
  • 3. The Entity Relationship Model (ER Model) • Entity–Relationship modeling was developed for database and design by Peter Chen in 1976 • Entities are things or an object in the real world that is distinguishable from other objects based on the values of the attributes is posses. • Entities are described in a database by a set of attributes. For E.g. Student is an entity which has attributes like RollNo, Name, DateOfBirth. • An entity set is a collection of same type of entities that share same attributes. • Relationship is an association among several entity set. For E.g Student is “admitted” to a single branch (Computer , Electronics etc.)
  • 4. Entity, Entity-Set and Attributes Student Table Roll_No Name Date_Of_Birth 1 Ajay Joshi 12/3/2000 2 Poonam Sharma 28/4/2000 3 Vinay Deshmukh 29/12/1999 Attributes Entity Set Entity
  • 5. ER Diagram • ER Model is represented by using ER Diagram. • Entity Set is represented by “Rectangle” • Relationship is represented by “Diamond” • Attributes are represented by “Ellipses” • Linking of attributes to entity sets and entity sets to relationships is by “Lines” Branch Student Admitted DateOfBirth Name RollNo Id BName
  • 6. Types Of Entity Set  Strong Entity Set : An entity set that contains sufficient attributes to uniquely identify all its entities.  Weak Entity Set: An entity set which does not have sufficient attributes to uniquely identify all its entities. Account Logs Transaction
  • 7. Types Of Attributes There are many types of attributes which are as follows: Key attribute Composite attribute Derived attribute Single-value attribute Multi-value attribute Simple attribute
  • 8. Key Attribute This attribute has the unique value for an entity which is used to identified given row in the table is called as key attribute of an entity. It is represented by underlying the attribute name. Student Roll_No
  • 9. Simple Attribute Simple attributes are atomic values, which cannot be divided further. For example, a student’s phone number is an atomic value of 10 digits. It is simply represented by an oval. Student Roll_No PhoneNo
  • 10. Composite Attribute Composite attributes are made up of more than one simple attributes. For example , a student complete name may have F_Name, M_Name and L_Name. Student RollNo PhoneNo Student_Nm F_Name M_Name L_Name
  • 11. Derived Attribute Derived attributes are the attributes that do not exist in the physical database, but their values are derived from other attributes present in the database. For example age can be derived from DateOfBirth. It is represented by dashed oval. Student RollNo PhoneNo DateOfBirth Student_Nm F_Name M_Name L_Name Age
  • 12. Single-value and Multi-value Attribute • Single-value attributes contain single value. For example Aadhar_card-number • Multi-value attribute may contain more than one values. For example a person can have more than one phone number, email_address etc. It is represented by double oval. Student RollNo PhoneNo DateOfBirth Student_Nm F_Name M_Name L_Name Age
  • 14. If you have a question, you can reach me via e-mail at [email protected] Social Media Handles: omega.teched megha_with megha-sharma24 OMega TechEd