update sales set sales.adminId = t.adminIdfrom (select a.adminId,a.realName from sales ,admin_administrators as a where sales.salesName = a.realName and a.adminId like '2%') as twhere sales.salesName = t.realName