Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Drawing an Entity Relationship Diagram
Old 10-15-2008, 07:31 PM Drawing an Entity Relationship Diagram
Junior Talker

Posts: 2
Name: Ramtin Sohrabian
Location: Sydney, Australia
Trades: 0
Hi Guys,

I am working on a project and need some help on ER digrams... I am completely new to it and its kind of mind blowing.

Does anyone have any hints or can help me with this?

Cheers, Ramtin
ramtinworld is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-15-2008, 11:11 PM Re: Drawing an Entity Relationship Diagram
Brian07002's Avatar
Defies a Status

Posts: 2,142
Name: ...
Location: ...
Trades: 0
For what kind of data? I don't know if it will help too much in your efforts, but I have lot's of vector clipart that can make clear your ideas...Color & Black & White Vector clipart. See my signature site.
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 10-16-2008, 05:21 AM Re: Drawing an Entity Relationship Diagram
stoot98's Avatar
Ultra Talker

Posts: 427
Name: Stuart
Location: Glasgow, Scotland
Trades: 0
The way we used to do it in uni was to write out the spec as a paragraph. Then highlight noun phrases (which will, generally, become the entities), verb phrases (which will generally be the relationships between them). And decide the normality (not sure if that is the correct term :S) between them i.e. many to many, 1 to many, many to 1.

e.g.

"The database should keep track of players who are members of each team and the matches that they play in."

Entities: Players, Teams, Matches

Relationships:

Players - member of - Team (M:1)
Players - play in - matches (M:M)
stoot98 is offline
Reply With Quote
View Public Profile
 
Old 10-16-2008, 07:28 AM Re: Drawing an Entity Relationship Diagram
Junior Talker

Posts: 2
Name: Ramtin Sohrabian
Location: Sydney, Australia
Trades: 0
Hi Stuart,
Thanks heaps for your message... I am actually doing what you told me...

Here is the business rules that I need to based my model on:

• A student is identified by a unique student identification number
• A student is enrolled in only one course
• A student has a status which is Current, Deferred or Withdrawn
• A particular unit is offered by only one course
• A course must offer at least one unit
• A student may be enrolled in many units or none, depending on his/her status
• A unit must have students in it to run
• Every unit offers at least one tutorial
• A student may be enrolled in many tutorials or none, depending on his/her status
• A tutorial must have students in it to run
• Each tutorial is identified by a unique identification number
• Each tutorial is held in an allocated room, on a designated day and time each week
• A student with a Current status must attend a tutorial

You think you can help me more with this?

Cheers mate, Ramtin
ramtinworld is offline
Reply With Quote
View Public Profile
 
Old 10-16-2008, 03:17 PM Re: Drawing an Entity Relationship Diagram
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Quote:
Originally Posted by ramtinworld View Post
I am working on a project and need some help on ER digrams... I am completely new to it and its kind of mind blowing.
Use the diagramming tool in SQL Server. You can do that, get it wrong, start over, as many times as you need. And once you start working with it, hands on, it stops being new and mind blowing, and becomes easy. You'll get the hang of it, but writing a bullet list won't make it less abstract - just jump in and do it.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 10-27-2008, 11:10 AM Re: Drawing an Entity Relationship Diagram
Nazi370's Avatar
Skilled Talker

Posts: 70
Name: Nazirul
Trades: 0
for eg.

student(ID_No, Name, Address, etc..)

just draw the diagram, using the multiplicity they have...
Quote:
_________
| student |
¯¯¯¯¯¯¯¯¯
| ID_No |
| Name |
| Address |
¯¯¯¯¯¯¯¯¯
Nazi370 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Drawing an Entity Relationship Diagram
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.28615 seconds with 12 queries