I have a seconds column and I need to display in some readable format.
Table A
Time
259200
select Time from Table A
and I need to get :
3 days,00:00:00 I need  to have no of days if > 24 hrs.
I tried lots of way but I was not able to get the right answer.
A few things which I tried are:
select  floor(hour( sec_to_time
Select sec_to_time
SELECT TIME_FORMAT( MAKETIME(
 
     
     
    