How to calculate the median
Posted: Fri Nov 18, 2016 1:31 pm
I need median of the (TIMESTAMPDIFF('ss',submission_time,start_time) in below query.
My query giving the syntax error.please suggest
My query giving the syntax error.please suggest
Code: Select all
SELECT count(job_number),median(TIMESTAMPDIFF('ss',submission_time,start_time)) as median from acctn;