paperchazer
New member
- Local time
- Today, 12:57
- Joined
- Jul 14, 2013
- Messages
- 4
Hi mates, i will appreciate your help on this work...i am learning php and mysql and i want to apply them in real life problem.
I am doing a school database management system, which keeps data of students: students.parents details, students.subjects offered, student.attendance per day, students.class and student.grade they belong to, subject: subjects.name, subjects.for different grades and specifi subjects.for each classes, teachers: teachers details, teachers.subjects they teach, teachers.classes they teach, exam records: exam.types, exam.type.score. wow and lots more if possible. really a complex database for me as a noob in database design.
I have been able to come up with a diagram of the database schema (not complete though) but i am still have some little problems linking the table with normalization in mind.
this is how far i have gone::banghead:
students{(id), (details),(parent_id)} parent_id as FK from parent
attendance {(student_id), (date),(status)}
parents {(id),(details)}
teachers {(id), (details),(class_id)} class_is as FK from class
subject {(id),(name)}
class {(id), (subject_id), (teacher_id)}
exam_types{(id), (name), (description)}
exam_record {(id), (student_id), (exam_type_id),(subject_id), (mark)}
How schooling system are in my country :
1. we have 6 years grading system...grade 1 to 6 but each grades have different classes (classroom)
e.g we can have Grade1 A, Grade1 B, Grade1 C and also for other grades.
i am not sure if i am right but i represented them on same table (class) so class::name can have Grade 1 A, Grade1 B, Grade1 C, Grade2 A.....Grade6 C.
2. teachers can teaches ONLY one subject but can teach as many grades as possible (note: not class but a whole grade, lets say a teacher of biology taking grade 3 and grade 6...he will take grade3 a, grade3 b, grade3 c and grade6 a, grade6 b, grade6 c)
3. subjects should represent the students and the subjects they choose to offer.
I think that is pretty much everything i am thinking of implementing for now.
any suggestion will be extremely appreciated, i realy want o get this project done so i can be presenting it as my project when invited for job interviews as i am currently not employed
. thanks
I am doing a school database management system, which keeps data of students: students.parents details, students.subjects offered, student.attendance per day, students.class and student.grade they belong to, subject: subjects.name, subjects.for different grades and specifi subjects.for each classes, teachers: teachers details, teachers.subjects they teach, teachers.classes they teach, exam records: exam.types, exam.type.score. wow and lots more if possible. really a complex database for me as a noob in database design.
I have been able to come up with a diagram of the database schema (not complete though) but i am still have some little problems linking the table with normalization in mind.
this is how far i have gone::banghead:
students{(id), (details),(parent_id)} parent_id as FK from parent
attendance {(student_id), (date),(status)}
parents {(id),(details)}
teachers {(id), (details),(class_id)} class_is as FK from class
subject {(id),(name)}
class {(id), (subject_id), (teacher_id)}
exam_types{(id), (name), (description)}
exam_record {(id), (student_id), (exam_type_id),(subject_id), (mark)}
How schooling system are in my country :
1. we have 6 years grading system...grade 1 to 6 but each grades have different classes (classroom)
e.g we can have Grade1 A, Grade1 B, Grade1 C and also for other grades.
i am not sure if i am right but i represented them on same table (class) so class::name can have Grade 1 A, Grade1 B, Grade1 C, Grade2 A.....Grade6 C.
2. teachers can teaches ONLY one subject but can teach as many grades as possible (note: not class but a whole grade, lets say a teacher of biology taking grade 3 and grade 6...he will take grade3 a, grade3 b, grade3 c and grade6 a, grade6 b, grade6 c)
3. subjects should represent the students and the subjects they choose to offer.
I think that is pretty much everything i am thinking of implementing for now.
any suggestion will be extremely appreciated, i realy want o get this project done so i can be presenting it as my project when invited for job interviews as i am currently not employed
