If a call (calls other) starts before the (calls c _ call_end_operator) then I need the c.call_end_operator to be other.call_start - 2 seconds.
update 
        calls c  
INNER JOIN
        calls other
ON      c.operator_id = other.operator_id
SET     c.call_end_operator= datediff(second,other.call_start,2)
WHERE   
        c.call_id != other.call_id
AND
        other.call_start BETWEEN c.call_start AND c.call_end
AND
        cast(c.Call_start as date)=date '2021-02-02 '
I have tried multiple ways but for the life of me I can't get something really silly (I'm sure) done.
 
    