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 > ERD creation and then normalisation.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-10, 19:39
uzobizu uzobizu is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
Question ERD creation and then normalisation.

Hello all,

I'm new to database design & development. I have a project to develop an ERD for a Veterinary Hospital and then normalise the resulting tables. The question actually goes this way:

"Task 1: Draw an ERD that describes the content and structure of the data held by the Hospital.

Task 2: Produce the resulting normalised tables clearly indicating the primary and foreign keys."

My problem: After drawing up the ERD, each entity becomes a table. Right? For One to many relationships, the primary key is placed as a foreign key in the many side of the relationship...For one-to-one relationships, the tables from the two entities are combined. Right? Now how do i normalise the tables (i know the process) without a data set? When i try creating a data set using the tables, it all looks already normalised. I'm really confused!
Reply With Quote
  #2 (permalink)  
Old 11-10-10, 20:04
uzobizu uzobizu is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
Unhappy

any answers, please?
Reply With Quote
  #3 (permalink)  
Old 11-10-10, 21:45
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
dude, you waited twenty minutes and then bumped your thread?

very poor etiquette

at a minimum, wait 24 hours, and then don't bump

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #4 (permalink)  
Old 11-11-10, 04:33
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,246
Quote:
Originally Posted by uzobizu View Post
Hello all,
Now how do i normalise the tables (i know the process) without a data set? When i try creating a data set using the tables, it all looks already normalised. I'm really confused!
fake the process, after all this sort of assignment is more about the road to the final design not neccessarily the final design itself

ferisntance you could start with customers
and list what you know
eg their name, address, contact numbers, the type, name of pet, detailss of a treatement,, who treated them and so on and what with... y'get the picture
consider adding several rows for different treatments eg 01/jan exam, 02/jan op, 05/jan returned to owner
consider adding other names (eg childrens names)
then break down that (row / spreadsheet type) data into tables removing repeating groups into other entities till you have your requiste physical design
then load up your tables with the relevant bits of the original row / spreadsheet data so your assessor can see the progress
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #5 (permalink)  
Old 11-11-10, 05:01
uzobizu uzobizu is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
Thanks healdem.

Does that mean i should normalise before drawing the ERD? The question says draw the ERD and then normalise....Should i send the background information? Please pardon me, i'm sort of a slow learner.

Last edited by uzobizu; 11-11-10 at 05:09.
Reply With Quote
  #6 (permalink)  
Old 11-11-10, 05:25
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,246
no it means you should do your own coursework
basic questions such as this should be aimed at either your peers doing the same course or the academic staff teaching this course.
Quote:
Does that mean i should normalise before drawing the ERD? The question says draw the ERD and then normalise....
the clue is in the statement
Quote:
Should i send the background information?
no
you should at least make an effort to complete the assignment, and effort I don't means spend a few minutes sketching out an ERD. make an effort to do the work, by all means come back if you are truly stuck, but otherwise do the process. you will learn more form doing it (and going down a few blind allies) than getting others to push you in the right direction. a good source of basic help are you peers, those studying the same course as you, doing the same coursework as you.
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton

Last edited by healdem; 11-11-10 at 05:29.
Reply With Quote
  #7 (permalink)  
Old 11-11-10, 05:31
uzobizu uzobizu is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
Ok. Thanks.
Reply With Quote
Reply

Tags
erd, normalise, normalization, relationshi, tables

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