Which two ORDER BY clauses can be used to sort the output of the above statement?

View the Exhibit and examine the data in the DEPARTMENTS tables. Evaluate the following SQL statement:
Which two ORDER BY clauses can be used to sort the output of the above statement? (Choose two.)

View the Exhibit and examine the data in the DEPARTMENTS tables.

Evaluate the following SQL statement:

Which two ORDER BY clauses can be used to sort the output of the above statement? (Choose two.)

A.
ORDER BY 3;

B.
ORDER BY ‘b’;

C.
ORDER BY DEPT_ID;

D.
ORDER BY DEPT_NAME;



Leave a Reply 2

Your email address will not be published. Required fields are marked *


alis

alis

select 1 “a” from dual
union
select 2 col from dual
order by “a” ;

Cindy

Cindy

Why C is correct?