【OCP-12c】CUUG 071題庫考試原題及答案解析(22)

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章