Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

PostgreSQL Exam PGCES-02 Topic 1 Question 78 Discussion

Actual exam question for PostgreSQL's PGCES-02 exam
Question #: 78
Topic #: 1
[All PGCES-02 Questions]

A sequence has the following definition: CREATE SEQUENCE seq1 CACHE 10 CYCLE; Select the value that is returned by executing the following SQL. SELECT nextval('seq1');

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Contribute your Thoughts:

Julene
1 days ago
Hmm, that makes sense too. I guess we'll have to wait and see what the correct answer is.
upvoted 0 times
...
Jeanice
2 days ago
I disagree, I believe the answer is B) 1 because the sequence starts at 0 and the first value returned is 1.
upvoted 0 times
...
Julene
3 days ago
I think the answer is A) 0 because the sequence starts at 0 and cycles after reaching the maximum value.
upvoted 0 times
...

Save Cancel