Write query to fetch second maximum salary from employee table.
Answer Posted / ritesh
select max(salary) from emptable where salary < (select max(salary) from emptable);
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What are temporal data types in oracle?
How do we display rows from the table without duplicates?
How do I know if oracle client is installed on windows?
How to pass parameters to procedures?
What is the relation of a user account and a schema?
What is oracle thin client?
What is the difference between substr & instr functions?
What is a data lock in oracle?
What is the difference between truncate & delete command?
What is oracle datasource?
How to create a new tablespace in oracle?
why should i declare foreign key constraint as self relation instead of binary relation in tables ?
Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?
Can objects of the same schema reside in different tablespace?
Can you have more than one content canvas view attached with a window ?