SQL-Basics 10(Triggers & Case Statement)
Triggers & Case Statement create database today; use today; select database(); Triggers: -(it basically an action and it invoke automatically) ----->Whenever we are trying to perform any kind of insert/update/delete(DML operations)(data manipulation language).before insert/update/delete, after insert/update/delete some other column, some other table. ----->In the case of functions/procedures we need to call, but for triggers, we do not need to call again, it is a one-time activity. ------>Triggers are applicable for insert/delete/update operations. ------>we have a total of 6 types of triggers. 1)before delete 2)after delete 3)before insert 4)after insert 5)before update 6)after update create table course( course_id int, course_desc varchar(30), course_mentor...