Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [MYSQL]time of elapsed time

From: <mysql(at)subtropolix.org>
Date: Fri Oct 19 2007 - 14:18:44 EDT


Weston, Craig (OFT) wrote:
> There were 2 changes -
>
> First was IF(`status` = 'WIP',SUM(time_to_sec(RIGHT(`CLOCK_TIME`),8)),0)
> AS 'WIP' ( I addded the "RIGHT" limit on the string)
>
> And second was grouping by KEY,STATUS
>
>
> Further experimentation makes it appear that I am getting the right
> number of seconds for the entire string, so I am playing without the
> RIGHT() modifier right now. Maybe making a table with the status's on
> separate rows and then querying against that to make the single line??
>

Changes to what? Did i miss the post where you included the entire SELECT statement?

(please don't top-post)

brian

-- 
MySQL General Mailing List
For list archives: 
http://lists.mysql.com/mysql
To unsubscribe:    
http://lists.mysql.com/mysql?unsub=lists@pantek.com
Received on Fri Oct 19 14:19:46 2007

This archive was generated by hypermail 2.1.8 : Thu Jul 03 2008 - 08:40:34 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library