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 > ER Diagram

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-16-10, 11:22
cshib cshib is offline
Registered User
 
Join Date: Feb 2010
Posts: 2
ER Diagram

I need to understand how to represent the following in an ER diagram
If the relational schema is as follows:
B(X,W,P),where P is defined as NOT NULL,
C(P,Q)
D(P,X,R)
Give an ER diagram for the relational schema. Identify primary keys and constraints.
Which relation represents an entity, and which relation represents a relationship
Reply With Quote
  #2 (permalink)  
Old 02-16-10, 14:52
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,517
I think the general idea of coursework is for the student to actually do it rather than just post it on internet forums for others to do.
Reply With Quote
  #3 (permalink)  
Old 02-16-10, 23:46
cshib cshib is offline
Registered User
 
Join Date: Feb 2010
Posts: 2
thanks for your invaluable advice, I do have the solution to the problem, however not in complete agreement to it, therefore was looking to see if someone out there had a better way of representing it, didn't want to create a bias by providing the solution, cause given a solution you can justify anything, anyways the whole idea was to understand that if B is an entity and also a relation?
Reply With Quote
  #4 (permalink)  
Old 02-17-10, 00:16
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,084
Quote:
Originally Posted by cshib View Post
I do have the solution to the problem...
didn't want to create a bias by providing the solution
okay, we promise to be unbiased

please post your solution
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #5 (permalink)  
Old 02-17-10, 06:13
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,517
Quote:
Originally Posted by cshib View Post
thanks for your invaluable advice, I do have the solution to the problem
My pleasure. I guess we're all waiting to see your solution with baited breath.
Reply With Quote
  #6 (permalink)  
Old 02-17-10, 06:22
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
I have a little sympathy with you cshib - that question does not look properly formulated to me.
However, I agree with the other two - please show us what you have so far and we will comment.
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
Reply With Quote
Reply

Thread Tools
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