OCP-052考题汇总(2)-CUUG内部解答版

  1. 云栖社区>
  2. 博客>
  3. 正文

OCP-052考题汇总(2)-CUUG内部解答版

bjcuug 2019-07-24 14:15:00 浏览272
展开阅读全文

  Examine these commands and their output:

  SQL> SELECT * FROM emp;

  ENO ENAME

  --- -------

  100 Adam

  101 Alan

  SQL> INSERT INTO emp VALUES(102,'Ben');

  1 row created.

  SQL>COMMIT;

  Commit completed.

  SQL>UPDATE emp SET ename='Bryan' WHERE eno=102;

  1 row updated.

  A power failure occurs. The instance is restarted and this query is executed.

  SQL>SELECT ename FROM emp;

  What is the outcome?

  A)Only Adam and Alan are displayed.

  B)No rows are returned.

  C)Only Adam, Alan, and Bryan are displayed.

  D)Adam, Alan, Ben, and Bryan are displayed.

  E)Only Adam, Alan, and Ben are displayed.

  Answer: E

  解析:UPDATE 语句没有提交

网友评论

登录后评论
0/500
评论
bjcuug
+ 关注