码迷,mamicode.com
首页 > 其他好文 > 详细

【OCP-12c】CUUG 071题库考试原题及答案解析(22)

时间:2019-02-20 15:58:00      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:sele   seq   from   wing   sequence   ber   create   splay   hat   

5.choose the best answer

Evaluate the following CREATE SEQUENCE statement:

CREATE SEQUENCE seq1

START WITH 100

INCREMENT BY 10

MAXVALUE 200

CYCLE

NOCACHE;

The sequence SEQ1 has generated numbers up to the maximum limit of 200.

You issue the following SQL statement:

SELECT seq1.nextval FROM dual;

What is displayed by the SELECT statement?

A) 1

B) 100

C) an error

D) 10

Answer:B

【OCP-12c】CUUG 071题库考试原题及答案解析(22)

标签:sele   seq   from   wing   sequence   ber   create   splay   hat   

原文地址:http://blog.51cto.com/13854012/2352422

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!