From: | Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar> |
---|---|
To: | felix gonzales <jfgonzales(at)gmail(dot)com> |
Cc: | PostgreSQL <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: acumular datos tipo horas |
Date: | 2015-11-05 16:21:10 |
Message-ID: | 178401825.183791.1446740470515.JavaMail.root@fmed.uba.ar |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
----- Mensaje original -----
> De: "felix gonzales" <jfgonzales(at)gmail(dot)com>
> Para: "PostgreSQL" <pgsql-es-ayuda(at)postgresql(dot)org>
> Enviados: Jueves, 5 de Noviembre 2015 13:04:18
> Asunto: [pgsql-es-ayuda] acumular datos tipo horas
>
>
>
> Saludos Lista!
>
>
> Para obtener el total en horas, minutos y segundos (de los datos mas
> abajo indicados) probablemente haya que pasar todos a segundos y
> luego calcular las h:m:s , alguna otra idea? se agradece cualquier
> aporte.
>
>
>
> time_acum
> ----------------
> 12:00:18
> 00:02:17
> 05:00:26
> 00:07:17
> 00:48:23
> 10:11:24
> 18:12:23
> 24:23:20
> ------------
> hh:mm:ss ???
>
>
>
Y que tal select sum(time_acum) from .... ?
Gerardo
-
Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda(at)postgresql(dot)org)
Para cambiar tu suscripcin:
http://www.postgresql.org/mailpref/pgsql-es-ayuda
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2015-11-05 17:02:00 | Re: acumular datos tipo horas |
Previous Message | felix gonzales | 2015-11-05 16:04:18 | acumular datos tipo horas |