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 language does oracle use?
What is oracle database 10g express edition?
How to rename an index?
How to create an initialization parameter file?
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?
What is object data modeling?
How to define an explicit cursor in oracle?
Why use resource manager in Oracle?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
How do I connect to oracle?
what is normalisation?what are its uses?
What are the different editions of oracle?
What is a user account in oracle?
How do I uninstall oracle client from windows?