update x set x.c=(select c from y where x.a=y.a and x.b=y.b)
exists (select c from y where x.a=y.a and x.b=y.b);