Filtering a bunch of records to one after a selection has returned a bunch of them - Mailing list pgsql-general

From jfc100@btopenworld.com (Joe)
Subject Filtering a bunch of records to one after a selection has returned a bunch of them
Date
Msg-id 88d9f4b3.0112270701.4a3741d@posting.google.com
Whole thread Raw
Responses Re: Filtering a bunch of records to one after a selection has returned a bunch of them  (Nevermind <never@nevermind.kiev.ua>)
List pgsql-general
Hi,

I am trying to establish whether or not it is possible - and how to
implement the solution - to execute an sql statement and restricting
the results to a single match even though there may be more than a
single record which matches the criteria.

e.g. select min(counter) from my_table butonlyone;

Cheers
Joe

pgsql-general by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: PostgreSQL GUI
Next
From: Nevermind
Date:
Subject: Re: Filtering a bunch of records to one after a selection has returned a bunch of them