Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Entities design

Author  Topic 

deema
Starting Member

2 Posts

Posted - 2006-01-31 : 07:31:30
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,EmpNo..etc), and the Client entity(ClientNo,ClientName,ClientAddr,ClientPhoneBookNo,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

Frank Kalis
Constraint Violating Yak Guru

413 Posts

Posted - 2006-01-31 : 08:17:30
Have you considered posting to the comp.databases.theory newsgroup?

--
Frank Kalis
Microsoft SQL Server MVP
http://www.insidesql.de
Heute schon gebloggt? http://www.insidesql.de/blogs
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2006-01-31 : 12:55:05
Wow, if this isn't homework, I don't know what is....



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam
Go to Top of Page

deema
Starting Member

2 Posts

Posted - 2006-01-31 : 13:47:35


quote]Originally posted by Frank KalisHave you considered



quote:
Originally posted by Frank Kalis
posting to the comp.databases.theory newsgroup?


sorry,I don't know where is this site.


quote:
Originally posted by X002548Wow, if this isn't homework, I don't know what is....

Brett




It's a part from a long H.w ,but we have to search the right answer from any where,I did part of it but I need to know if it,T or F.
Thanks for your help.




Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2006-01-31 : 14:37:51
what text book did they give you? I've never heard of a college course that asked you to find your answers on the the net...I mean for all purposes you could find your way to Mr. Pascal's rantings.

http://www.dbdebunk.com/index.html



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam
Go to Top of Page

blindman
Master Smack Fu Yak Hacker

2365 Posts

Posted - 2006-01-31 : 17:27:08
God forbid impressionable youngs minds should be prematurely exposed to THAT!
Go to Top of Page

Arnold Fribble
Yak-finder General

1961 Posts

Posted - 2006-01-31 : 18:01:30
I'm having real trouble working out what bits of the original posting were the question and what parts were the attempt to answer it.
I mean, what on earth is PublishDate doing in the middle of MembershipCard, or RequiredBookNo in Client? Why does a fourth entity (employee) suddenly appear halfway through (1)?
Go to Top of Page

Frank Kalis
Constraint Violating Yak Guru

413 Posts

Posted - 2006-02-01 : 03:01:41
quote:

sorry,I don't know where is this site.


Point your newsreader to dp-news.maxwell.syr.edu and then subscribe to comp.databases.theory. The regulars there should have enough time to help you out.
--
Frank Kalis
Microsoft SQL Server MVP
http://www.insidesql.de
Heute schon gebloggt? http://www.insidesql.de/blogs
Go to Top of Page
   

- Advertisement -