update email_a
set uguale=1
from email_a a join email_b b
on a.email=b.email