Re: SELECT TOP %d PERCENT, or SELECT ... LIMIT %d PERCENT ?

Поиск
Список
Период
Сортировка
От Hitoshi Harada
Тема Re: SELECT TOP %d PERCENT, or SELECT ... LIMIT %d PERCENT ?
Дата
Msg-id e08cc0400810120822y7ba25d68h7f83ab00517746c0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SELECT TOP %d PERCENT, or SELECT ... LIMIT %d PERCENT ?  ("Robert Haas" <robertmhaas@gmail.com>)
Ответы Re: SELECT TOP %d PERCENT, or SELECT ... LIMIT %d PERCENT ?  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Список pgsql-hackers
2008/10/12 Robert Haas <robertmhaas@gmail.com>:
> I wonder if this could be implemented using the window-function
> infrastructure...
>

Yeah, actually window functions I am working now has percent_rank() or
something he wants. That is better than WITH clauses but still we must
see the last row before determine the percent. Better than count(*) of
course, but I'm not sure it meets his needs.

Regards,

-- 
Hitoshi Harada


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: The Axe list
Следующее
От: Tom Lane
Дата:
Сообщение: Re: The Axe list