SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Entities design
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

deema
Starting Member

2 Posts

Posted - 01/31/2006 :  07:31:30  Show Profile  Reply with Quote
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

Edited by - deema on 01/31/2006 07:59:51

Frank Kalis
Constraint Violating Yak Guru

Switzerland
413 Posts

Posted - 01/31/2006 :  08:17:30  Show Profile  Visit Frank Kalis's Homepage  Reply with Quote
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

USA
12780 Posts

Posted - 01/31/2006 :  12:55:05  Show Profile  Visit X002548's Homepage  Reply with Quote
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 - 01/31/2006 :  13:47:35  Show Profile  Reply with Quote


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

USA
12780 Posts

Posted - 01/31/2006 :  14:37:51  Show Profile  Visit X002548's Homepage  Reply with Quote
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
Flowing Fount of Yak Knowledge

USA
2267 Posts

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

Arnold Fribble
Yak-finder General

United Kingdom
1957 Posts

Posted - 01/31/2006 :  18:01:30  Show Profile  Reply with Quote
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

Switzerland
413 Posts

Posted - 02/01/2006 :  03:01:41  Show Profile  Visit Frank Kalis's Homepage  Reply with Quote
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

Edited by - Frank Kalis on 02/01/2006 03:03:14
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.03