How to select the name of employee who is getting maximum
sal with out using subquery
Answer Posted / niladri chatterjee
Select * From (Select * From Employee Order By Salary Desc) a
Where rownum=1 ;
Or
Select * From (Select Emp_id, Emp_NM, Salary From Employee Order By Salary Desc) a
Where rownum=1 ;
Based on Oracle 11g.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is set verify off in oracle?
What is a static data dictionary in oracle?
Can we commit inside a function in oracle?
How to do paging with oracle?
How can I convert single byte kana characters into multi byte kana characters and vice-versa.
What is the simplest tool to run commands on oracle servers?
How to convert raw data type into text in oracle? Explain
How to use group functions in the select clause using oracle?
How to export data to a csv file?
How to loop through a cursor variable?
What are the components of logical database structure in oracle database?
How to see free space of each tablespace?
What is a dead lock in oracle?
Explain cascading triggers.
How to drop an existing view in oracle?