Re: Filtering a bunch of records to one after a selection has returned a bunch of them

Поиск
Список
Период
Сортировка
От Nevermind
Тема Re: Filtering a bunch of records to one after a selection has returned a bunch of them
Дата
Msg-id 20020103164626.A32772@nevermind.kiev.ua
обсуждение исходный текст
Ответ на Filtering a bunch of records to one after a selection has returned a bunch of them  (jfc100@btopenworld.com (Joe))
Список pgsql-general
Hello, Joe!

On Thu, Dec 27, 2001 at 07:01:16AM -0800, you wrote:

> 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;
select min(counter) from my_table limit 1;

--
NEVE-RIPE

В списке pgsql-general по дате отправления:

Предыдущее
От: jfc100@btopenworld.com (Joe)
Дата:
Сообщение: Filtering a bunch of records to one after a selection has returned a bunch of them
Следующее
От: "Dave VanAuken"
Дата:
Сообщение: update after select doesn't update...