The DBA issues this SQL command: CREATE USER scott IDENTIFIED by tiger; What privileges does the user Scott have at this point?()A. no privilegesB. only the SELECT privilegeC. only the CONNECT privilegeD. all the privileges of a default user

题目
The DBA issues this SQL command: CREATE USER scott IDENTIFIED by tiger; What privileges does the user Scott have at this point?()

A. no privileges

B. only the SELECT privilege

C. only the CONNECT privilege

D. all the privileges of a default user


相似考题
更多“The DBA issues this SQL command: CREATE USER scott IDENTIFIED by tiger; What privileges does the user Scott have at this point?() ”相关问题
  • 第1题:

    在oracle数据库下,在启用审计的数据库上执行下面的命令SQL>AUDITDROPANYTABLEBYscottBYSESSIONWHENEVERSUCCESSFUL;有关此命令的影响描述正确的是?()

    A.每一个会话drop属于scott用户的表成功就会产生一条审计记录

    B.凡是每一个scott用户会话成功droptable操作,就会存在一条审计记录

    C.同一个scott会话中,drop一张或多张表成功就会产生一条审计记录

    D.scott用户授权给其它用户droptable权限时就会生成一条审计记录


    参考答案:C

  • 第2题:

    在HBase中,创建一张名为“user_c”的表,该表有一个名为“User”的列族,其相应Shell命令应该是()。

    A.create ‘user_c’, {name => ‘User’};

    B.create {‘user_c’ => ‘User’};

    C.create ‘user_c’, {NAME = ‘User’};

    D.create ‘user_c’, {NAME => ‘User’};


    create ‘ user_c ’ , {NAME => ‘ User ’ };

  • 第3题:

    下面选项中,关于SQL语句truncate table user;的作用是解释,正确的是()

    A.查询user表中的所有数据

    B.与“delete from user;“完全一样

    C.删除user表,并再次创建user表

    D.删除user表


    不仅清空user表中的所有数据,而且可以重置auto_increment的值。

  • 第4题:

    现有两张数据表(MySQL数据库)如下:

    x_pt_info x_user_info

    字段 类型 长度 小数位 字段 类型 长度 小数位

    user_id int 11 user_id int 11

    pt_group int 11 user_name varchar 20

    pt_number decimal 10 2 user_work int 1

    描述一下这个SQL语句的作用:

    SELECT b.user_id as user_id,b.user_name as user_name,round(sum(a.pt_number),2) as ptnum from x_pt_info a,x_user_info b where

    a.user_id=b.user_id and a.pt_group=1 and b.user_work=2 group by a.user_id order by ptnum desc

    另外,就你的经验,你觉得该语句是否有改进的余地,如有,请阐述。


    正确答案:
     

  • 第5题:

    4.检索和名叫SCOTT的员工相同工资的员工信息,但不显示SCOTT。显示字段:员工号、员工名、工资。


    select empno,ename,sal from emp where sal =(select sal from emp where ename='SCOTT') and ename!='SCOTT'。

  • 第6题:

    2、在HBase中,创建一张名为“user_c”的表,该表有一个名为“User”的列族,其相应Shell命令应该是()。

    A.create ‘user_c’, {name => ‘User’};

    B.create {‘user_c’ => ‘User’};

    C.create ‘user_c’, {NAME = ‘User’};

    D.create ‘user_c’, {NAME => ‘User’};


    create ‘ user_c ’ , {NAME => ‘ User ’ };