inheritance - 有没有办法使用 MySQL Workbench 对表继承进行建模?

标签 inheritance mysql-workbench erd single-table-inheritance

有没有办法使用 MySQL Workbench 对表继承进行建模?
我希望 ERD 看起来类似于此图像的左侧:

alt text

最佳答案

是的,我首先尝试使用 sybase 15.2,然后在 mysql workbench 中尝试使用 1:1 基数。
连接足球运动员和球员。它将为您提供主键和外键的名称。您可能想要重命名属性,因为它会为您提供类似 Player_name 的名称。

关于inheritance - 有没有办法使用 MySQL Workbench 对表继承进行建模?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2459270/

相关文章:

mysql - MySQL 触发器中出现意外的 END_OF_INPUT

database - 为此示例数据库绘制 ERD

C++ 设计 : inheritance and returning opaque handles

c++ - C++ 中的密封类和虚拟继承

python:在父类的方法中,调用该类的类方法,但绑定(bind)到子类

MySQL Workbench EER/ERD 图 - 图形关系

sql - 有哪些好工具可用于从 SQL Server 数据库生成 ERD?

javascript - ES6 继承 : uses `super` to access the properties of the parent class

mysql - 系统变量 "MESSAGE_TEXT"不适用于 Mysql 5.6 中的 SIGNAL 语句?

mysql - 我的 mysql 数据库中的 .myd、.myi 和 .frm 文件在哪里