Re: Estadistica por fechas

From: "Gilberto Castillo" <gilberto(dot)castillo(at)etecsa(dot)cu>
To: "Aland Laines" <aland(dot)laines(at)gmail(dot)com>
Cc: "POSTGRES" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Estadistica por fechas
Date: 2014-12-03 22:02:26
Message-ID: 39382.192.168.207.54.1417644146.squirrel@webmail.etecsa.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

> Hola compañeros, tengo una consulta que me tiene trabado, tengo una tabla
> de tickets:
>
> id numero fecha_ingreso fecha_termino
>
> La consulta que me piden es cuantos tickets estuvieron activos (no fueron
> finalizados) al final de cada mes.

Supongo que todo el que tenga fecha_termino en null o algo así... aun esta
abierto.

¿Un tickets, debe ser obligatoriamente cerrado en el mismo mes?

Saludos,
Gilberto Castillo
La Habana, Cuba

Attachment Content-Type Size
unknown_filename text/plain 179 bytes
unknown_filename text/plain 157 bytes

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message raul andrez gutierrez alejo 2014-12-03 22:27:37 Re: Estadistica por fechas
Previous Message Aland Laines 2014-12-03 21:53:27 Estadistica por fechas