Can any one help me in explaining about the icons in the ER Diagram of Database created in MySQL Workbench.
Key: (Part of) Primary Key. Filled Diamond: NOT NULL. Not filled Diamond: NULL. Red colored: (Part of) Foreign key.
In addition to the text above, a red diamond indicates a Foreign Key association. To answer your question: Blue Diamond (Filled) = indicates NOT NULL. Blue Diamond (unfilled) = indicates NULL. Red Diamond, et cetera = indicates a foreign key {filled: NOT NULL, unfilled: NULL}
MySQL Workbench allows you to create entity relationship diagrams (ERDs) with relationships between the tables (one to one, one to many) and rearrange them as needed. Below we cover how to create an ERD from a downloaded SQL file.
Enhanced Entity-Relationship (EER) diagrams are an essential part of the modeling interface in MySQL Workbench. EER diagrams provide a visual representation of the relationships among the tables in your model. Revisions made with the Model Editor are shown in the associated diagram.
I've found these resources on MySQL's website:
If the icon is a small key, that column belongs to the primary key, otherwise the icon is a blue diamond or a white diamond. A blue diamond indicates the column has NN set.
In addition to the text above, a red diamond indicates a Foreign Key association.
To answer your question:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With