Questions tagged [erd]

Entity Relationship Diagram

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.

397 questions
3
votes
0 answers

ERD Cinema help

Im in need of some help. Most of all in the way i think when creating the ERD. I have searched online and asked some people but i think i formulate my question wrong which in turn confuses people. (sorry for the bad english btw) My school gave me an…
2
votes
0 answers

Composite attributes in Barker notation

I would like to know how to draw set of entities with composite attribute in Barker's notation. In UML you can do this in that way: and in Chen's notation: Please, help. I have final exam day after tomorrow.
1
vote
2 answers

What would the relational diagram look like in this situation?

Situation Last week I had to do an assignment, and I did not agree with my teacher's ERD. She used a n-ary relationship while I used two binary relationships. I would like to know a true dba's (you) opinion on this. The original assignment was to…
user1534664
  • 125
  • 4
1
vote
1 answer

ERDs and modelling ownership of roles within Job table

I'm currently in the process of modelling what I see as a relatively simple relationship through my ERD. I'm not even certain that strictly speaking this is Many-to-Many but nevertheless there are Many Employees who are associated with Job…
Andrew Maston
  • 35
  • 1
  • 9
1
vote
1 answer

Are these two ERDs the same? Do they represent the same thing? [Weak entities and multi-valued attributes]

What I want to create is a table in a database for employees in a company. Each employee has a unique identifier ID and a name. Each employee also has a list of skills, the skills are represented as a string (i.e. "Cashier", "Manager",…
Squidward_Dabbing
1
vote
1 answer

Does a weak entity always have a weak relationship and total participation in ER diagram?

I've found in some videos that say a weak entity has a total participation and weak relationship in er diagram. In other videos it isn't. I couldn't find a clear explanation for this. Please can someone explain this to me. For example, this states…
devbikash07
  • 11
  • 1
  • 2
1
vote
1 answer

What is an "operational master" with respect to entity-relationship diagrams?

I have a college assignment to create an entity-relationship diagram (ERD) for a database we're going to build. That's fine, but I have to include something called an "Operational Master" in the ERD. The lecturer's description is vague at best, and…
Brian McNamara
  • 33
  • 1
  • 1
  • 3
1
vote
0 answers

Connect 3 or more entities

I'm new to data management. We are currently creating an ER diagram. First, I will ask a question and then give you an example. Question Can I connect 3 or more entities by one connection? Task Situation is university. We have groups, students, head…
Hedgehog
  • 11
  • 3
0
votes
1 answer

What is the best way to represent an album and song entity in an e-commerce schema?

I'm designing a simple mp3(music) ecommerce site, customers can either buy a single Track or whole Album, an Album is made up of Tracks, so there is a one to many relationship between an Album and a Track as shown below. I thought it would be a good…
0
votes
2 answers

in ERD of a system in which teachers evaluating other teachers of their departments how can i connect Teacher, evaluation_result entiy,

A teacher could be an evaluator and also be an evaluatee. How can I achieve this?
0
votes
0 answers

How can I make it so only entities with a certain attribute can participate in a relationship ER diagrams?

I am writing an ER diagram for a pet spa, with pet being an entity as a superclass with the disjoint connection to the subclasses of either cat or dog. A service they can partake in is a massage, but it is only offered to a pet if it is a senior.…
SpiroDouv
  • 1
  • 1
0
votes
0 answers

When should I use associative entity?

I am studying DBMS and I have read that associative entity is used when there is a many to many relationships but I am confused with the graph. It has many to many relationships but did not use an associative entities. Can you explain the graph?…
zultz
  • 101
0
votes
2 answers

ERD - How to add an attribute to one side of the recursive relation?

The simplified scenario for the ERD A company has employees (each has unique id emp_id) Each employee is supervised by another employee A supervising employee has a special attribute SID Here is my ERD for the scenario and the the employee table.…
TN_OUSL
  • 45
  • 1
  • 5
0
votes
0 answers

Need guidance in creating an EERD

Hope I'm posting this at the right place. I have an assignment that I've been mulling over in an attempt to understand it completely. Instructions You are to create an EER diagram from the information provided below using the crow's foot…
0
votes
4 answers

Entity Relationship Diagram for Hotel

I tried creating an ERD model for hotel reservation and billing. Are the cardinalities correct, I'm a bit confused about that. And are there any attributes that are not in the right place? If someone could help me and go over this I would appreciate…
Student
  • 1
  • 1
  • 1
  • 1
1
2