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
-2
votes
1 answer

HOW can I draw ER diagram for mobile app?

I build android app for education computer sciences , you can login or logout by Email or google account , this app consists 3 departments computer engineering , IT and Software, which department has 2 options undergraduate and graduate , when click…
-2
votes
1 answer

Tool to Document Database

Is there a tool (preferably open source) that can be used to produce documentation (preferably html) for a database? I'd like a tool that can show the tables and relationships visually and allow you to enter a description for each column.
Sheldon Cooper
  • 627
  • 4
  • 15
-2
votes
1 answer

MySQL syntax Error 1064 Extra column

create table student( SID char(10), Name varchar(100) not null, Units char(10), constraint primary key(Sid) )engine=innodb; this is correct but i need a anther column call Level create table student( SID char(10), Name…
Suhad Mendis
  • 51
  • 1
  • 11
-2
votes
1 answer

Database designing - for vehicles application

I am trying to build vehicle application but I am confused about the table structure currently I have created those tables according to tire specifications. Would you check out the design structure and correct me if something missing. ERD Diagram…
Mohammed Allam
  • 59
  • 1
  • 2
  • 10
-3
votes
0 answers

What is the ERD digram of BRIAR application?

ERD diagram BRIAR Application Step by step. I want a ERD digram of Briar offline chatting application and also provide me explaination of everything.this digram must be send and receive messages without any network connection.
-3
votes
1 answer

Need to redesign this ER Diagram

I want to design them drawing an ER Diagram. I have already designed an ER Diagram but teacher told me that it has only 5 entities and I need at least 7 or 8 entities. Also told me that I must not add primary key to a relationship(diamond shape). So…
-3
votes
1 answer

What would normalized ERD (Entity-Relationship Diagram) look like for this table

I got stuck on one project of mine. My table looks sort of like this but I think I'm just going circles and going crazy. The issue is on how to "separate" attributes under the categories. Do I need to make entities for each category? Then, how…
-3
votes
1 answer

SQL Query in Generalization

Relational Schema: Table comics(Generalization): comic_name: varchar(Primary Key) Created: boolean(Default = false) Group_name: varchar(55), (Not Null) Type: varchar(55), (Not Null) Table Unreleased_comics(Specialization): …
-3
votes
1 answer

Struggling with custom SQL query

I have to make a query to: show a view which shows the results of counting all the employee dedications per employee area, listed by the area names in alphabetical order. $this->db->query('create temporary table temp as (select…
-3
votes
1 answer

Beginner SQL Server ERD Logic question- Why would the tables be structured in this way?

I am creating a website that will have a database containing a list of games. There will be several different types of games. I'm looking at a SQL Server entity relationship diagram for reference, but I'm wondering about the part I pasted below:…
m0a
  • 1,005
  • 2
  • 15
  • 29
-3
votes
2 answers

How to translate this E.R diagram to table?

Hello I need help translating this E.R diagram to table Do I create a table for each entity and relationship ? Partial/total participation
-3
votes
1 answer

Symfony defining Foreign key

This is my ERD I need help with how to associate the foreign keys with my entities from what i know is that it has to something with this kind of code: /** * @ORM\ManyToOne(targetEntity="Category", inversedBy="products") *…
Azhar
  • 1
  • 1
-3
votes
2 answers

Setting Foreign key in Products Module

I have three tables 1) products with following columns: product_id, product_cat, product_cat_brand, product title, product_price, product_image 2) product_Category with following columns cat_id, cat_title 3) product_Brand with following…
-3
votes
1 answer

MySQL ER diagram, chen notations explaination

I have a question. For an assignment in uni I've got the task to create an ER diagram using chen notations. The only problem is that when I turned it in, they said I was not using chen notations. Am I wrong here, or isn't this an ER diagram using…
arebokert
  • 97
  • 1
  • 2
  • 6
-3
votes
1 answer

Professor and department evaluation system ERD

I created a ERD (dont know if correct) but the real problem is all about CSV file as you can see guys I have three tables, Student(top left corner), teacher(3rd from top left) and course table(2nd from top) now our system can upload a CSV file for…
superdb
  • 55
  • 1
  • 1
  • 14
1 2 3
77
78