need clean way to copy col vals from one rec to another

Поиск
Список
Период
Сортировка
От Gauthier, Dave
Тема need clean way to copy col vals from one rec to another
Дата
Msg-id 482E80323A35A54498B8B70FF2B879800444228E6C@azsmsx504.amr.corp.intel.com
обсуждение исходный текст
Ответы Re: need clean way to copy col vals from one rec to another
Список pgsql-general

create table foo (name text, company text,  job text);

insert into foo (name,company,job) values (‘joe’,’ge’,’engineer’);

insert into foo (name) values (‘sue’);

 

What I want to do is map joe’s company and job over to the sue record, ending up with....

‘sue’ ‘ge’ ‘engineer’

 

Is there a quick/clever.efficient way to do this?

 

Thanks in Advance

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