Re: Numbering rows

Поиск
Список
Период
Сортировка
От Mark Morgan Lloyd
Тема Re: Numbering rows
Дата
Msg-id gd6vrm$np1$1@pye-srv-01.telemetry.co.uk
обсуждение исходный текст
Ответ на Re: Numbering rows  ("David Rowley" <dgrowley@gmail.com>)
Список pgsql-general
David Rowley wrote:

> It's not 100% certain that it will be possible for 8.4, probably though.
>
> select row_number() over (order by employeeid) as nrow,* from employee order
> by employeeid

That makes sense, thanks. So extracting rate-of-change etc. would be a
join on two subselects followed by a bit of maths, that's likely to be a
big incentive for an upgrade when it comes out.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

В списке pgsql-general по дате отправления:

Предыдущее
От: 陈伟楠
Дата:
Сообщение: Re: Opptimizing projections containing unused columns
Следующее
От: Rafał Ziółkowski
Дата:
Сообщение: PQescapestringConn not found in libpq.dll