pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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




view thread (5+ messages)  latest in thread

Message-ID: <NEBBLMEAPMNMMCFDDILOIEKECCAA.paulo.siqueira@usa.net>
Permalink:  ../NEBBLMEAPMNMMCFDDILOIEKECCAA.paulo.siqueira@usa.net/
Also on:    postgresql.org/message-id/NEBBLMEAPMNMMCFDDILOIEKECCAA.paulo.siqueira@usa.net

 · 

reply

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