I need help with a trigger syntax in phpmyadmin. I have a table called Log with following columns:
ID, Client_Name, Employee_Name, Start_Date, End_Date, Time.
First three columns are irrelevant to the trigger. Start_Date is a current timestamp, End_Date is a current timestamp on update.
The trigger is to be AFTER UPDATE Trigger. It should calculate the difference between Start_Date and End_Date in Hours in the Time column.