Checking your session…
Module 09: Data Modeling and ER Diagrams

9.3 Crow's Foot Notation

Level: 9 | Version: v1.1 | Author: Meptrasoft

Overview

Crow's Foot Notation is a visual notation used in ER diagrams to show how many records can be related between entities.

The main symbols represent:

Symbol Meaning
| One
O Zero / Optional
< Many

These symbols can be combined:

TEXT
||  → Exactly one
O|  → Zero or one
|<  → One or many
O<  → Zero or many

Crow's Foot notation → Shows relationship cardinality.

Crow's Foot Notation: Cardinality and Optionality Symbols
Figure 1: Crow's Foot symbols show whether a relationship is mandatory, optional, one, or many.

Example

Consider:

TEXT
DEPARTMENT |——< EMPLOYEE

This means:

One department can have many employees.

The symbol near DEPARTMENT represents one, while the crow's foot near EMPLOYEE represents many.

Another example:

TEXT
CUSTOMER ||——O< ORDER

This represents an optional-many relationship on the ORDER side: a customer may have zero or many orders, depending on the business rules.


Quick Memory

TEXT
|  → ONE
O  → OPTIONAL / ZERO
<  → MANY

Bar = One, Circle = Zero, Crow's Foot = Many


Placement Quick Points

TEXT
|   → ONE
O   → OPTIONAL / ZERO
<   → MANY

||  → MANDATORY ONE
O|  → OPTIONAL ONE
|<  → MANDATORY MANY
O<  → OPTIONAL MANY
  • Crow's Foot notation represents cardinality and optionality in ER diagrams.
  • | means one.
  • O means zero/optional.
  • < means many.
  • Symbols can be combined to show relationships such as zero-or-one or zero-or-many.

Interview Questions

What is Crow's Foot notation?

It is a visual notation used in ER diagrams to represent relationship cardinality and optionality.

What does the crow's foot mean?

It represents many.

What does a circle mean?

It represents zero or optional participation.

What does a bar mean?

It represents one.


Practice & Hands-On Exercises

  1. What does | represent?
  2. What does O represent?
  3. What does < represent?
  4. Interpret |<.
  5. Interpret O<.
  6. Draw a Crow's Foot relationship where one department has many employees.

💡 Tip: Test your queries and schema definitions using the in-browser interactive runner above.


Key Takeaway

TEXT
|  → ONE
O  → ZERO / OPTIONAL
<  → MANY

Crow's Foot notation makes ER relationships easy to read by showing one, zero, and many visually.

End of Crow's Foot Notation