Re: Select into

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Select into
Дата
Msg-id 200112060410.fB64A7X08496@candle.pha.pa.us
обсуждение исходный текст
Ответ на Select into  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-sql
> Hi All,
> 
> Is it possible to insert into a table based on a select from another table?
> 
> The docs for SELECT INTO and like seem to imply you can only create a table
> based on a select, not append to an existing table.

Sure, do INSERT INTO ... SELECT.  

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Select into
Следующее
От: "Esger Abbink"
Дата:
Сообщение: Re: need some help understanding sloq query