In the following database, School_has_Student is a denormalized table :
Now if I decided to change the "paul" student name to "john" in the Student table, then the "paul" student name that exist twice in the School_has_Student table must be automatically changed to "john" to maintain data integrity.
Likewise, if the "paul" student name in one of the two rows of the School_has_Student table is changed to "john", then the other "paul" student name in the School_has_Student table and the "paul" student name in the Student table must be automatically changed to "john" to maintain data integrity.
But who make sure that these automatic changes happen, should I write a trigger to make sure these changes happen, or does the DBMS offer this feature out of the box (or does it depend on the DBMS used)?
