Answered step by step
Verified Expert Solution
Link Copied!

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

 image text in transcribed image text in transcribed 

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

A Pathway To Introductory Statistics

Authors: Jay Lehmann

1st Edition

0134107179, 978-0134107172

More Books

Students also viewed these Programming questions