How to implement this trigger on Oracle SQL?
问题 I have found an exercise in the SQL book I study, which is not solved and I can not solve it. The goal is to implement a trigger that avoids overlapping contracts. If a customer with a current contract signs a new one, the end date of the previous one will be one day before the new start date. Tables given are: CREATE TABLE CLIENTS ( clientId VARCHAR2(15), DNI VARCHAR2(9), name VARCHAR2(100) NOT NULL, surname VARCHAR2(100) NOT NULL, sec_surname VARCHAR2(100), eMail VARCHAR2(100) NOT NULL,