I want to convert a column which contains seconds (i.e 11549404) into days, hours, minutes, seconds
SELECT (myCol || ' second')::interval, 'HH24 hrs MI "minutes" SS "seconds"') AS duration
FROM public.myTable
Which returns the following;
"3208 hrs 10 minutes 04 seconds"
Whats the way to display it as days, hours, minutes seconds