https://github.com/easonsyc/student-option
An application for student's GCSE choices.
https://github.com/easonsyc/student-option
c-sharp sql study
Last synced: about 1 year ago
JSON representation
An application for student's GCSE choices.
- Host: GitHub
- URL: https://github.com/easonsyc/student-option
- Owner: EasonSYC
- License: mit
- Created: 2024-05-08T12:15:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T14:13:43.000Z (almost 2 years ago)
- Last Synced: 2024-06-27T17:14:49.384Z (almost 2 years ago)
- Topics: c-sharp, sql, study
- Language: C#
- Homepage:
- Size: 242 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Student Option
## Database Design
### Categories
1. **CategoryID**: Primary Key, Unique, Not Null, Auto-Increment; Int.
2. **CategoryName**: Not Null, Unique; VarChar(30).
### ExamBoards
1. **ExamBoardID**: Primary Key, Unique, Not Null, Auto-Increment; Int.
2. **ExamBoardName**: Not Null, Unique; VarChar(20).
### Courses
1. **CourseID**: Primary Key, Unique, Not Null, Auto-Increment; Int.
2. **Title**: Unique, Not Null; VarChar(30).
3. **CategoryID**: Foreign Key (Categories.CategoryID), Not Null; Int.
4. **ExamBoardID**: Foreign Key (ExamBoards.ExamBoardID), Not Null; Int.
### Students
1. **StudentID**: Primary Key, Unique, Not Null, Auto-Increment; Int.
2. **FirstName**: Not Null; VarChar(20).
3. **LastName**: Not Null; VarChar(20).
4. **DateOfBirth**: Not Null; Date.
Unique Constraint: FirstName, LastName, DateOfBirth.
### Teachers
1. **TeacherID**: Primary Key, Unique, Not Null, Auto-Increment; Int.
2. **Title**: Not Null; VarChar(10).
3. **FirstName**: Not Null; VarChar(20).
4. **LastName**: Not Null; VarChar(20).
5. **Qualification**: Not Null, VarChar(50).
Unique Constraint: FirstName, LastName.
### Classes
1. **ClassID**: Primary Key, Unique, Not Null, Auto-Increment; Int.
2. **TeacherID**: Foreign Key (Teachers.TeacherID), Not Null; Int.
3. **CourseID**: Foreign Key (Courses.CourseID), Not Null; Int.
### ClassEnrollments
1. **ClassEnrollmentID**: Primary Key, Unique, Not Null, Auto-Increment; Int.
2. **StudentID**: Foreign Key (Students.StudentID), Not Null; Int.
3. **ClassID**: Foreign Key (Classes.ClassID), Not Null; Int.
Unique Constraint: StudentID, ClassID.