Sequences are accessed using
-
prevval
-
currval
-
newval
-
lastval
B
Correct answer
Explanation
Database sequences are typically accessed using CURRVAL (and often NEXTVAL) to retrieve the current or next value in a sequence. CURRVAL returns the current sequence value, while NEXTVAL increments and returns the next value. PREVVAL (A) is not standard SQL, NEWVAL (C) doesn't exist in sequence operations, and LASTVAL (D) is PostgreSQL-specific (lastval() function) but not the universal sequence access method.