If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > List business rules from ER diagram??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-15-10, 06:24
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
List business rules from ER diagram??

I need to come up with a list of 12 business rules that can be deduced from the following ER Diagram. I am finding it hard, can anyone come up with any?

Thanks,

Convention:

Dotted Line = Optional
Dotted and Solid Line = Weak
Attached Thumbnails
List business rules from ER diagram??-er1.jpg  

Last edited by cookpau01; 04-15-10 at 06:54.
Reply With Quote
  #2 (permalink)  
Old 04-15-10, 06:26
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Based on what you have learned so far, what can you tell us about that diagram?
Reply With Quote
  #3 (permalink)  
Old 04-15-10, 06:30
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
Well I can tell you that there is a one to many relationship between degree program and Student which is a weak entity.
There is then a many to many relationship between student and module which is an optional entity.

So the business rule I have so far are:
A student does not have to have a module
Students can attend many modules
Modules are made up of many students
A student can only be on one degree course
Reply With Quote
  #4 (permalink)  
Old 04-15-10, 06:38
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Looks like a good start.
What makes you say this?
Quote:
Originally Posted by cookpau01 View Post
Student which is a weak entity.
Reply With Quote
  #5 (permalink)  
Old 04-15-10, 06:41
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
Because I am sure that the notation in the diagram of a mix of solid and dashed line means that it is a weak entity. Meaning that the entities very existence depends on another entity.
Reply With Quote
  #6 (permalink)  
Old 04-15-10, 06:43
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
Well thats the convention that we have been using anyway
Reply With Quote
  #7 (permalink)  
Old 04-15-10, 06:51
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Ok - that is fine then. I would mention that is not the recognised definition of a weak entity.

I think your business rules are fine so far. I am no lecturer or student so again you will have to fit this in to your definitions however to my mind you have defined the "complex" business rules first. I think you can decompose them in to several simpler business rules which your more complex rules will build on. Whaddaya think?
Reply With Quote
  #8 (permalink)  
Old 04-15-10, 06:53
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
I agree, I think that is the bit that I am finding difficult to do.
Reply With Quote
  #9 (permalink)  
Old 04-15-10, 06:55
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Ignore the lines\ relationships. Whaddaya see?
Reply With Quote
  #10 (permalink)  
Old 04-15-10, 06:56
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
Student
Degree
Module
Reply With Quote
  #11 (permalink)  
Old 04-15-10, 06:59
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
So I suppose you could say:
There is a selection of module
There is a selection of degree programs
There are many students

???????
Reply With Quote
  #12 (permalink)  
Old 04-15-10, 07:01
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Quote:
Originally Posted by cookpau01 View Post
Student
Degree
Module
I think these are the fundamental business units of the organisation you are modelling. Would you agree?
Reply With Quote
  #13 (permalink)  
Old 04-15-10, 07:23
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
Yes they are
Reply With Quote
  #14 (permalink)  
Old 04-15-10, 07:33
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Ok - wanna restate your rules so far?
Reply With Quote
  #15 (permalink)  
Old 04-15-10, 07:35
cookpau01 cookpau01 is offline
Registered User
 
Join Date: Apr 2010
Posts: 15
A student does not have to have modules
Students can attend many modules
Modules are made up of many students
A student can only be on one degree program
There are a selection of modules
There are many students
There are many degree programs
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On