Selecting top N percent of records.

Поиск
Список
Период
Сортировка
От Tim Uckun
Тема Selecting top N percent of records.
Дата
Msg-id AANLkTimAcWFDvvzB2JLmFXTjM+_f1Kkj+7B1byxNxhzO@mail.gmail.com
обсуждение исходный текст
Ответы Re: Selecting top N percent of records.  (Darren Duncan <darren@darrenduncan.net>)
Re: Selecting top N percent of records.  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Список pgsql-general
Is there a way to select the top 10% of the values from a column?

For example the top 10% best selling items where number of sales is a column.

Thanks.

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

Предыдущее
От: "Turner, John J"
Дата:
Сообщение: Re: installing from source in Windows
Следующее
От: Darren Duncan
Дата:
Сообщение: Re: Selecting top N percent of records.