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.
MSN defined our generation in some ways, kind of like Snapchat and TikTok have done for future generations.
I have great memories of the MSN era in the late 90s / early 2000s. In the UK everyone seemed to come home from School and go on MSN for the evening. We didn't really have mobile phones then, so other than going and knocking on your friends door it was a totally new way of interacting with people. I also loved how I could talk to people I’d met playing online games from around the world.
Inviting people to NetMeeting and messing about with the shared white board and webcams was pretty fun, even if webcams only ran at a couple of fps over dial-up.
All the random things you could do with MsgPlus! were really fun - I suspect that made a few people jump with /shello randomly blasting Mr Hankey out their speakers!
Maybe I’m just nostalgic, however I do feel the internet and computers were more fun back then.
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
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