update join using postgres code example Example: update with inner join postgres Click to copyupdate xtable x set col1 = y.col1 from ytable y where y.x_id = x.id;