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

Oracle Exam 1Z0-071 Topic 13 Question 94 Discussion

Actual exam question for Oracle's 1Z0-071 exam
Question #: 94
Topic #: 13
[All 1Z0-071 Questions]

Examine this statement:

SELECT last name

FROM employees

ORDER BY CASE WHEN salary = (SELECT MAX(salary) FROM employees)

THEN 'A'

ELSE last_ name

END ,last_name DESC;

Which two statements are true?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Denny
1 days ago
This is a tricky one! I can see how the CASE statement could be interpreted in different ways, but I'm leaning towards option A. Sorting the maximum salary employees first in descending order makes the most sense to me.
upvoted 0 times
...
Otis
17 days ago
Hmm, I'm not so sure about this one. The CASE statement seems a bit convoluted, but I think the employees with the maximum salary will appear first in descending order. Let me double-check the options.
upvoted 0 times
Karma
2 days ago
I think option A is correct.
upvoted 0 times
...
...
Kimberely
18 days ago
I'm not sure about option A. I think it could be option F because the query might return the names in an unspecified order.
upvoted 0 times
...
Mirta
19 days ago
I agree with Aliza. Option A makes sense because the query is ordering by the maximum salary in descending order.
upvoted 0 times
...
Aliza
21 days ago
I think option A is true because it says the names of employees earning the maximum salary will appear first in descending order.
upvoted 0 times
...
Michel
23 days ago
The statement is definitely selecting the employees with the maximum salary and sorting them in descending order. The rest of the employees will be sorted by their last name in descending order as well. Option A is the correct answer.
upvoted 0 times
Elina
5 days ago
So, the remaining employees will be sorted by their last name in descending order too.
upvoted 0 times
...
Eric
8 days ago
I agree, the statement is selecting employees with the maximum salary and sorting them in descending order.
upvoted 0 times
...
Malissa
9 days ago
I think option A is correct.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77