Solved

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

Posted on 2012-04-12
2
643 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 500 total points
ID: 37837957
SELECT CEILING(seconds/60) as SEC
FROM TABLE
0
 

Author Closing Comment

by:Sam2009
ID: 37839989
Excellent
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now