There are two tables a student there is building, dormitory, tables, and there is already live in a dorm list, when the table to insert data to the student dormitory table number plus one, when this how to implement?
CodePudding user response:
The trigger When the student table insert Dormitory table number + 1 When the student table delete Dormitory table number 1