I have a table named chamado_processos
with the following structure and data
As you can see one of the columns in this table called dt_processo
is a DATETIME
field and the tp_processo
column defines whether the process is start or stop .
I would like to calculate the time between each call since a single called can have more than one startup process and more than one stop process strong>.
This call I showed in the image has 00:02:17
hours, minutes, and seconds.