exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 49 discussion

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

Examine the description of the EMPLOYEES table:

For each employee in department 90 you want to display:
1. their last name
2. the number of complete weeks they have been employed
The output must be sorted by the number of weeks, starting with the longest serving employee first.
Which statement will accomplish this?
A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: C

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
gabolka
Highly Voted 2 years, 4 months ago
its asking for complete weeks so its B
upvoted 29 times
...
holdfaststrongly
Highly Voted 2 years, 3 months ago
B. Rounding up gives then employees extra days for their "complete" weeks. B would make more sense.
upvoted 10 times
...
AWSH
Most Recent 1 month, 2 weeks ago
B. its asking for completed weeks (TRUNC not ROUND) and order by DESC.
upvoted 1 times
...
speedy_vin
2 months ago
Moderator, please change the correct answer to B. Currently it is C which is incorrect as the order needs to be descending.
upvoted 1 times
...
Psili
3 months ago
There is no department in the table.. I also vote for B because of complete weeks, starting from longest period of time
upvoted 1 times
...
ArslanAltaf
6 months, 3 weeks ago
The answer should be changed to A or B because both are correct. By no means C is correct, it violates the last requirement LONGEST SERVING ON TOP.
upvoted 1 times
...
MIGHTYSTUNNERS
8 months ago
b is correct
upvoted 2 times
...
ArslanAltaf
8 months, 3 weeks ago
A & B, Both are correct. More precise is B. The requirement “output must be sorted by the number of weeks, starting with the longest” means the sorting order MUST be DESC on Tenure (High -- Low) Since in C & D, the order by tenure will adopt ASC by default, it will be from low -High so lowest tenure will be on top of output and highest tenure at bottom.
upvoted 1 times
...
Lee_jong_suk
10 months, 1 week ago
B is the correct answer
upvoted 3 times
...
Arth1989
12 months ago
Are you kidding me? Why paying for incorrect answers? Obviously the answer is B!
upvoted 7 times
...
hmatinnn
1 year ago
Answer B. Complete weeks with trunc
upvoted 3 times
...
lucemqy
1 year, 1 month ago
B would be more accurate since it does not give extra days by rounding
upvoted 2 times
...
DadiJoe
1 year, 3 months ago
how to filter department = 90 when theres no Department or Dept_ID in the table... All options must be wrong.
upvoted 6 times
...
HassanMkhlalati
1 year, 3 months ago
Answer is B, complete weeks.
upvoted 1 times
...
MariGare
1 year, 4 months ago
I would say A. If we have 5 working days in a week, then Round will give us the correct result. And as we were asked to show employees, who serves longer, first, then we should order by desc. So, I do not understand why correct answer is C ...
upvoted 1 times
...
Nexes
1 year, 5 months ago
Answer is B, complete weeks.
upvoted 1 times
...
Orxan_H
1 year, 8 months ago
B correct
upvoted 2 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