943,626 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Oct 28th, 2008
0

DataBase Design Help

Expand Post »
Hi Everyone

I have been given the task of designing a database for a volutery organsiation and i have been give the following information as basis to design the database.The following information below is example of a paper record


•Volunteer details
Volunteer ID
Name
Telephone
Address

Services provided by volunteer
Code Service
01 Translation
05 Wheel Chair pushing
09 Baby sitting


Booking records
client no client name date required hours required service code
004 Lee Wong 19/01/08 2 01
004 Lee Wong 02/02/08 1 05
006 Sara Plat 04/02/08 3 09
007 Jay Palin 04/02/08 05


Assume also that additional details are kept for clients, including address, telephone numbers and next of kin. Clients who have pets have information stored on these as well (pet number, pet name, and description). Clients who have children and require baby sitting have the following information: child number, name, date of birth, sex.

Can anyone help me produce an Entity-Relationship diagram for this organsiation
secondly convert that ER daigram into relational model by specifying the primary and foreign keys, mapping any one-to-one relationships into relations, and decomposing any many-to-many relationships

A relation diagram and ERD diagram for the above organization

To be honest with ya'all i dont know where to start can someone guide me to enlightment by making a relation diagram and ERD diagram for the above organisation



I really appreciate you help and will be grateful for any help.

Thanx,

Lee
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xman12 is offline Offline
15 posts
since Oct 2008
Oct 28th, 2008
0

Re: DataBase Design Help

very clear question and thanks for showing your effort and what you are having trouble with

i'm not too big on vocabulary, but you want to try to get the database to use third normal form

something like this for your bookingrecords table

bookingrecords
CLIENT_ID
DATE
REQUIRED_HOURS
REQUIRED_SERVICE_CODE

clients
CLIENT_ID
CLIENT_NAME
ADDRESS
CITY
STATE
ZIP (sometimes demographics are in a separate table but we'll keep it simple)
PHONE

clientfamily
CLIENT_FAMILY_ID
CLIENT_ID
CONTACT_NAME
DATE_OF_BIRTH
SEX
RELATIONSHIP_ID

relationship
RELATIONSHIP_ID
RELATIONSHIP_NAME

clientpets
CLIENT_PET_ID
PET_NAME
PET_DESCRIPTION

some of the requirements are a little fuzzy, like who owns the pets, client or a family member

that should be enough to get you started, let me know if you need any clarification
Reputation Points: 133
Solved Threads: 141
Veteran Poster
dickersonka is offline Offline
1,162 posts
since Aug 2008
Oct 29th, 2008
0

Re: DataBase Design Help

Clients who have pets have information stored on these as well (pet number, pet name, and description). Clients who have children and require baby sitting have the following information: child number, name, date of birth, sex.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xman12 is offline Offline
15 posts
since Oct 2008
Oct 29th, 2008
0

Re: DataBase Design Help

then this table structure should work for you
Reputation Points: 133
Solved Threads: 141
Veteran Poster
dickersonka is offline Offline
1,162 posts
since Aug 2008
Oct 29th, 2008
0

Re: DataBase Design Help

Here is the requirments matrix see what you can do with it
Attached Files
File Type: doc Help At Home.doc (40.0 KB, 31 views)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xman12 is offline Offline
15 posts
since Oct 2008
Oct 29th, 2008
0

Re: DataBase Design Help

The poster you forgot the Voluteer Entity which is vital in this case
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xman12 is offline Offline
15 posts
since Oct 2008
Oct 29th, 2008
0

Re: DataBase Design Help

ahhh, now with the document i see how volunteers are related


volunteers
VOLUNTEER_ID
NAME
TELEPHONE
ADDRESS

volunteerservicesprovided
VOLUNTEER_SERVICE_ID (optional)
VOLUNTEER_ID
SERVICE_CODE

change booking records to this

bookingrecords
CLIENT_ID
DATE
REQUIRED_HOURS
REQUIRED_SERVICE_CODE
VOLUNTEER_ID

this way, if a volunteer ever changes his service offered, you still have record of which volunteer did the service
Reputation Points: 133
Solved Threads: 141
Veteran Poster
dickersonka is offline Offline
1,162 posts
since Aug 2008
Oct 30th, 2008
0

Re: DataBase Design Help

Hi thank your for expert insight it is so much appreciated. Since we on the last leg of the project can you please give me your email so i can send you what i have done so far so that you can review it and maybe mistakes if you will



Thank you again
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xman12 is offline Offline
15 posts
since Oct 2008
Oct 30th, 2008
0

Re: DataBase Design Help

you can just use this post here, so everyone can benefit from it and be able to offer you advice
Reputation Points: 133
Solved Threads: 141
Veteran Poster
dickersonka is offline Offline
1,162 posts
since Aug 2008
Oct 30th, 2008
0

Re: DataBase Design Help

Here is the case study and my workings please added whatever you think will help
All your help will be much appreciated once you finish with the corrections please reattach


Thanks

Lee
Attached Files
File Type: doc Entity_Relationship_Diagram.doc (121.5 KB, 30 views)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xman12 is offline Offline
15 posts
since Oct 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Database Design Forum Timeline: Object-oriented database design
Next Thread in Database Design Forum Timeline: Help defining relationship





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC