【问题标题】:Confused on the difference between One, and One and Only One in ERDs对 ERD 中的 One、One 和 Only One 之间的区别感到困惑
【发布时间】:2022-05-11 11:40:13
【问题描述】:

对不起,我是新来的链接!我对一个和一个和只有一个之间的区别以及它们将在哪里使用感到困惑。我刚开始上课,如果我的图表也有错误,我深表歉意。

Hospital Problem

ER Diagram

【问题讨论】:

    标签: data-modeling entity-relationship cardinality erd


    【解决方案1】:

    也许为时已晚,但我认为这是来自 Wiki 的好答案:“The inner component of the notation represents the minimum, and the outer component represents the maximum

    更多可视化:https://www.vertabelo.com/blog/crow-s-foot-notation/

    因此,在您的情况下:“任何入院的患者都必须有只有一位入院医师”需要只有一个关系。我觉得你的图没问题。继续前进

    【讨论】:

    • 正如目前所写,您的答案尚不清楚。请edit 添加其他详细信息,以帮助其他人了解这如何解决所提出的问题。你可以找到更多关于如何写好答案的信息in the help center
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-05-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多