欢迎来到易学考试网 易学考试官网
全部科目 > 大学试题 > 计算机科学 > MySQL数据库系统及应用

单项选择题

实现1~50的数字累加:declare total int default 0;
declare num int default 0;
while do
set total=total +num;
set num=num+1;
end while;
select total;()。

    A.num<50
    B.num>=50C
    C.num>50
    D.num<=50

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题