exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 63 discussion

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

Examine the description of the EMPLOYEES table:

Which two queries return all rows for employees whose salary is greater than the average salary in their department? (Choose two.)
A.

B.

C.

D.

E.

Show Suggested Answer Hide Answer
Suggested Answer: BE

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
ArslanAltaf
2 months, 3 weeks ago
B & D is correct only. E is not
upvoted 1 times
ArslanAltaf
2 months, 3 weeks ago
Correction - B, D and E all worked. All tested
upvoted 1 times
ogi33
2 months, 2 weeks ago
D execute but gives no corect data
upvoted 4 times
...
...
...
Poke90
1 year, 4 months ago
IN E, the column alias avg_salary from the sub query is used in the WHERE clause of the main query. Is that allowed?
upvoted 2 times
Eltelwany
1 year, 3 months ago
Yes, it is allowed. It follows from the order of the execution. Since the engine would execute the subquery first, it already knows what the alias refers to.
upvoted 3 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