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 > Please Advise

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-04, 14:51
profetas profetas is offline
Registered User
 
Join Date: Jan 2004
Location: UK
Posts: 21
Please Advise

Hi I have done a ER but when I started to decompose the relationship I got so many table that now I am not sure whether it is correcr.

Please could you have a look ar it and say what you think?

Some backgound
(coursework) The database is for a Driving Licence Examination Organisation , this company will take candidates from an organisation an examine them for a specified type of Licence.



Can_Add = Candidate Address same for Ex_Add = examiner Address.

thanks for your time.
The Prophet

here is the picture http://www.profetas.greatnow.com/
Reply With Quote
  #2 (permalink)  
Old 01-31-04, 22:38
certus certus is offline
Registered User
 
Join Date: Dec 2003
Location: Canada
Posts: 710
The number of tables is not your problem.

There appear to be some conceptual flaws in your model.
__________________
visit: relationary

Last edited by certus; 01-31-04 at 22:41.
Reply With Quote
  #3 (permalink)  
Old 02-01-04, 05:55
profetas profetas is offline
Registered User
 
Join Date: Jan 2004
Location: UK
Posts: 21
Please tell me what
Reply With Quote
  #4 (permalink)  
Old 02-01-04, 22:32
certus certus is offline
Registered User
 
Join Date: Dec 2003
Location: Canada
Posts: 710
Your course assignment structure doesn't appear to work.

Your examiner structure doesn't seem to work.

Explain the relationships connected to Course.

ie. One Course has One Examiner, One Examiner has Many Courses.
__________________
visit: relationary
Reply With Quote
  #5 (permalink)  
Old 02-02-04, 07:45
profetas profetas is offline
Registered User
 
Join Date: Jan 2004
Location: UK
Posts: 21
ho yes, because I thought that one course may be examined by many examiners, So I had many to many relationship.

to decompose it (the table name may not be right) I created Examining.
a group of examiner assigned to a examining team. the same for candidates. a course could have many candidates , a a candidate many course so, I created a intermidiate table, assigned candidates. is that right?
Reply With Quote
  #6 (permalink)  
Old 02-03-04, 21:18
certus certus is offline
Registered User
 
Join Date: Dec 2003
Location: Canada
Posts: 710
You've got your many to many relationships backwards.

Course(CourseID, attributes)

Examiner(ExaminerID,Attributes)

CourseExaminer(CourseID,ExaminerID)

1 Course has Many Course Examiners
1 Examiner has Many Course Examiners.

This is probably the same problem with Assign.
__________________
visit: relationary
Reply With Quote
  #7 (permalink)  
Old 02-04-04, 04:28
profetas profetas is offline
Registered User
 
Join Date: Jan 2004
Location: UK
Posts: 21
Yes but it is no longer many to many. now it is , many to one. I don't know.
What would you do?
Reply With Quote
  #8 (permalink)  
Old 02-04-04, 22:52
certus certus is offline
Registered User
 
Join Date: Dec 2003
Location: Canada
Posts: 710
It is still many to many resolved with an associative entity.

http://www.utexas.edu/its/windows/da.../refining.html
__________________
visit: relationary

Last edited by certus; 02-05-04 at 05:18.
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