Solved

ER diagram and Relational modeling (databases)

Posted on 2001-07-27
3
573 Views
Last Modified: 2008-02-01
I have designed a ER-diagram/normalisation.
However I am not very Confident, that I have got all the entities and attributes.
Could you please suggest the entites and attributes needed for me to design the ER-diagram correctly
please.
Once I have the correct diagrams I will implement the database on oracle.
#################################################
The domain is the following:
I am to design a MUSIC database which is a database about bands and musicians. A musician can belong
to several bands. Information is maintained on each musician, such as name, address, phone number and
instruments played (information kept for instruments themselves includes name and type). For each band,
there is exactly one "contact person", who need not be a member of the band. The same information that
is kept for musicians is maintained for contact persons. Assume that the name of any musician or contact
person is unique in the database. Each band has a name (which need not be unique and can change over
time). In addition, each musician plays one or more instruments at a proficiency level which can be
novice, intermediate, expert or professional.

Feel free to make additional assumptions about the real world in the design.
#################################################

could you Please Please confirm the following:

Q1) Are these the correct relationships between the entites please;
PROFICIENCY - 1:1 - PERSON
BAND - M:N - PERSON
PERSON - M:N - INSTRUMENT
INSTRUMENT - M:N - BAND_MEMBER
BAND_MEMBER - 1:N - BAND


Also are the attributes that I have put 'stars' around correct primary keys please, however I could
not establish which attributes was the primary key for
Band_Memebr;
#######################################################################
Instrument
**instrument_id**
instrument_name
instrument_type

Proficiency
person_id
instrument_id
**persons_proficiency**

Person
**person_id**
person_name
person_address
person_phone

Band_Member
band_id
person_id

Band
**band_id**
band_name
band_contact_person_id

##########################################################

PS. I tried to insert a diagram of the ER that I produced but had no luck, sorry.Any advice would be
very much Appreciated.

Thanks.

Kind regards,
GD
0
Comment
Question by:dhinsag
3 Comments
 
LVL 22

Expert Comment

by:Helena Marková
ID: 6333048
I think that your design is good. There is no need of primary key for Band_Member table.
0
 
LVL 3

Expert Comment

by:ibro
ID: 6335793
I will suggest you to MotherBankKey in the Band table. It will contain an optional "mother" band id. This will be in case that band splits or changes it names. Also put a status flag in Band: say "1" is active, "0" former, "2" retired, etc.
 hope this helps
0
 
LVL 3

Accepted Solution

by:
modder earned 25 total points
ID: 6392515
Everybody, this is a homework question, and in case you are in doubt, asker has confirmed this in e-mail conversation.

Experts-Exchange is *not* a homework service. In actual fact, our member agreement specifically states that doing someone else's homework for them is not allowed.

Member agreement:
http://www.experts-exchange.com/jsp/infoMemberAgreement.jsp

Section 3, in which it states that EE is not to be used for:
* violating the guidelines for academic honesty or other unethical behavior.

It is OK to help people when they run into specific problems when they're doing their homework. But in this case asker simply gives you the problem they've been given to solve. That will not be accepted.

The question has been force-accepted to moderator account so that nobody can benefit from answering this question. You will *not* benefit from doing someone's homework for them.

And dhinsag, do not let me see you post another homework question. Doing so will result in termination of your account.

Regards
modder@experts-exchange.com
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now