什么是“数据库实体”以及什么类型的DBMS项目被视为实体? [英] What is a "database entity" and what types of DBMS items are considered entities?
问题描述
它是表吗?
我已经看过互联网,但是找到基本问题的基本答案有时是一个
I've looked around the internet, but finding elementary answers to elementary questions is sometimes a little difficult.
推荐答案
在实体关系世界中,实体是可独立存在的东西实体和数据库表之间通常存在一对一的关系。但是,此映射是一个实现决策:例如,ER图可能包含三个实体:三角形,正方形和圆形,这些可能会被建模为单个表:Shape。
In the entity relationship world an entity is something that may exist independently and so there is often a one-to-one relationship between entities and database tables. However, this mapping is an implementation decision: For example, an ER diagram may contain three entities: Triangle, Square and Circle and these could potentially be modelled as a single table: Shape.
另请注意,一些数据库表可能表示实体之间的关系。
Also note that some database tables may represent relationships between entities.
这篇关于什么是“数据库实体”以及什么类型的DBMS项目被视为实体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!