F
F
import sqlite3
The relationship between the tables StudentInfo, Registration, and CourseRegistration can be
described as follows:StudentInfo Table: This table contains basic information about students,
including their first name, last name, date of birth, and gender. Each student is uniquely identified
by the StudentID.Registration Table: This table tracks the registration status of students. It
includes a unique RegistrationID, the StudentID (which is a foreign key referencing the StudentInfo
table), the registration date, and the status (e.g., 'Active').CourseRegistration Table: This table
records the courses each student is registered for. It includes a unique CourseRegistrationID, the
StudentID (which is a foreign key referencing the StudentInfo table), the course code, the
semester, and the year.Relationships:One-to-Many Relationship between StudentInfo and
Registration: Each student can have multiple registration records over time, but each registration
record belongs to only one student.One-to-Many Relationship between StudentInfo and
CourseRegistration: Each student can register for multiple courses, but each course registration
record belongs to only one student.