Database Relationship Design

agnelodsouza

New member
Local time
Today, 23:24
Joined
Nov 6, 2011
Messages
3
Hi All,

I'm in need of some assistance: I'm designing a database which consists of 3 tables: Faculty, Courses and then a table which captures data for each module within the relevant faculty and course. I've attached a screenshot of the relationship I have set up at the moment and I have a persistent nag that something is wrong! I would appreciate any comments on improvements to any aspects of the current design.

Thanks !

Agnelo
 

Attachments

  • Relationship.jpg
    Relationship.jpg
    79.5 KB · Views: 163
hey there and welcome

What are you trying to achieve? This looks sort of like a course catalog and if that is your purpose, then the FacultyID should probably not be in the course table. The course needs to be able to exist independent of any person.

And I would not link to the course from the data. The data describing the course IS the course in respect to your system, so the table describing the details of the course should be called tblCourse.

And that's probably enough for starters.
 
Hey thanks for the reply.

Clarification : Faculty represents a "school" of a particular subject. For example, Faculty of Law , with multiple courses under the law faculty and then a table for the data of the different modules within a particular Law course.
 
Here's a copy of the new relationship design that I'm using.
 

Attachments

  • Relationship 2.jpg
    Relationship 2.jpg
    81 KB · Views: 179
To me CourseName and CourseSynopsis should be in the same table. They are dimensions of the same thing. A row in a table describes a discrete instance of a thing, and each field is a dimension of that instance.
 
My advices:
1. Faculty and Courses should have a "many to many" relationship. That means that you will need a junction table. Why? Becouse a course can be teached on more then one faculty and one faculty can have multiple courses.
2. On the vertical table you have to erase the facultyID field. The relationship betwen Vertical and Courses tables will be made using courseID field.
3. Your db has more tables right? This is presented only for the porpuse of your problem, right?
 

Users who are viewing this thread

Back
Top Bottom