I have, lets say two tables, one Course, and the other Student.
Table: Course
Attributes: CourseID
StudentID
Table: Student
Attributes: StudentID
Name
How do I prevent the student from being able to register for more than 10 classes. Can I specify this when I create the course table by using a constraint or something similiar? Or do I have to create a trigger?
Table: Course
Attributes: CourseID
StudentID
Table: Student
Attributes: StudentID
Name
How do I prevent the student from being able to register for more than 10 classes. Can I specify this when I create the course table by using a constraint or something similiar? Or do I have to create a trigger?