Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Refer to the class notes and the University E/R diagram. 1. Write an assertion which limits the enrollment in computer science sections to 40
Refer to the class notes and the University E/R diagram. 1. Write an assertion which limits the enrollment in computer science sections to 40 or less students. 2. Write an assertion for the rule: "A student may not enroll in more than 6 courses per year". 3. Suppose we want to ensure that the foreign key CourseId values of the SECTION table records are never modified, either accidentally or intentionally. That is, no section should possibly be assigned to a different course other than the course it was originally intended for. Design a trigger that intercepts a modification to this field and sets the value back to what it was. The University E/R diagram
Step by Step Solution
There are 3 Steps involved in it
Step: 1
An assertion to limit the enrollment in computer science sec...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started