Skip site navigation (1) Skip section navigation (2)

help on select

From: Saulo Venâncio <saulo(dot)venancio(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: help on select
Date: 2011-04-20 20:10:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
Hi guys,
I need your help.
I have a table called medidas, in this table i have some ocurrences that has
id_medida(primary key) id_ponto (sec_key) and also datetime field as
i would like to know from a set of idpontos, e.g. 10,11,23,24.... how can i
get the most recent date that is common to all??
for example, if idponto das date 2011-02-03 but none of others have this
date in the db i dont want this. i want one common for all..

**Saulo B. M. Venâncio*

Control and Automation Eng. Student
*Associate in Business Management*

T +55 4884121486
*E saulo(dot)venancio(at)gmail(dot)com


pgsql-sql by date

Next:From: CharlieDate: 2011-04-21 08:03:27
Subject: Re: help on select
Previous:From: Oliveiros d'Azevedo CristinaDate: 2011-04-20 16:12:05
Subject: Re: How to realize ROW_NUMBER() in 8.3?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group