pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ryszard Kurek <rychu@sky.pl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] Table viewer for big sorted tables
Date: Sat, 16 Oct 1999 23:02:50 +0200
Message-ID: <19991016230250.B4742@fnet.pl> (raw)
In-Reply-To: <9459.940105230@sss.pgh.pa.us>
References: <19991016210215.A4354@fnet.pl>
	<9459.940105230@sss.pgh.pa.us>

On Sat, Oct 16, 1999 at 04:20:30PM -0400, Tom Lane wrote:
> Ryszard Kurek <rychu@sky.pl> writes:
> > The slow version is:
> > SELECT min(product_symbol) FROM products WHERE product_name > 'current_product';
> 
> Try
> 
> SELECT ... FROM products WHERE product_name > 'current_product' ORDER BY product_name LIMIT 1;

I've tried several combination but not this particual one...

IT WORKing now !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

thank you very much, you saved my life :)

-- 
pozdrowienia, Ryszard Kurek                                   UIN: 1741033
mailto:rychu@sky.pl  * sms: 501128171@sms.centertel.pl * www.fnet.pl/rychu



view thread (5+ messages)  latest in thread

Message-ID: <19991016230250.B4742@fnet.pl>
Permalink:  ../19991016230250.B4742@fnet.pl/
Also on:    postgresql.org/message-id/19991016230250.B4742@fnet.pl

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: rychu@sky.pl, tgl@sss.pgh.pa.us
  Subject: Re: [INTERFACES] Table viewer for big sorted tables
  In-Reply-To: <19991016230250.B4742@fnet.pl>

* 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