[mso] Re: Creating/fixing High school DB in Access

  • From: "Colli, Anthony G" <Anthony.Colli@xxxxxxx>
  • To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
  • Date: Thu, 31 Oct 2002 10:03:26 -0500

To properly normalize your database, you need to define your business rules.
From what I have read these are some of your rules.

A single class can have one instructor
A single class can have many students
A single class can have one or more locations
A single class can have one or more periods
A single student can have many classes
A single instructor can teach many classes


This diagram will support the above rules, PK = Primary Key, FK = Foreign
Key. 

tblClasses
----------
ClassID -> PK
InstructorID -> FK
LocationID -> FK
PeriodID -> FK
Description

tblLocations
------------
LocationID -> PK
Location

tblPeriods
----------
PeriodID -> PK
Period


tblInstructors
-----------
InstructorID -> PK
Fname
Lname


tblStudents
------------
StudentID -> PK
Fname
Lname


tblClassStudents
---------------
ClassStudentID -> PK
ClassID -> FK
StudentID -> FK


You can determine the students or teachers schedule by querying
tblClassStudents. You could even change the name to Schedules if you wanted.


How do you intend on keeping track of attendance? daily? by days attended?
by all possible days attended or not attended? The same goes for grades, how
do you intend to track grades?


-----Original Message-----
From: 4office [mailto:4office@xxxxxxxxxxxxx]
Sent: Wednesday, October 30, 2002 6:38 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Creating/fixing High school DB in Access



Ok I think I got it... (at least the class schedule part)...

Table 1:

ClassId/ClassDescript
C-1/English9
C-2/English9 Adv
C-3/English10
C-4/English10 Adv

Table 2:
StudentID/Lname/Fname/...
9999/smith/john/....
9998/perez/vicky
9997/Shue/Ken

Table 3:
TeacherId/Lname/Fname/....
2222/Jones/Mary
2223/Johnson/Joe

Table 4:
ScheduleID/Period/RoomNumber/Classid
S-1/1/345/c-1
S-2/1/345/c-2
S-3/2/346/c-3
S-4/1/123/c-1

I think I am missing a field between table 4 & 5 that I would need to link
Attendance and Grades.

Table 5:
ScheduleID/TeacherId/StudentId
s-1/2222/9999
s-2/2222/9998
s-3/2223/9997


(Notice that one teach can teach 2 different classes at the same time!)

Is this right??

Teacher Attendance would be what?
Student Attendance would be what?
Student Grades would be what?

----------------------------------------------------------------------------
---
Orginal


I am trying to figure out what would be the best way to create (high school)
class schedules to A) know who is where and B) potentially be able to track
attendance for both Teachers and Students and grades.

Ok, I have a master list  (table) of:
  1.. all classes (not by period, just available)
  2.. Teachers
  3.. Students
Should I create first a table for each teacher with every class/room/period
or One table for each period with teacher name and room then do the same for
students? (One table for each period with student/class)?  What about the
difference with classes that are 2 semesters long (the entire school year)
and the ones that are only 1 semester long.

From there, thinking a head, (I don't know if this would be a table or
form-subform working on the tables above) how would I do attendance
(absent - excused, absent - unexcused, tardy - excused, tardy - unexcused,
in-school-suspended,off-campus-suspended, etc) say for students in Ms.
Smith's 2nd period class, how would I do grades??  How would I do
attendance/per period for teachers?


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx?Subject=unsubscribe

Or, visit the group's homepage and use the dropdown menu.  This will also
allow you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
with instructions.  Once you are a member of the files group, you can go
here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx?Subject=unsubscribe

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: