Re: [GENERAL] Select MIN() & MAX()

From: Jeremiah Davis <jdavis(at)gaslightmedia(dot)com>
To: "Krasnow, Greg" <gak(at)hnc(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Select MIN() & MAX()
Date: 1998-08-12 23:50:27
Message-ID: Pine.3.89.9808121941.A15864-0100000@onramp.freeway.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm using this in a an application right now:
$result = pg_Exec($conn, "SELECT MAX(pos) FROM demogallery;");

and its been working fine for about 2-3 months...

On Wed, 12 Aug 1998, Krasnow, Greg wrote:

> In the documentation it mentions that Postgresql does not currently support
> MIN() and MAX() in the select list, but only in the where clause... will
> this be available in the next version of Postgresql and is there another way
> to do this in the current version?
>
> - Greg
>
>
> Greg Krasnow
> HNC Software Inc.
> Financial Solutions Group
> Senior Software Engineer
> Email: gak(at)hnc(dot)com
> Direct Phone: 619.799.8341
> Fax: 619.799.8036
>
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Fran Fabrizio 1998-08-13 02:57:55 designating a column as primary key after creation
Previous Message Terence Dixon 1998-08-12 22:09:13 unsubscribe pgsql-general