update mytest inner join(select '2' as id, sleep(5)) a on mytest.id=a.id set mytest.name='xiaowang';