`

ERD

阅读更多
http://folkworm.ceri.memphis.edu/ew/SCHEMA_DOC/comparison/erd.htm


Relationships
The lines with symbolized ends connecting database entities represent the relationship between two tables. Each line describe both directions of the relationship. There are four basic relationships that can be used to describe the relationship of one table to another.
KEY: Key to ERD relationships.
The diagram on the right shows these four possibilities by discussing the relationship of some entity B with another entity A. The first relationship shown is that of a one to one relationship between the two tables. Specifically this means that for every row in table A there is one and only one corresponding row in table B. This requires that the number of rows in A must be the same as the number of rows in B. Such relationships represent a kind of a choice, in that it would be possible to merge two tables related in this manner into a single table sharing all of the columns of both. Alternatively, and particularly for seismic applications, it might be better to keep two tables distinct, with B containing information of a specialized and possibly site specific nature, while A might contain information of a much more general nature. Generally one to one relationships are uncommon in database design.

The second relationship shown is much more common, and will help to understand the bidirectional nature of this notation. Simply put, the symbol is to be interpreted that every row of B is uniquely related to specific row of A, while every row of A is related to at most one row of B. As a pneumonic, I sometimes think of the symbol near the B entity as reading "0 or 1", since that is what it looks like. One thing that is difficult to keep sorted out, speaking for myself, is the directionality of the relationship. One can think of the terminal symbol as an arrow head, defining how one entity, A in the example, is related to another, B. Apparently some of the rows in A do not relate to any rows in B, and the corresponding "foreign key" is said to be null. On the other hand, every row of B is related to exactly one row of A. One can see, that table A must contain at least as many rows as table B, and possibly considerably more.

With the third relationship shown in diagam KEY, things get quite a bit more interesting. This notation reads that a given row of A is related to one or more rows in B. To accomplish this, particular values of some foreign key in B, which is also the primary key of A, might be duplicated one or more times. For example, a column in a table holding information on the arrival times of particular seismic phases might have a column (foreign key) containing an ID, which is the primary key of a table of hypocenters. In this example, the phase table is B, and the hypocenter list is A. In this way multiple phase arrivals can be "assocated" with a given hypocenter. The simple example below, however, shows that the situation is generally a bit more tricky than this for real applications. Note that every row of A must be associated with at least one row of B. The situation where a row of A corresponds to no row in B is shown in the fourth symbol. This reads that rows of A are associated with zero or more rows of B. For the phase arrival example, this would mean that there could be a location for which no phase data was available. The location, perhaps, was simply typed in without supporting data.

http://www.databasedesigning.com/ER2.html

  • 大小: 2.1 KB
  • 大小: 1.4 KB
分享到:
评论

相关推荐

    ERD commander 2009 R2 简体中文安装包

    它可以制作ERD commander 2009 基于Windows 2008 R2和Windows 7系统(MS的说法是只支持这2个系统)。这只是个安装程序,安装后在制作ERD2009 R2时,需要Windows 2008 R2或Windows 7的安装盘作支持,如需支持最新硬件,...

    ERD commander 2009 简体中文安装包

    它可以制作ERD commander 2009 基于winpe 2.x 的系统修复工具,可处理Windows vista /Windows 2008等系统。这只是个安装程序,安装后在制作ERD2009时,需要Vista、Windows 2008的安装盘作支持(用哪一个,就看您对...

    论文研究 - 关于模块化Erdös-Burgess常数

    令n为正整数。 对于任何整数a,如果a2≡a(mod n),我们说它是n的幂等模。... 我们给出了n模Erdös-Burgess常数的尖锐下界,特别是在n是素数幂或成对的不同质数的乘积的情况下,我们确定了n模Erdös-Burgess常数。

    ERD commander 2011 x64 安装包

    它可以制作ERD commander 基于Windows 2008 R2 x64和Windows 7 x64系统(MS的说法是只支持这2个系统)。这只是个安装程序,安装后在制作ERD Commander x64时,需要Windows 2008 R2 x64或Windows 7 x64安装盘作支持,如...

    自制ERD_Commander_Boot_CD_教程

    在上网浏览时,发现Jason的電腦健身房中有《[必備工具]如何自製ERD Commander Boot CD》,觉得特别详尽,之前偶总是想写一篇关于ERD制作的文档,但由于本人太懒之故,一直写不成,发现有现成的文档就转了过来。...

    论文研究 - 施工期ERD孔隙压力的Chebyshev谱元分析

    切比雪夫谱元被用于碾压土石坝(ERD)施工期间孔隙压力的耗散分析。 尽管如此,传统的有限元因其对复杂的几何构型的出色适应性,是目前ERD孔隙压力解最普遍的空间离散方法[1]。 频谱元素方法借助频谱等参变换,克服...

    手机销售ER图 ERD图

    手机销售系统的erd图 erd图 开发手机销售系统必学

    创建ERD修复U盘

    创建ERD修复U盘可以针对那些没有光驱的电脑进行系统修复工作,解决了因为没有光驱而不能用ERD进行系统修复的烦恼,ERD是一款很好的系统修复工具,利用它可以进行不同层次的系统修复工作,现在我们结合U盘使用,确实...

    erd.concepts.v5.0.0.0

    erd.concepts.v5.0.0.0

    ERD.PDF台湾 林伟川著

    一本比较好的ERD文档。台湾 林伟川著。不看会后悔

    经典ERD设计资料、数据库设计

    非常经典的数据库设计资料,并详细介绍了ERD的画法。并有课后练习题。

    ERD60破解win2008口令

    ERD60破解win2008口令 Win2008系统,如果忘记了管理员口令,可以用ERD6.0重置管理员口令

    基于ERD/ERS现象的运动想象脑电信号分类研究 (2015年)

    为了提高分类正确率,通过对脑电信号的特征提取和分类识别方法的研究,根据运动想象过程中的 ERD/ERS现象,提出利用独立分量分析法对采集到的多导联运动想象脑电信号进行盲源分离,获取与想象任务相关的ICA滤波器,将其...

    ERD_滑动窗口_信号检测_突发通信_突发检测_非合作信号

    对于非合作纯盲突发信号,利用滑动窗口能量比值法 Energy ration detector (ERD)进行信号检测,检测出信号起始与结束位置,算法原理见论文

    ERD commander 2008 安装包

    Microsoft Diagnostics and Recovery Toolset 6.0 (MSDaRT),可以制作ERD commander 2008 基于winpe 2.x的系统修复工具,可处理vista /2008系统。 此为X86版式,经测试非常好用(仅为大侠提供,菜鸟千万不要下载,...

    ERD .Commander.2005.Boot.CD汉化加强版.part3.rar

    ERD .Commander.2005.

    ERD_ERS.zip

    EEG中提取ERD/ERS. Mild cognitive impairment(MIC)患者的alpha和beta频段事件相关同步(Event-related synchronization, ERS)明显较低。 β频率范围内电生理变化的评估可能为早期发现认知障碍提供有用的诊断工具。

    ERD 6.0 x64 工具安装包 MSDaRT x64bit

    Microsoft Desktop Optimization Pack 光盘中MSDaRT60 x64 工具软件包,安装后可用以制作 ERD Commander 6.0 可引导启动光盘(BootCD).制作中需要 Windows Vista 或Win7 x64 系统光盘。 如果制作的光盘中,要包含多...

    ERD.Commander.2005.Boot.汉化加强版.part1

    ERD.Commander.2005.Boot.CD汉化加强版.part1

    \光盘上的操作系统-ERDCOMMANDER2003汉化....rar

    \光盘上的操作系统-ERDCOMMANDER2003汉化....rar\光盘上的操作系统-ERDCOMMANDER2003汉化....rar

Global site tag (gtag.js) - Google Analytics