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

Поиск
Список
Период
Сортировка
От Dimitri
Тема Re: [GENERAL] Select MIN() & MAX()
Дата
Msg-id 9808122128520G.00535@dimitri
обсуждение исходный текст
Ответ на Select MIN() & MAX()  ("Krasnow, Greg" <gak@hnc.com>)
Список pgsql-general
On Wed, 12 Aug 1998, you wrote:
>oops... my goof... I read it too quickly...
>
>ok... one more stupid question... can you not do an "insert into t1 (select
>'a','b',min(f)-1 from t2)"?

Of course:

insert into t1
  select 'a', 'b', min(f) - 1
   from t2;

it's standard SQL

>
>- Greg
>
>Greg Krasnow
>HNC Software Inc.
>Financial Solutions Group
>Senior Software Engineer
>Email: gak@hnc.com
>Direct Phone: 619.799.8341
>Fax: 619.799.8036
--
=====================================================
 Dimitri KRAVTCHUK  (dim)           Sun Microsystems
 Benchmark Engineer                 France
 dimitri@France.Sun.COM
=====================================================

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

Предыдущее
От: "Wim Ceulemans"
Дата:
Сообщение: Unique key with nulls and copying databases across computers
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Select MIN() & MAX()