From: Paulo Roberto Siqueira <paulo.siqueira@usa.net>
To: PGSQL SQL <pgsql-sql@postgresql.org>
Subject: Select subset of rows
Date: Sun, 27 Aug 2000 16:50:04 -0300
Message-ID: <NEBBLMEAPMNMMCFDDILOIEKECCAA.paulo.siqueira@usa.net> (raw)
Hi folks,
I have this table
CREATE TABLE EMPLOYEE (ID_EMP INT4 PRIMARY KEY, NAME VARCHAR(35), SALARY
NUMERIC(5,2));
I want to select only the employees' names who have the 5 highest salaries.
Paulo Siqueira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: paulo.siqueira@usa.net
Subject: Re: Select subset of rows
In-Reply-To: <NEBBLMEAPMNMMCFDDILOIEKECCAA.paulo.siqueira@usa.net>
References: <NEBBLMEAPMNMMCFDDILOIEKECCAA.paulo.siqueira@usa.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox