
update `tblleads` a left JOIN tblleads_sources b on a.source = b.id set a.country = 1 where b.name = "thumbtack";