数据库模式中的多对多关系表是否有正式名称? [英] Is there an official name for the many-to-many relationship table in a database schema?

查看:138
本文介绍了数据库模式中的多对多关系表是否有正式名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作过的大多数项目都需要在数据库模式中有多对多的关系。例如,您可能具有用户和组的概念,并且数据库可能包含表User,表Group和用于关联这两个表的表UserGroup。



我对该示例中UserGroup表的概念名称感兴趣。



我已经习惯于调用他们的swing tables,因为这是我学习它,但我还没有听说其他人在一段时间内使用这个词。



相反,我听说过以下所有(包括一些新的,谢谢所有

  • 桥接表

  • li>交叉参考表
  • Gerund(EF Codd,关系模型的创建者可能更喜欢这种方式)

  • 交叉表

  • 加入表格(在Google上的大部分搜寻结果...请参阅下面的答案)

  • 连接表(维基百科喜欢这个)

  • 链接表( Fowler喜欢这个

  • 很多多对多关系表

  • 映射表

  • 参考表

  • 关系表

  • 回转表



  • 这种表格有正式名称, ness?

    解决方案

    我认为最常见的名字是Join Table,但我听说过你列出的其他几个。所以,我会说不,没有官方名称: - )


    Most of the projects I've worked on have required many-to-many relationships in the database schema. For example, you might have the concept of Users and Groups, and the database might contain a table User, a table Group, and a table UserGroup to relate the two.

    I'm interested in the conceptual name of the UserGroup table in that example.

    I've grown accustomed to calling them "swing tables" because that's how I learned it, but I haven't heard other people use that term in a while.

    Instead, I've heard all of the following (including some new ones, thanks to all of you!):

    • Association table
    • Bridge table
    • Cross-reference table
    • Gerund (E.F. Codd, creator of the relational model, may prefer this)
    • Intersection tables
    • Join table (most search results on Google...see answer below)
    • Junction table (Wikipedia favors this one)
    • Link table (Fowler likes this one)
    • Many-to-many relationship tables
    • Map table
    • Reference table
    • Relationship table
    • Swing table

    Is there an official name for this kind of table, with a source to back its official-ness?

    解决方案

    The most common name is "Join Table" in my opinion, but I have heard several others you have listed. So, I would say "no", there is no "official" name :-)

    这篇关于数据库模式中的多对多关系表是否有正式名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆