insert question..

Поиск
Список
Период
Сортировка
От Williams, Travis L, NPONS
Тема insert question..
Дата
Msg-id AB815D267EC31A4693CC24D234F8291604D64137@ACCLUST02EVS1.ugd.att.com
обсуждение исходный текст
Ответы Re: insert question..  (Bruno Wolff III <bruno@wolff.to>)
Re: insert question..  (Thomas Kellerer <spam_eater@gmx.net>)
Re: insert question..  (Dmitry Tkach <dmitry@openratings.com>)
Список pgsql-general
I'm looking for an example on how to insert static data and information from a select at the same time..

currently I'm doing:

insert into performance (start,finish) select min(poll_time),max(poll_time) from poll

I need to add a 3rd field that is static so I would have something like this


insert into performance (name,start,finish) travis,select min(poll_time),max(poll_time) from poll

Thanks,

Travis

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

Предыдущее
От: Liviu BURCUSEL
Дата:
Сообщение: How to find the definition of a sequence ?
Следующее
От: Adam Witney
Дата:
Сообщение: Re: How to find the definition of a sequence ?