Re: new table with a select

Поиск
Список
Период
Сортировка
От MIkhail Puzanov
Тема Re: new table with a select
Дата
Msg-id CAJWC0jD_qEo0RhiMYe8H2ougkCd=fabQW09djW7GHrns493dnw@mail.gmail.com
обсуждение исходный текст
Ответ на new table with a select  (ppdcc@sapo.pt)
Список pgsql-sql
Hi,


2011/8/25 <ppdcc@sapo.pt>
Hello to all,


Can anybody tell me the sql instruction to create a new table with a select of other table?

I need to create a new table based on paralell of a table of lines. Can anybody post to me a example?

 
CREATE TABLE t AS
SELECT * FROM x;

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

Предыдущее
От: ppdcc@sapo.pt
Дата:
Сообщение: new table with a select
Следующее
От: Jan Eskilsson
Дата:
Сообщение: Re: [ADMIN] parsing audit table