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 > Database Design feedback (absolute beginner here :)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-19-07, 14:20
shaytac shaytac is offline
Registered User
 
Join Date: Feb 2007
Posts: 3
Database Design feedback (absolute beginner here :)

Hi everyone!!!

I am absolutely a newbie on database design so please help me out even though questions might seem little stupid

I m trying to build a database design for an e-learning project; below is the database schema i ve got so far. In the current setup there are lessons which can be taken and information that has to be recorded for the lessons is that whether they are completed or not (i guess what i mean here is how can i represent the yes/no type of data entries)

Also if there will be practices (quizzes) to be completed. The completetion and the grades for the quizzes has to be also stored in the database. i have attached the diagram as gif and also in visio format.

Thank you and waiting for your responses

cheers!!!!
Reply With Quote
  #2 (permalink)  
Old 02-19-07, 14:21
shaytac shaytac is offline
Registered User
 
Join Date: Feb 2007
Posts: 3
diagram in gif format

diagram in gif format....
Attached Thumbnails
Database Design feedback (absolute beginner here :)-db_elearning_diagram.gif  
Reply With Quote
  #3 (permalink)  
Old 02-19-07, 14:43
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
You can start by dropping the 'tbl_' prefix from your object names, which serves no purpose other than to annoy.
What kind of data are you storing in the package_courses column? I suspect that should be spun off as a subtable.
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
Reply With Quote
  #4 (permalink)  
Old 02-19-07, 14:51
shaytac shaytac is offline
Registered User
 
Join Date: Feb 2007
Posts: 3
hey thanks alot

Actually there two types of courses one interactive courses (with live tutor) and the other one is the self paced one which consists of lessons and quizzes(practices). The reason i put the package is for the users who might sign up for both interactive and self paced courses (you can choose either one or both of them). Hope it is clear enough. i m open to any suggestions
Reply With Quote
  #5 (permalink)  
Old 02-19-07, 15:50
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Quote:
Originally Posted by blindman
... which serves no purpose other than to annoy.
quote of the week

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #6 (permalink)  
Old 02-21-07, 00:55
gillbates gillbates is offline
Registered User
 
Join Date: Feb 2007
Posts: 1
You might want to reconsider using the user email address as the primary key. If the user changes his email address, you will need to cascade the changes to other tables that refer to it.
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