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  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
Список 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 по дате отправления:

Предыдущее
От: "Massa, Harald Armin"
Дата:
Сообщение: Re: more than 2GB data string save
Следующее
От: Vincenzo Romano
Дата:
Сообщение: Re: Best way to handle multi-billion row read-only table?