Re: Select values by interval - Mailing list pgsql-sql

From Andreas Kretschmer
Subject Re: Select values by interval
Date
Msg-id 20151123173109.GA8959@tux
Whole thread Raw
In response to Re: Select values by interval  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-sql
David G. Johnston <david.g.johnston@gmail.com> wrote:

> 
> ​Unproven but whenever you have a query of this form (row_number = 1) you
> should consider/test whether using DISTINCT ON with an appropriate ORDER BY
> clause gives you the answer faster and/or more clearly.

Nice hint.


Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°



pgsql-sql by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Select values by interval
Next
From: Sribeiro
Date:
Subject: ERROR while creating new user - could not open relation mapping file global/pg_filenode.map