0% found this document useful (0 votes)
13 views12 pages

Lesson 3

The document discusses database modeling and Entity-Relationship Diagrams (ERDs). It introduces different data models like network, relational, and hierarchical and explains concepts such as cardinality, degree, primary keys, foreign keys, and relationships. It also discusses how ERDs can be used to visualize database structures and relationships and describes how to create an ERD by identifying entities, attributes, and relationships between entities.

Uploaded by

202201812
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views12 pages

Lesson 3

The document discusses database modeling and Entity-Relationship Diagrams (ERDs). It introduces different data models like network, relational, and hierarchical and explains concepts such as cardinality, degree, primary keys, foreign keys, and relationships. It also discusses how ERDs can be used to visualize database structures and relationships and describes how to create an ERD by identifying entities, attributes, and relationships between entities.

Uploaded by

202201812
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Understanding Database

Data Models and Entity-


Relationship Diagrams
(ERDs)
LESSON 3
Database management is crucial in today's digital
world, where vast amounts of data are generated and
stored. Understanding different data models and their
representation is essential for efficient database
management. In this lesson, we'll delve into
Information Models, Data Models, and Entity-
Relationship Diagrams (ERDs).
1. Information Models and Data Models

Network Database
 Understand the network data model where data is
organized as a collection of records connected by
predefined relationships.
 Discussthe advantages and disadvantages of
network databases.
Relational Model
Explore the relational data model where data
is organized into tables with rows and
columns.
Discuss the key concepts such as tables, rows,
columns, and relationships between tables.
Hierarchical Database
Examine the hierarchical data model where
data is organized in a tree-like structure.
Understand how parent-child relationships
are represented in hierarchical databases.
Cardinality
Define cardinality as the numerical
relationship between entities in a
relationship.
Discuss one-to-one, one-to-many, and
many-to-many cardinality.
Degree
Explain the degree of a relationship as the
number of entities participating in the
relationship.
Discuss unary, binary, and ternary
relationships.
Primary Keys
Define primary keys as unique
identifiers for entities in a table.
Discuss the importance of primary
keys in ensuring data integrity.
Foreign Keys
Explain foreign keys as attributes that
establish relationships between tables.
Discuss how foreign keys enforce
referential integrity.
Relationships
Explore different types of relationships such
as one-to-one, one-to-many, and many-to-
many.
Illustrate relationship types with real-world
examples.
Constraints
Discuss constraints such as uniqueness,
referential integrity, and domain
constraints.
Explain how constraints maintain data
consistency and integrity.
3. Entity-Relationship Diagram (ERD)
Design
 a.Understand the purpose and benefits of ERDs in
visualizing database structures and relationships.
 b.Learn the process of creating an ERD, including
identifying entities, attributes, relationships, and
cardinality.
 c.Practice designing ERDs based on given scenarios,
ensuring accuracy in representing database relationships.

You might also like