Answer Posted / ramesh.ch
select max(salary) from emp
where salary< ( select max(salary) from emp)
explanation::
first sub query returns maximum salary of employee
than main query returns maximum salary lessthan the maximum
salary return by subquery
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How to login to the server without an instance?
11. Display the client number and name and the client number and name of the person who referred that client.
What is the fastest query method to fetch data from the table?
How to create a new user account in oracle?
What privilege is needed for a user to create views in oracle?
What is index-organized table in Oracle?
is there a tool to trace queries, like profiler for sql server?
What are the restrictions on external table columns?
How to execute a stored program unit?
How to view all columns in an existing table?
How do I escape a reserved word in oracle?
What is dual table oracle?
What is blob data type in oracle?
How to write a query with a right outer join in oracle?
Differentiate between post-database commit and post-form commit?