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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-12-11, 13:56
njad njad is offline
Registered User
 
Join Date: Dec 2011
Posts: 10
Solved ...

thanks all .....

Last edited by njad; 12-14-11 at 21:48.
Reply With Quote
  #2 (permalink)  
Old 12-12-11, 14:55
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
1 yes

2 weak entity has a relationship where the FK is ~not~ part of the PK, but 1:N or M:N is determined by the entities themselves

3 yes

4 no, data attribute

5 not 1:N, rather N:1

6 book to author is M:N, article is not involved
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 12-12-11, 15:32
njad njad is offline
Registered User
 
Join Date: Dec 2011
Posts: 10
thanks ...

Last edited by njad; 12-14-11 at 21:46.
Reply With Quote
  #4 (permalink)  
Old 12-12-11, 20:02
njad njad is offline
Registered User
 
Join Date: Dec 2011
Posts: 10
..........

Last edited by njad; 12-14-11 at 21:46.
Reply With Quote
  #5 (permalink)  
Old 12-12-11, 20:09
njad njad is offline
Registered User
 
Join Date: Dec 2011
Posts: 10
..........

Last edited by njad; 12-14-11 at 21:46.
Reply With Quote
  #6 (permalink)  
Old 12-13-11, 12:07
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
1) No. What?
4) Probably not.
5) No, see the r937's response
6) Correct.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #7 (permalink)  
Old 12-13-11, 16:42
njad njad is offline
Registered User
 
Join Date: Dec 2011
Posts: 10
thanks .......

Last edited by njad; 12-14-11 at 21:47.
Reply With Quote
  #8 (permalink)  
Old 12-13-11, 16:44
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Quote:
Originally Posted by njad View Post
Is that means make relationship between publishers and books name it for example "publise_book"and make other between publishers and journals called "publish_journal"?
that sounds right
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #9 (permalink)  
Old 12-13-11, 17:43
njad njad is offline
Registered User
 
Join Date: Dec 2011
Posts: 10
thanks all..

Last edited by njad; 12-14-11 at 21:44.
Reply With Quote
  #10 (permalink)  
Old 12-14-11, 21:52
njad njad is offline
Registered User
 
Join Date: Dec 2011
Posts: 10
thanks all ......
Reply With Quote
  #11 (permalink)  
Old 12-14-11, 23:29
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Quote:
Originally Posted by njad View Post
Hi ..
I want the ER diagram for these requirments:
"A bookstore database maintains information about books, professional journals, their authors and publishers. Books and journals are collectively referred to as publications that are published by publishers. All publications have a serial number (ISBN), a title and a year of publication. Books have an edition number whereas journals have a volume and number. No book or journal is published by more than one publisher. Journals contain articles. A book or an article can have one or more authors. Articles have a title and a subject category and no article can appear in more than one journal. Authors have a SSN, name and date of birth, whereas a publisher has a name and address." thanks ..
No problem, glad to have helped you!

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
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