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
How to count groups returned with the group by clause in oracle?
How to define a data field as not null?
What is difference between sid and service name in oracle?
How to connect ms access to oracle servers?
What is SQL Tuning Advisor in Oracle?
what is the difference between data migration and production migration.
How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?
how do u setup a replication site?
How to create a new table in your schema?
What is a trigger and what are its types?
What is an anonymous block?
What is oracle used for?
What is materialized view in Oracle?
Explain the difference between sql and oracle?
Where do you use decode and case statements?