题目内容

下面声明一个名为cursor_student的游标,语法格式正确的是

A. CURSOR cursor_student OF select s_name,s_gender FROM student;
B. CURSOR cursor_student FOR select s_name,s_gender FROM student;
C. DECLARE cursor_student CURSOR FOR select s_name,s_gender FROM student;
DECLARE cursor_student CURSOR OF select s_name,s_gender FROM student;

查看答案
更多问题

MySQL中,预设的拥有最高权限的超级用户的用户名为()

A. test
B. administrator
C. DBA
D. root

影响计算机系统安全的因素包括( )

A. 计算机病毒
B. 系统故障的风险
C. 内部人员道德风险
D. 以上都是

下面使用DROP USER语句删除用户user1的语句中,正确的是()

A. DELETE USER 'user1'@'localhost';
B. DROP USER 'user1'.’ocalhost';
C. DROP USER user1.localhost;
DROP USER 'user1'@'localhost';

在MySQL的存储过程中,参数的类型分为三种:输入参数,输出参数,输入输出参数,定义存储过程时必须使用参数。

A. 对
B. 错

答案查题题库