how to find nth highest salary
Answer Posted / jayakumar
please try this....
this is very usefull to you
select colunm_name from (select distinct(column_name) from
table_name where column_name is NOT NULL order by desc)
where rownum=n;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a stored procedure and a user defined function?
How to find the list of fixed hard drive and free space on server?
What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?
What do you understand by triggers and mention the different types of it?
What command would you use to add a column to a table in sql server?
How to create sub reports?
What are the different Authentication modes in SQL Server and how can you change authentication mode?
What is rolap and its advantage? : sql server analysis services, ssas
what is the Ticketing tool used in Wipro technologies at Bangalore...???
What is difference between temp table and cte?
What are the database roles? : sql server security
What were the latest updates to SQL Azure service?
What are the advantages of using a stored procedure?
how to take backup bcp out for a column in table in sql server?
How to use copy and concatenate commands in SQL?