Which query will generate the required result?

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

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



Leave a Reply 5

Your email address will not be published. Required fields are marked *


shape

shape

Correct answer is B!

FETCH {FIRST|NEXT} {|NUMBER [PERCENT]} {ROW|ROWS} {ONLY|WITH TIES}

=> The FIRST and NEXT keywords can be used interchangeably and are for semantic
clarity only. Either one must be used.

Djamel

Djamel

I agree with shap.

Adeel

Adeel

All are Incorrect.

Adeel

Adeel

Sorry B is the Correct answer.

Giovanni Amorim

Giovanni Amorim

B is correct. The sintaxe FETCH need the Keyword FIRST OR NEXT. If you gorget you`ll guve erro 905.