Analytic Functions

Поиск
Список
Период
Сортировка
От Cristian Custodio
Тема Analytic Functions
Дата
Msg-id 002601c2d1d3$bdf12f80$fb01a8c0@ttcristian
обсуждение исходный текст
Список pgsql-general
Does anybody know tell me whether the PG have
analytic functions like the LEAD of Oracle?
 
I would like to create a SELECT where I can get
data of prior row like following example:

LAST_NAME  HIRE_DATE Date of prior row
---------  --------- ---------
Raphaely   07-DEC-94 18-MAY-95
Khoo       18-MAY-95 24-JUL-97
Tobias     24-JUL-97 24-DEC-97
Baida      24-DEC-97 15-NOV-98
Himuro     15-NOV-98 10-AUG-99
Colmenares 10-AUG-99

On Oracle I  can also to make this using ROWNUM.
 
Does anybody already need to make this
or have any soluction about it...
 
Thanks,

Cristian

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

Предыдущее
От: "Cristian Custodio"
Дата:
Сообщение: Priority against catalog
Следующее
От: Viacheslav N Tararin
Дата:
Сообщение: Rights for view.