If u want 25 dukes enter here, & if u know normalisation!!!

Hello all u programming gurus. I have a problem but unfortunately it is not directly involved with java. I have a short scenario and a relation in 0NF and need it normalised into 1st, then 2nd, then 3rd and finally Boyce Codd Normal Form(see below). If u can do this for me (as u gurus could probably do it in 30 mins) i will award u all of my hard earned duke dollars.
0NF(CourseCode,Startdate,Activity,GroupSize,Duration,Price(StudentId,StudentName,StudentAddr,DayofWeek,Time,InstructorId,InstructorName,Room(ChargeCode,ChargeDescription,Amount)))
Scenario
CourseCode uniquely identifies a course run by the college, though there may be many courses for the same activity. The cost of the course(Price) depends on the activity, the course duration and the group size. A course may have one or more sessions during the week. A student (identified by StudentId) will attend just one session / week for a course given by DayofWeek and Time. Students may enrol on more than one course. Every session has an instructor(identified by InstructorId) and there may be more than one instructor for a course. every instructor is allocated a room for a course, so that all sessions that an instructor gives for the course are held in the same room. there are a variety of 'extra ' charges associated with a student taking a course. These will vary by individual student but include such items as materials, resources, hiring instruments and extra tuition.
So if u think u can do it reply and u will have 25 dukes awarded to.
p.s I can only award 10 at a time but i will send a message specifically aimed at u and give u the rest - i promise.Thanks a lot for your time Jimmy

This sure is someones homework... i've done similars myself...
I can give you some pointers...
To normalise, you have to "edit" your tables...
Break fields like studentName into more normal cells: studentFirstName and studentLastName... like this simplify the cells.
Then group data that could logically be grouped into sama table... i.e. all info on students should be on one table and so on...
example:
studentId, studentFirstName, studentLastName.... the address propably should be breaked into such cells like streetaddress, zip code, city... etc... you get the point right....
Then with courseinfo do similar things and instructor as well... repeat this until you got all data on cells...
Then you should consider that some element in every table should be the primary key, that links all these tables together... the primary key is not supposed to be same in all tables, but with these keys you can chain these table...
Hope this short thing with too many words helped you..
P-Trig

Similar Messages

Maybe you are looking for

  • Quicktime Only Works with Direct3d Disabled

    I mentioned this on the end of another post but I thought I'd give it its own topic in hopes that someone would have a solution for me. Quicktime will play files in the standalone player but when I try to play a mov in a browser (either Firefox or IE

  • Delete Layers in Adobe Acrobat

    Hi! I'm creating a PDF Template using Adobe Acrobat 9 It seems not possible to delete or move a layer once created. How can I? On the documentation I can read that I've to press ALT and move the layer but it doesn't work. What's wrong? Thank you very

  • Preview.app Full screen annoyance

    I really like the full screen mode to read documents. There's one problem which I found really irritating. Here it is: 1. On page 1 of a pdf file, I move to fullscreen 2. I read on to page 50 say in full screen 3. Now I want to mark up something, so

  • Dataguard logical standby issue on lacking

    we have logical standby database and its has been lacking sql apply from 14 hrs from primary database. Is there anyway i can stop sql apply and recover the database through archive files and make sync with primary and then again start the sql apply o

  • Error: Unable to resolve resource bundle "fiber" for locale "en_US".

    Hi all, Im trying to create a resources.swf file for the purpose of dynamic localization of our application. However, I keep getting this error thrown when I try to run the ant script. Im running Flash Builder 4, the sdk is Flex 4.5.1 with AIR 3.0 an