2007/9/9, novice <[EMAIL PROTECTED]>:
> > > > The result I'm expecting for the above to be
> > > >
> > > >notification_time| finished_time | actual
> > > > ++-
> > > > 2007-07-06 15:50:00+10 | 2007-07-09 07:10:00+
On 07/09/2007, Filip Rembiałkowski <[EMAIL PROTECTED]> wrote:
> 2007/9/5, Raj A <[EMAIL PROTECTED]>:
> > correction:
> >
> > > The result I'm expecting for the above to be
> > >
> > >notification_time| finished_time | actual
> > > +--
2007/9/5, Raj A <[EMAIL PROTECTED]>:
> correction:
>
> > The result I'm expecting for the above to be
> >
> >notification_time| finished_time | actual
> > ++-
> > 2007-07-06 15:50:00+10 | 2007-07-09 07:10:00+10 |
correction:
> The result I'm expecting for the above to be
>
>notification_time| finished_time | actual
> ++-
> 2007-07-06 15:50:00+10 | 2007-07-09 07:10:00+10 | 01:20:00
> 2007-07-07 12:30:00+10 | 2007-07-09 07
correction:
> The result I'm expecting for the above to be
>
>notification_time| finished_time | actual
> ++-
2007-07-06 15:50:00+10 | 2007-07-09 07:10:00+10 | 01:20:00
> 2007-07-07 12:30:00+10 | 2007-07-09 07
Hello All,
SELECT notification_time, finished_time, sum(finished_time -
notification_time) as actual
FROM log
GROUP BY notification_time, finished_time;
gives me:
notification_time| finished_time | actual
++-
20