SELECT TIMESTAMPDIFF(second, ts, tsLog) as TotalSeconds FROM dataentry,userLogs
dataentry table --> id, event, ts, userId,userLogs table --> userid, tsLogusers --> userId, Username, other fields related to the user
dataentry table --> id, event, ts, userNameuserLogs table --> userName, tsLog
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)