write query for fourth maximum salary from employee table
Answer Posted / elumalai.k
select salary from employee aa
where 4=(select count(*)from employee bb
where aa.salary<=bb.salary)
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
When to use Inner join & when to use subquery?
What is co-related sub query?
How to receive output values from stored procedures?
Why would you call update statistics?
When we should use and scope of @@identity?
what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration
Can we deploy SSRS reports on our personal website?
What is transaction server implicit?
What happens when converting big values to numeric data types?
What are the steps you must follow to hide sql server instances?
What is bit data type?
What is the difference between rank and dense_rank?
What is subquery? Explain the properties of a subquery?
What are the differences between left join and inner join in sql server?
How to connect a database with sql express.?