QuestionQ60

VerifiedPL/SQL Language Fundamentals

SERVEROUTPUT is enabled.

Which code block displays the values from 1 through 10 in descending order?

Explanation

A PL/SQL numeric FOR loop with REVERSE begins at the upper bound and decrements to the lower bound. Therefore, FOR i IN REVERSE 1..10 LOOP outputs 10 through 1.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!