Re: Select into

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Select into
Дата
Msg-id 20011205201736.Y20601-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Select into  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-sql
On Thu, 6 Dec 2001, Christopher Kings-Lynne wrote:

> 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.
>
> How do you do this?

I think you can use
INSERT INTO <table>(<cols>) SELECT ...




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

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