Hãy thử những cách sau: update boat b, (select avg(length) avg_len from boat) v set b.rellength = v.avg_len