$ 0 0 SELECT ( firstresptime - StartTime HOUR(2) TO SECOND(2) ) AS Elapsedtime FROM dbc.qrylog WHERE username='XXXXX';The Above Query will help you to find Elapsed Time.
The Above Query will help you to find Elapsed Time.