MySQL-怎样使update操作sleep一段时间

update mytest inner join(select '2' as id, sleep(5)) a on mytest.id=a.id set mytest.name='xiaowang';
原文地址:https://www.cnblogs.com/xiaozong/p/9147084.html