Pessoal. Preciso gerar uma query (Postgre 8.0) que agrupe valores, respeitando intervalos de tempo. Por exemplo, seja a tabela:
data medida 29/6/07 10:00:00, 40 29/6/07 10:00:10, 40 29/6/07 10:00:20, 40 29/6/07 10:00:30, 41 29/6/07 10:00:40, 41 29/6/07 10:00:50, 41 29/6/07 10:01:00, 41 29/6/07 10:01:10, 40 29/6/07 10:01:20, 40 Preciso extrair: data medida 29/6/07 10:00:00 - 29/6/07 10:00:20, 40 29/6/07 10:00:30 - 29/6/07 10:01:00, 41 29/6/07 10:01:10 - 29/6/07 10:01:20, 40 Alguém poderia ajudar? -- View this message in context: http://www.nabble.com/Grupos-por-intervalo-de-tempo-tf4001076.html#a11364165 Sent from the PostgreSQL - Brasil mailing list archive at Nabble.com.
_______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
