write query for fourth maximum salary from employee table
Answer Posted / icedrop
select top 1 salary from (select distinct top 4 Salary from tablename order by salary desc ) result order by salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is normalization of database? What are its benefits?
Where views are stored in sql server?
How to execute multiple stored procedures at one time in sql server?
between cast and convert which function would you prefer and why?
Find columns used in stored procedure?
How to insert multiple rows with one insert statement in ms sql server?
How to set the current database in ms sql server?
how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A
What are the commands used in DCL?
How to find the service pack installed? : sql server database administration
What is the maximum row of a size?
How do you size a resultset?
What is use of @@ spid in sql server?
How do I change my passwords (database, LDAP, and so on) without causing an outage?
What is scheduled job and how to create it?