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 a cache in ssrs?
Write SQL queries on Self Join and Inner Join.
How to create function with parameter in sql server?
Explain data warehousing in sql server?
When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?
How real and float literal values are rounded?
How can you list all the table constraints in a database?
How do I connect to sql server database?
How is foreign key related to primary key?
there is a trigger defined for insert operations on a table, in an oltp system. The trigger is written to instantiate a com object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration
Can we do dml on views?
Explain few examples of stored procedure over triggers?
What are types of scd? : sql server analysis services, ssas
What is provisioning, billing and metering, and connection routing concepts in the service layer?
How many types of attribute relationships are there? : sql server analysis services, ssas