please tell me the query to get details of the employee
having the second largest salary
Answers were Sorted based on User's Feedback
Answer / ravikiran
select top 2(salary) from emp_sal where
salary in (select sal from emp_sal order by sal desc)
Is This Answer Correct ? | 2 Yes | 3 No |
What are the types of database recovery models?
What are the differences between substr and charindex in sql server.
How to access the deleted record of an event?
Table - Products has number of products as below Productid ProductName 1 iPhone 2 iPad 3 BlackBerry Table - SalesPersonProduct has the below records Salespersonid productid S1 1 S1 2 S1 3 S2 1 S3 2 Write a SQL query that returns the number of sales for each product
Can the “if update (colname)” statement be used in a delete trigger?
Tell me what is difference between clustered and non clustered index?
What is SQL Server?
How to drop an existing table?
explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?
Explain full-text indexing?
What is use of except clause?
What is function of ROLLUP ?