Postgresql and Top N Analysis?

Поиск
Список
Период
Сортировка
От Katka a Daniel Dunajsky
Тема Postgresql and Top N Analysis?
Дата
Msg-id Law12-F82jsKcWYSQxg00019507@hotmail.com
обсуждение исходный текст
Ответы Re: Postgresql and Top N Analysis?
Список pgsql-sql
Hello all,

Can anyone give me an hit how to do Top 'N' Analysis in postgresql (if it is 
possible)?
I see that postgresql does not have an pseudocolumn rownum, therefore I 
can't use query like this:

SELECT   *
FROM     (SELECT DISTINCT session_type_id FROM user_sessions ORDER BY 
session_type_id) as dummy
GROUP BY dummy;

Thank you for your time.

Daniel

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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

Предыдущее
От: Randall Lucas
Дата:
Сообщение: Testing castability of text to numeric
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Postgresql and Top N Analysis?