https://blog.youkuaiyun.com/xlxxcc/article/details/52485322 mysql存储过程学习笔记–区块,条件,循环 http://blog.chinaunix.net/uid-20304312-id-1707818.html