Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I need a simple mysql query to convert seconds to minutes and Round it

Posted on 2012-04-12
2
Medium Priority
?
699 Views
Last Modified: 2012-04-12
Greetings,

I need a simple mysql query to convert seconds to minutes and remaining seconds rounded to next minute.

eg 61 seconds = 2 minutes
    125 seconds =3 minutes

Regards,
0
Comment
Question by:Sam2009
2 Comments
 
LVL 9

Accepted Solution

by:
BlueYonder earned 2000 total points
ID: 37837957
SELECT CEILING(seconds/60) as SEC
FROM TABLE
0
 

Author Closing Comment

by:Sam2009
ID: 37839989
Excellent
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question