Crow's Foot Notation & 2nd Normal Form: Presenter: Group 2
Crow's Foot Notation & 2nd Normal Form: Presenter: Group 2
Crow's Foot Notation & 2nd Normal Form: Presenter: Group 2
&
2nd Normal Form
Presenter :
GROUP 2
Objectives:
https://carlsonschool.umn.edu/sites/carlsonschool.umn.edu/files/geverest.jpg
Entities – represented as rectangles, where Attributes - attributes of entities are
In Crow's
each rectangle foot notation
represents an entity for Entity-Relationship diagrams
in your (ERDs),
typically depicted entities
as ovals (eclipse)and their
within
database schema. attributes are represented asthefollows:
entity rectangles.
Entity
Employee
EmployeeID (PK)
Attributes of FirstName
the LastName
"Employee" Email
entity Indicate it if the primary
Key of the "Employee"
entity.
7
Crow's foot
notation for
Entity-
Relationship
diagrams (ERDs),
symbols
Cardinality
Relationship has two indicators. These are shown on both side of the line.
• One-to-one • One-to-many
• Many-to-many
SAMPLE PROBLEM
Consider the following business rules for a patient appointment system:
A doctor can be scheduled for many appointments, but may not have any scheduled at all. Each appointment is
scheduled with exactly 1 doctor. A patient can schedule 1 or more appointments. One appointment is scheduled
with exactly 1 patient. An appointment must generate exactly 1 bill, a bill is generated by only 1 appointment.
One payment is applied to exactly 1 bill, and 1 bill can be paid off over time by several payments. A bill can be
outstanding, having nothing yet paid on it at all. One patient can make many payments, but a single payment is
made by only 1 patient. Some patients are insured by an insurance company. If they are insured, they can only
carry insurance with one company. An insurance compnay can have many patients carry their policies. For
patients that carry insurance, the insurance company will make payments, each single payment is made by exactly
1 insurance company.
CROW'S FOOT NOTATION ADVANTAGES
CLARITY SIMPLICITY FLEXIBILITY
Crow's Foot notation provides a It simplifies complex database Crow's Foot notation is versatile
clear and intuitive way to concepts by using standardized and can represent various types
represent the structure of a symbols and shapes. This of relationships and
database. Entities are depicted simplicity makes it easier to cardinalities. It can handle one-
as rectangles, relationships as create, read, and communicate to-one, one-to-many, and many-
lines, and cardinality using the database designs. to-many relationships with ease.
"crow's foot" symbols, making
it easier for both technical and
non-technical stakeholders to
understand the database schema
CROW'S FOOT NOTATION ADVANTAGES
EASE OF LEARNING CONSISTENCY EFFICIENCY
It is relatively easy to learn and Since it's a standardized Designing databases using
teach, making it a suitable notation, it promotes Crow's Foot notation can
choice for educational purposes consistency in database speed up the development
and for introducing newcomers
design across different process. It allows for quick
to database design.
projects and among team visualization of the database
members. schema, helping designers
identify potential issues
early on.
CROW'S FOOT NOTATION ADVANTAGES
COMMUNICATION DOCUMENTATION STANDARDIZATION
It facilitates effective Crow's Foot notation serves as Crow's Foot notation is a widely
communication between valuable documentation for recognized and accepted
different stakeholders involved databases. It provides a visual standard in the field of database
in a project, including representation that can be design. This standardization
developers, database referenced throughout the ensures that database designs
administrators, and business development lifecycle and are consistent and compatible
analysts. They can all easily during maintenance and across various platforms and
grasp the database structure and troubleshooting. organizations.
requirements.
Topic Two:
2nd Normal Form
SECOND NORMAL FORM
A university from GITTA (Geographic Information Technology Training Alliance) uses the following
relation:
The key attributes IDSt and IDProf are identification keys. All attributes are single valued (1NF).