Re: Insert values from one existing table into a new table.

Поиск
Список
Период
Сортировка
От Jeff Eckermann
Тема Re: Insert values from one existing table into a new table.
Дата
Msg-id 20011115154843.61029.qmail@web20807.mail.yahoo.com
обсуждение исходный текст
Ответ на Insert values from one existing table into a new table.  ("Jason" <jzhu@dental.temple.edu>)
Ответы Re: Insert values from one existing table into a new table.  (Jeff Eckermann <jeff_eckermann@yahoo.com>)
Список pgsql-sql
Lose the quotes, add a semicolon, and you already have
the correct syntax :-)
--- Jason <jzhu@dental.temple.edu> wrote:
> I want to insert the existing values of one table
> into a new table.  It
> needs the combination of  these to sql commands:
> 
> "  insert into new_table values (
> values_of_AtrributeA,
> values_of_AttributesB) "
> " select AttributeA, AttributeB from some_table "
> 
> Thanks for your suggestions!  -- Jason
> 
> 
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: INSERT question
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: Help with INSERT into 2 tables