Write a query to find five highest salaries from EMP table.
(there is a column SALARY)

Answers were Sorted based on User's Feedback



Write a query to find five highest salaries from EMP table. (there is a column SALARY)..

Answer / mohammad murtuza ali

select * from salary where rowno<6

Is This Answer Correct ?    4 Yes 15 No

Write a query to find five highest salaries from EMP table. (there is a column SALARY)..

Answer / amit bharane

select salary from employees
where rownum<=5
order by salary desc

Is This Answer Correct ?    3 Yes 22 No

Write a query to find five highest salaries from EMP table. (there is a column SALARY)..

Answer / mohammad murtuza ali

select * from SALARY where where rowno<6 and empname like
empname

Is This Answer Correct ?    2 Yes 29 No

Write a query to find five highest salaries from EMP table. (there is a column SALARY)..

Answer / sujith

select * from test_sujith where rownum < 6 order by item3 desc

Is This Answer Correct ?    2 Yes 31 No

Post New Answer

More SQL PLSQL Interview Questions

what is the difference between char_length and length? : Sql dba

0 Answers  


what is view? : Sql dba

0 Answers  


What are the sql versions?

0 Answers  


What is sql in oracle?

0 Answers  


What are the parameter modes supported by pl/sql?

0 Answers  






What is join view in sql?

0 Answers  


What are sql procedures?

0 Answers  


Is it possible to access the current value in a session before accessing next value?

1 Answers  


What is sql character function?

0 Answers  


What are database links used for?

0 Answers  


What is before and after trigger?

0 Answers  


Which sql statement is used to delete data from a database?

0 Answers  


Categories