exam questions

Exam 1z0-061 All Questions

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

Exam 1z0-061 topic 1 question 12 discussion

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

You want to display 5 percent of the employees with the highest salaries in the EMPLOYEES table.
Which query will generate the required result?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D B
Show Suggested Answer Hide Answer
Suggested Answer: Explanation 🗳️
FETCH can only be used with FIRST OR NEXT. The syntax is:
FETCH { FIRST | NEXT } [integer-literal | ? ] {ROW | ROWS} ONLY
OFFSET { integer-literal | ? } {ROW | ROWS}
Reference:
https://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqljoffsetfetch.html

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
testing_for_oca
2 years, 6 months ago
Selected Answer: B
B is correct answer
upvoted 1 times
...
Fatthalla
4 years, 8 months ago
"B" because of "first" "Desc" and no ties.
upvoted 1 times
...
Lif
5 years, 2 months ago
Correct answer is B
upvoted 1 times
...
luizyto
5 years, 3 months ago
B, C and D are invalid sintax and A does not has the correct order.
upvoted 1 times
...
cnyce
5 years, 7 months ago
What is the answer here...not listed. Is it "C"?
upvoted 1 times
[Removed]
5 years, 3 months ago
I think this is B. fetch FIRST 5 oercent rows ONLY
upvoted 1 times
...
turtle
5 years, 3 months ago
The correct answer is b, salary order desc (from highest to lowest) and then fetch first 5 percent rows only (not mention that need to fetch more if they match)
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