I need to check (from the same table) if there is an association between two events based on date-time.
One set of data will contain the ending date-time of certain
Easy in MySQL:
UPDATE users AS U1, users AS U2 SET U1.name_one = U2.name_colX WHERE U2.user_id = U1.user_id