Tambahkan batasan unik ke tabel Anda:
ALTER TABLE yourtable ADD CONSTRAINT constraintname UNIQUE (student_id, subject, academic_period)
Tambahkan batasan unik ke tabel Anda:
ALTER TABLE yourtable ADD CONSTRAINT constraintname UNIQUE (student_id, subject, academic_period)