Let me start by saying I am new to database design. I have been programming for 5 years now but recently felt like it would be of worth to learn about databases and database design. I picked up a few books and am now working my way through them. So without further ado, hear is my first question.
I am currently trying to understand and learn how to use the Entity Relationship Model. One of the books I am reading asks me to conceptualize a basic ERD showing the relationships between a Department, Employee, and Manager. The book offered me up these business rules?.
Each department has many employees, but each employee belongs to one department.
Each department is managed by one employee, and each of those managers can manage only one department.
This is my first attempt at it
So what I am confused about is if a manager is an employee how do I represent that relatiomship.
I actually agree with "Good Bot". "millions" - I wonder how they made that assertion. Did they guess? If so, not good enough. Hence "clickbait". If they said "five people" it'll still be clickbait. It's clickbait unless there are actual proven figures to substantiate that claim
I think every American should have a course in a 'dry sense of humour' at school; and perhaps 'using sarcasm in jest' oh, and also 'the use or irony in humour'.
What they really need to do is automatically spell "loses" and "lose" correctly since nobody seems to know how to anymore. Then they blame spellcheck/autocomplete and don't realize autocomplete is just filling in the word for them automatically so it was misspelled in the first place.
Question
Chadsxe
Hi,
Let me start by saying I am new to database design. I have been programming for 5 years now but recently felt like it would be of worth to learn about databases and database design. I picked up a few books and am now working my way through them. So without further ado, hear is my first question.
I am currently trying to understand and learn how to use the Entity Relationship Model. One of the books I am reading asks me to conceptualize a basic ERD showing the relationships between a Department, Employee, and Manager. The book offered me up these business rules?.
Each department has many employees, but each employee belongs to one department.
Each department is managed by one employee, and each of those managers can manage only one department.
This is my first attempt at it
So what I am confused about is if a manager is an employee how do I represent that relatiomship.
Regards
Chad
Link to comment
https://www.neowin.net/forum/topic/936372-who-knows-about-databases-erd/Share on other sites
9 answers to this question
Recommended Posts