Re: Select values by interval

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Select values by interval
Дата
Msg-id 20151123173109.GA8959@tux
обсуждение исходный текст
Ответ на Re: Select values by interval  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список 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 по дате отправления: