In my attendance table, the Overtime is mentioned in the format 'hh:mm'. Its String column in the database. Full month Overtime is entering as a single entry. So my column data is as follows
OVERTIME
'52:00'
'30:00'
'98:00'
'06:00'
Now how can get the SUM of the OverTime column.
I have tried SELECT SUM(OVERTIME::TIME) FROM ATTENDANCE. Its giving me the error :
ERROR: date/time field value out of range: "52:00"
timecan only be used for times of the day (max. 24 hours). Try withintervalinstead.::timewith::intervalto cast to anintervalrather than to atime. And consider changing the column's type tointervalif possible.