Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 860 Bytes

06_mysql_modelling.md

File metadata and controls

33 lines (23 loc) · 860 Bytes

title: Modelling with MySQL Workbench notebook: Database Systems layout: note date: 2020-03-17 13:11 tags: ...

Modelling with MySQL Workbench

Table of Contents

Conceptual to Logical Design

Checklist

  1. Flatten composite and multi-valued attributes
    • Multi-value attributes can be made into another table: do this when the number is likely to be variable/is unknown
  2. Resolve many-many relationships
  3. Add foreign keys at crows-foot end of relationships (many side)

Binary One-One relationship

  • move the key from the one side to the other side
  • the optional side of the relationship should get the foreign key
    • reduces number of NULL values