Solved

Advice with ERD & Tables - School System

Posted on 2006-07-12
2
3,320 Views
Last Modified: 2010-08-05
I am currently learning to take practical solutions and formulate an ERD Diagram, I have most of it done but a few concepts still elude me.

I have entities for: Student, Class, Department, Teacher, Grade, Room, Degree, and the ERD diagram made.
School, Person(Super Class), Department_Head are entities I deemed unneccesary unless someone can say why I might need them.
Eventually I'm going to have to make a mock database probably using Access to go from ERD to actual database, so I want the ERD as spot on as possible.

So I have the relationships between all of these fine what I am finding difficult is determining a way of tracking student progress.

Each student takes X classes, Y are required for the degree Z are not, so do I have an entity progress as well?

Department - Teacher (1:N)
Department - Module (1:N)
Teacher - Module (1:N)
Student - Class (N:M)
Student - Grade (1:N)
Degree - Student (1:N)
Grade - Class (1:N)
Class - Class (1:N)
Class - Degree (N:M)
Class - Room (1:N)




So this takes care of the relationships for everything except tracking a students progress. So would it be wise to add in a entity say "Transcript" and have the following relationships?
Transcript - Degree (1:1) the reverse of this makes no sense tho unless its optional
Transcript - Course (1:N)
Transcript - Grade (1:N)
Transcript - Student (1:1)

A lot of this seems implied, for example; A course has a grade as shown earlier so showing a transcript has both many courses and many grades seems sliightly silly... So if anyone has any advice here or to just stop.

Im not looking for a really complicated ERD or table structure when im ready to progress, this is just for self learning as I follow a book.
Im assuming once im ready to go to tables the following tables are what Ill need:
DegreeList (DegreeID)
DepartmentList(DeptID, Name)
ClassList(ClassID, Name)
Class(ID, Year, Period, Teacher, Time, Room)
Teacher (TID, Name, Contact_Info, DeptID)
Student (SID, Name, Contact_Info)

Only problems im having now is formulating ways to record grades, as I wouldnt want them to be in the Class table as if there are 100 students then thats a lot of repeated information etc

So I would appreciate any help if someone can help clear some of this up for me ;) Maybe I should have picked an easier subject to learn for my first time lol.

Thanks!
 
0
Comment
Question by:Afterlife
2 Comments
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 50 total points
ID: 17091854

Check these data-models, specially section #95: http://www.databaseanswers.org/data_models/index.htm
0
 

Author Comment

by:Afterlife
ID: 17094110
Thanks for the link, I think it helped.

If I posted the ERD I made think you could give me some critisism?
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question