Show how to enforce the constraint “an instructor cannot teach in two different classrooms in a semester in the same time slot.” using a trigger (remember that the constraint can be violated by changes to the teaches relation as well as to the section relation).
I am self-learning SQL using Database System Concept and get pretty confused aboutsee the pic how trigger is enforced. Any inputs are appreciated!