Selecting top N percent of records. - Mailing list pgsql-general

From Tim Uckun
Subject Selecting top N percent of records.
Date
Msg-id AANLkTimAcWFDvvzB2JLmFXTjM+_f1Kkj+7B1byxNxhzO@mail.gmail.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: "Turner, John J"
Date:
Subject: Re: installing from source in Windows
Next
From: Darren Duncan
Date:
Subject: Re: Selecting top N percent of records.