摘要: use School --指定数据库 declare @min_id int --声明整数变量@x set @min_id=(select MIN(Id) from Students) --给变量@x赋初值为当前最小的Id值 while @min_id>0 begin update Students set Age=ROUND(RAND()*100,0) where... 阅读全文
posted @ 2018-06-12 10:03 当年在远方 阅读(2484) 评论(0) 推荐(0) 编辑