SELECT avg( duration ) as average FROM login
;
The datatype for duration is "time", thus my value is like: 00:00:14, 00:20:23 etc
I execute the query it gives me: 2725.78947368421
What is that? I want in time format, can mysql do the average on time??