直接上代码,使用游标 repeat循环: -- 游标 repeat循环 create procedure test() begin DECLARE ct VARCHAR(32); declare cnt int default 0...