Entities and Attributes for Online Learning Platform
1. User: Stores information about registered users.
- UserID (Primary Key): Unique identifier for each user.
- Username: Name of the user.
- Email: Email of the user.
- Password: Password of the user.
- UserType: Type of the user like student, instructor.
2. Course: Contains the details about the course.
- CourseID (Primary Key): Unique identifier for each course.
- CourseName: Name of the course.
- Description: Description of the course.
Price: Price of the course.
3. CourseContent: Contains the details about course content.
- ContentID (Primary Key): Unique identifier for each content.
- CourseID (Foreign Key): Reference to the course.
- ContentType: Type of the content like video, document.
4. Enrollment: Details of the enrollment of courses.
- EnrollmentID (Primary Key): Unique identifier for each enrollment.
- UserID (Foreign Key): Reference to the user.
- CourseID (Foreign Key): Reference to the course.
- EnrollmentDate: Date of enrollment.
- CompletionStatus: Status of course completion.
5. Payment: Stores information about payments made by users.
- PaymentID (Primary Key): Unique identifier for each payment.
- UserID (Foreign Key): Reference to the user.
- PaymentDate: Date of the payment.
- Amount: Amount of the payment.
- PaymentMethod: Method of the payment like from UPI, credit card.
6. Result: Contains details of the results of quizzes.
- ResultID (Primary Key): Unique identifier for each result.
- UserID (Foreign Key): Reference to the user.
- CourseID (Foreign Key): Reference to the course.
- QuizID (Foreign Key): Reference to the quiz.
- Score: Score in the result.
7. Quiz: Stores the details about the quiz.
- QuizID (Primary Key): Unique identifier for each quiz.
- CourseID (Foreign Key): Reference to the course.
- QuizName: Name of the quiz.
- Description: Description of the quiz.
- TotalMarks: Total marks in the quiz.
How to Design a Database for Online Learning Platform
Today, in the age of digital technology, learning has taken another shape by presenting learning materials to students via online platforms for covering educational content among students. Correspondingly, a well-designed relational database that guarantees smooth compliance and consolidation of data management is significant. In this article, we will learn about how important the database structure and steps to build a database according to the requirements of an online learning platform with the help of entities, attributes, and relationships between them.
Contact Us