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 pragma autonomous transaction in oracle?
What are group functions in oracle?
How to loop through data rows in the implicit cursor?
How do I know if oracle client is installed on windows?
what are steps for interface? where is exchange rate defined in which table?
How to pass parameters to procedures in oracle?
How to define an explicit cursor in oracle?
How to use "in" parameter properly?
while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511
Can multiple columns be used in group by in oracle?
What is recycle bin in Oracle?
How translate command is different from replace?
what are the default admin accounts in Oracle 10g ?
How to assign values to data fields in record variables?
How do I spool in oracle?