I have come stuck with averaging a column with type of Time.
I know there is a function AVG() that I can use to filter the average of a column, however, this brings back an integer.
Is there any way to return the average in time format (IE 00:00:00)?
BACKGROUND INFO:
SELECT `estimatedTime`
FROM job_sheet;
Returns,
01:00:00
21:30:00
01:00:00
The data type is time, and the default is 00:00:00.
I know there is a function AVG() that I can use to filter the average of a column, however, this brings back an integer.
Is there any way to return the average in time format (IE 00:00:00)?
BACKGROUND INFO:
SELECT `estimatedTime`
FROM job_sheet;
Returns,
01:00:00
21:30:00
01:00:00
The data type is time, and the default is 00:00:00.