Analytic Functions - Mailing list pgsql-general

From Cristian Custodio
Subject Analytic Functions
Date
Msg-id 002601c2d1d3$bdf12f80$fb01a8c0@ttcristian
Whole thread Raw
List 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 by date:

Previous
From: "Cristian Custodio"
Date:
Subject: Priority against catalog
Next
From: Viacheslav N Tararin
Date:
Subject: Rights for view.