I am trying to convert Time to Sec but whatever I try I get error message. The following query is what I done so far
SELECT
SU
You refer TIME_TO_SEC
function from MySQL documentation though question is marked with oracle
tag. Use extract(second ...)
or google oracle extract epoch equivalent
, depending on what you want.
Also the expressions EXTRACT(MONTH FROM uti.Date_) = '2020-01-21'
and EXTRACT(YEAR...
look suspicious, returned values definitely are not of form 'YYYY-MM-DD'
.