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 designing.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-06, 07:05
bright_moon bright_moon is offline
Registered User
 
Join Date: Jan 2006
Posts: 2
Question ER designing.

Hi,
I’ve three questions, would someone answer them please,

I have 3 entities:
The book entity(BookNo,BookNmae,AuthorName,Price...etc), the MembershipCard entity(CardNo,MembershipNo,ClientNo,PublishDate,Em pNo..etc), and the Client entity(ClientNo,ClientName,ClientAddr,ClientPhoneB ookNo,RequiredBookNo,..etc)

1-What is the relationship degree between them, is it ternary or binary?and Why?I'm so confused ,my answer is ternary, I made a (1:m) relationship between the clients entity and the books entity (a client may buy more than one book), (1:m) relationship between the employee entity and the books entity (an employee may sell more than one book)and a (1:m) relationship between the employee and the Client(an employee may serve more than one client(is it right or it's (M:N)).
So is my answer is right or wrong, please help me to understand, I’m so confused.

2- Is the cardinality degree between the Client entity and the book entity , (0,N) for the client entity and (1:N) for the book entity??
3-What is the best model to use in designing data in general,Chen's model or Crow's Foot and why?I think it's Crow's one ,for it's more arranged and easy to read.

with thanks
deema(bright_moon)

Last edited by bright_moon; 01-31-06 at 08:00.
Reply With Quote
  #2 (permalink)  
Old 01-31-06, 10:00
MCrowley MCrowley is offline
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,899
Never went to school for this myself, so I have to ask a question or two. What is the definition of Ternary and Binary in this context? Do you have an example?
Reply With Quote
  #3 (permalink)  
Old 01-31-06, 22:08
Thrasymachus Thrasymachus is offline
SQL Server Street Fighter
 
Join Date: Nov 2004
Location: Down The Rabbit Hole
Posts: 7,979
No comp sci degree here either, but...

Can a client be served by more than one employee?

BTW, almost no one speaks of chen or crow or even cardinality in the commercial software world. How is school this semester? Any hot girls on the hall?

To do it all over again... I would have majored in business so I could go out and party every night and still be on the deans list.
__________________
software development is where smart people go to waste their lives
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