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 5 Question 78 Discussion

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

Examine the description of the EMPLOYEES table:

NLS_DATE FORMAT is DD-MON-RR.

Which two queries will execute successfully?

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Contribute your Thoughts:

Refugia
6 hours ago
The NLS_DATE_FORMAT is an important detail. It's good that the question specifies the date format, otherwise I might have gotten the date comparisons wrong.
upvoted 0 times
...
Kiley
1 days ago
Haha, I'm gonna choose option C just to see what kind of weird result I get. Maybe it'll summon the SQL gods or something.
upvoted 0 times
...
Daniel
15 days ago
E is definitely wrong, you can't group by salary alone. That would give you the average of the maximum salary for each unique salary value, which doesn't make much sense.
upvoted 0 times
...
Goldie
18 days ago
I think A and C are incorrect because they have some syntax errors. A is trying to use MAX() with AVG(), and C is trying to use SUM() with MAX().
upvoted 0 times
...
Marlon
19 days ago
The correct answers are B and D. B calculates the average of the maximum salaries for each department, and D calculates the sum of salaries for employees hired after January 1, 2019 for each department.
upvoted 0 times
...
Mitzie
19 days ago
I'm not sure about option D. I think option B might also be correct because it groups by dept_id and salary.
upvoted 0 times
...
Clorinda
25 days ago
I agree with Mirta. Option A and D seem to be the correct queries based on the description of the table.
upvoted 0 times
...
Mirta
29 days ago
I think option A and D will execute successfully.
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