A student is linked to single program. I have the unique constraint checking single student single program and single semester. but Eventually the student's semester will go up.
Column names are student_id, program_id and semester.
How can i insert data when student goes to higher semester. Do i add semester start and end date then check that all 5 columns have unique constraint.
Any suggestions is appreciated.