update help

Поиск
Список
Период
Сортировка
От Carolyn Wong
Тема update help
Дата
Msg-id 3A665AE3.CE43178B@greatpacific.com.au
обсуждение исходный текст
Ответы Re: update help
Re: update help
Список pgsql-sql
I'd like to know what's the correct SQL statement to do the following:

update    t1 a
set    a.amount = sum(b.amount)
from    t2 b
where    a.id = b.id


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