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 > Correct ER Notation - "is a type of which appears in another entity"

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-08, 08:49
ajr87 ajr87 is offline
Registered User
 
Join Date: Nov 2006
Posts: 8
Question Correct ER Notation - "is a type of which appears in another entity"

Right, I have this structure (example only).

UserType2 (uID, areaID, lname, fname)
CompletedReport (completedID, uID, reportID, dateDone)
ReportCheck (completedID, reportChecker)

Where uID's are related and the reportChecker:
  • is a TYPE of User.
  • MUST appear in the CompletedReport table.
  • is such that a reportChecker must have completed a report with the same reportID.

For example, Bob and Joe completed report R1 with Sam doing R2 (so they are in the Completed Report Table).

Bob can then check (be the reportChecker) of Joe's report but not Sam's as Sam's is a different reportID.

If you have understood that so far - how do you illustrate this in an entity relationship diagram? Is this normalised enough?

Hopefully someone can help.
Reply With Quote
  #2 (permalink)  
Old 03-06-08, 15:58
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
REAL world examples are far easier to understand, plus you can bet some of your detail is lost in traslation
__________________
George
Twitter | Blog
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