Tim's Business Model: Conceptual & Physical Data Modeling with ERD

This guide walks you through the process of creating a conceptual data model based on Tim's business model, then transforming it into a physical ERD (Entity-Relationship Diagram). You'll learn how to identify key relationships between entities, represent entities in your model, and utilize Crow's Foot notation for clarity.

Conceptual Data Model:

  1. The 'Customer' entity has a one-to-many relationship with the 'Order' entity.
  2. The 'Order' entity has a many-to-many relationship with the 'Product' entity.
  3. The 'Order' entity has a one-to-one relationship with the 'Delivery' entity.

Physical ERD:

Customer Table:

  • CustomerID (PK)
  • Customer Name
  • Customer Address
  • Customer Phone

Order Table:

  • OrderID (PK)
  • CustomerID (FK)
  • Order Date
  • Order Status

Order Product Table:

  • OrderID (PK, FK)
  • ProductID (PK, FK)
  • Quantity

Product Table:

  • ProductID (PK)
  • Product Name
  • Product Description
  • Product Price

Delivery Table:

  • OrderID (PK, FK)
  • Delivery Date
  • Shipping Method
  • Tracking Number

Symbol Explanation:

  • Entities are represented by rectangles.
  • Attributes are represented by ovals.
  • Relationships are represented by diamonds. Arrows point to the dependent entity.
Tim's Business Model: Conceptual & Physical Data Modeling with ERD

原文地址: https://www.cveoy.top/t/topic/nzrA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录