ISA继承在ER图中具有不同的主要键

发布于 2025-01-21 09:47:59 字数 141 浏览 1 评论 0原文

我想为有工程师和建筑师作为工人的公司绘制ER图。我创建了三个Entites,我想创建从工程师到工人的ISA继承。所有的工人都有一个唯一的工人。所有工程师都有一个唯一的工程师_id。如何证明每个工程师都使用ISA继承具有唯一的worker_id和Engineer_id?

I want to draw an ER diagram for a company where there are engineers and architects as workers. I created three entites and I want to create an ISA inheritance from engineers to workers. All the workers have a unique worker_id. All the engineers also have a unique engineer_id. How can I show that each engineer has both unique worker_id and engineer_id with using ISA inheritance?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文