0% found this document useful (0 votes)
2 views3 pages

It Project

The document outlines the structure of a School Management System Database, detailing tables for Students, Teachers, Classes, Subjects, and Enrollments, along with their attributes. It includes SQL queries for listing students by class, calculating average grades, and identifying teachers with multiple subjects. Additionally, it describes forms for student registration, teacher entry, and class assignments, as well as reports for student report cards, teacher assignments, and class rosters.

Uploaded by

praveen270679
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

It Project

The document outlines the structure of a School Management System Database, detailing tables for Students, Teachers, Classes, Subjects, and Enrollments, along with their attributes. It includes SQL queries for listing students by class, calculating average grades, and identifying teachers with multiple subjects. Additionally, it describes forms for student registration, teacher entry, and class assignments, as well as reports for student report cards, teacher assignments, and class rosters.

Uploaded by

praveen270679
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

School Management System Database

1. Tables

a. Students

- StudentID (Primary Key)

- FirstName

- LastName

- DateOfBirth

- Gender

- ClassID (Foreign Key)

- ContactNumber

- Address

b. Teachers

- TeacherID (Primary Key)

- FirstName

- LastName

- Subject

- ContactNumber

- Email

c. Classes

- ClassID (Primary Key)

- ClassName

- TeacherID (Foreign Key)

d. Subjects

- SubjectID (Primary Key)

- SubjectName

- TeacherID (Foreign Key)


School Management System Database

e. Enrollments

- EnrollmentID (Primary Key)

- StudentID (Foreign Key)

- SubjectID (Foreign Key)

- Grade

2. Queries

a. List all students in a specific class

SQL: SELECT * FROM Students WHERE ClassID = 1;

b. Get average grade per subject

SQL: SELECT SubjectID, AVG(Grade) FROM Enrollments GROUP BY SubjectID;

c. Find all teachers who teach more than one subject

SQL: SELECT TeacherID FROM Subjects GROUP BY TeacherID HAVING COUNT(*) > 1;

3. Forms

a. Student Registration Form

Fields: FirstName, LastName, DateOfBirth, Gender, ClassID, ContactNumber, Address

b. Teacher Entry Form

Fields: FirstName, LastName, Subject, ContactNumber, Email

c. Class Assignment Form

Fields: ClassName, TeacherID

4. Reports
School Management System Database

a. Student Report Card

- Displays student details with grades in each subject

b. Teacher Assignment Report

- Lists all teachers and their assigned subjects and classes

c. Class Roster Report

- Displays list of students in each class

You might also like