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');
My guess is D) 11. Since the sequence is set to CYCLE, it will start over from the beginning once it reaches the maximum value, so the next call should return 11.
I think the correct answer is B) 1. The CACHE 10 parameter means that the sequence will pre-allocate 10 values, so the first call to nextval() should return 1.
Lajuana
12 days agoCiara
13 days agoElly
16 days agoNydia
1 days agoCrissy
23 days agoLacresha
2 months agoDaren
1 months agoDaren
1 months agoJulene
2 months agoJeanice
2 months agoJulene
2 months ago