exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 256 discussion

Actual exam question from Oracle's 1z0-071
Question #: 256
Topic #: 1
[All 1z0-071 Questions]

Examine the description of the EMPLOYEES table:



Examine these requirements:

1. Display the manager id and salary of the lowest paid employee for that manager.
2. Exclude anyone whose manager is not known.
3. Exclude any managers where the minimum salary is 6000 or less.
4. Sort the output by minimum salary with the highest salary shown first.

Which statement will do this?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kay000001
2 months, 2 weeks ago
Sorry, my correct: A. is incorrect - the WHERE clause does not come after HAVING clause B. is technically incorrect, as the HAVING clause comes after the GROUP BY, however, in Oracle SQL, this can work and will produce the correct answer. C: is incorrect - cannot use an aggregated function straight in the WHERE clause D. Correct.
upvoted 1 times
...
kay000001
2 months, 2 weeks ago
Selected Answer: D
A. is incorrect - the WHERE clause does not come after HAVING clause B. is technically incorrect, as the HAVING clause comes after the GROUP BY, however, in Oracle SQL, this cannot work and will produce the correct answer. C: is incorrect - cannot use an aggregated function straight in the WHERE clause D. Correct.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago