query based on row number for psql8.3

Поиск
Список
Период
Сортировка
Hello,

For psql8.3, is there a simple way to query based on row number please?

For example,

select  case                    when row_num=1 THEN    t1.tot_hr                    ELSE
 t1.tot_hr - 
 
t1.pre_hr          END
FROM  t1 ;






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