I was able to convert seconds into a timestamp by following these steps:
* Download and [**Install Denodo Xtrafuncs**](https://search.denodo.com/community/results?filter=Xtrafuncs+for+VDP&option=resources) so you can use the **LEFTPAD** function;
* Use the query as follows:
select concat(seconds/3600, ':', LEFTPAD(((seconds%3600)/60),2,'0'),':', LEFTPAD((seconds%60),2,'0')) from (select 54107 as seconds)
The final result for 54107 seconds is **15:01:47**.
Note that the LEFTPAD function is used here so that a 0 is added when the time calculation finishes with a single decimal value. Without this, the result would be 15:1:47.
Hope this helps!