Re: problem selecting multiple records (again!)

From: Nabil Sayegh <nsmail(at)sayegh(dot)de>
To: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
Cc: Giorgio Andreoletti - mentelocale <giorgio(dot)andreoletti(at)mentelocale(dot)it>, pgsql-novice(at)postgresql(dot)org
Subject: Re: problem selecting multiple records (again!)
Date: 2001-06-05 23:48:15
Message-ID: 991784895.8441.2.camel@billy.labor.localnet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 05 Jun 2001 17:01:14 -0500, Manuel Sugawara wrote:
>
> something like
>
> select * from events where ref in (select distinct ref from events limit 3);
>
> will do what you want.

Not exactly, he wanted the NEXT 3 events.

[...]
> > now suppose that today is 2001-05-09 and i want to publish on my web-site
> > the next 3 events:
[...]

--
Nabil Sayegh

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Manuel Sugawara 2001-06-06 00:40:01 Re: problem selecting multiple records (again!)
Previous Message Manuel Sugawara 2001-06-05 22:01:14 Re: problem selecting multiple records (again!)