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 > Academics Database design concept

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-03-10, 16:41
kpeeroo kpeeroo is offline
Registered User
 
Join Date: Jul 2009
Posts: 143
Academics Database design concept

Dear all,

I have a concern about a design concept for a database of students and their courses that they register for. My tables are like this:

Courses
--------
- courseID (PK)
- name
- parentID
- courseCodeID (FK)

AcademicTokens
----------------
- tokenID (PK)
- name

TokenDetails
------------
- detailID (PK)
- courseID (FK)
- tokenID (FK)
- fees
- academicYear
- date
- semester

Examples are for AcademicTokens:
exams, projects, courses

I am grouping all possible academic tokens in one table so that if in the future anything new needs to be added, I can add it to this table. I want to know if this design is correct or should I just create tables for exams, projects and courses or any future tokens? Thanks
Reply With Quote
  #2 (permalink)  
Old 06-03-10, 17:10
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
I would think that exams and projects would be dependent upon courses.

My inclination would be to split these into separate tables. They don't appear to have much in common beyond a relationship to courses.

And how can "courses" be both its own entity and also a token?
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
Reply With Quote
  #3 (permalink)  
Old 06-03-10, 17:44
kpeeroo kpeeroo is offline
Registered User
 
Join Date: Jul 2009
Posts: 143
Thanks for the reply. I think like you pointed out that it is best separated into 2 tables. Yes, courses cannot be a token there, I just jotted some names in that table. Thanks for your suggestion and advice.
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