Questions tagged [erd]

Entity Relationship Diagram (ERD) or Entity Relationship Model is a visual representation of the organization of data within databases or information systems

An Entity Relationship Diagram (ERD) or Entity Relationship Model is a graphical representation of entities and their relationships to each other, typically used in computing in regard to the organization of data within databases or information systems.

ERDs can be used to depict two different kinds of models that are closely related, but different in intent. One kind is an analysis model of the subject matter. This model breaks the subject matter down into entities and relationships among entities. Subject matter entities are just subject matter objects by a different name, except that in data analysis, we aren't trying to model the behavior of these objects or entities. Values to be stored in the database can be grouped into attributes, and attributes can be connected to entities and relationships that the attributes describe. This is the ER model as originally developed, and the intent is to describe the problem, not the solution.

Another kind of ERDs is a depiction of the table design of a relational model. This relational model will be eventually fleshed out with physical details, finally resulting in a construction plan for the database itself. While table design is very closely related to ER modeling, it isn't exactly the same thing. for example, normalization is relevant to table design, but not to requirements analysis.

While an ERD can be used for either one of these two purposes, it's useful to decide which of the two purposes one is pursuing before starting in on a diagram.

1159 questions
-4
votes
1 answer

How to start on this ER diagram homework?

Please help me to solve this homework. I need to draw the ER diagram, relationships and cardinality. An environmental Agency needs to catalog all the plants in an area that is vulnerable to acid rains. Plants exist in quadrants and a botanist is…
-4
votes
1 answer

What is the PK and FK i should assign to my table?

A company provides transport services to high-ranked staffs. There are 3 tables: DRIVERS, VEHICLES, STAFFS. DRIVERS - license number [PK] - name - language spoken - ... (and so on..) VEHICLES - vehicle ID [PK] - registration number - model -…
Apple.
  • 117
  • 2
  • 4
  • 12
-5
votes
1 answer

Database design. User Subscription, active / inactive?

For scenario: Users are either active or inactive. How would create and relate tables?
artis898
  • 15
  • 5
1 2 3
77
78