To find second largest salary in Employee table
Answer Posted / satish
select salary from emp_Table_1 where 2= (select count(*)
form emp_Table_2 where emp_Table_2.salary < emp_Table_1.salary)
-satish
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain the truncate command?
what is bit datatype? : Sql server database administration
What is amo? : sql server analysis services, ssas
What is the benefit of normalization?
What is dbcc? Give few examples.
Can you import Microsoft Excel data to SSRS?
Name few endpoints exposed by ssrs 2012?
What are the various editions of sql server 2017 that are available in the market?
What is a table called, if it has neither cluster nor non-cluster index? What is it used for?
How to invoke a trigger on demand?
What is use of except clause? How it differs from not in clause?
Explain full-text indexing?
What is dimension table? : sql server analysis services, ssas
What is the use of commit?
what is the difference between delete table and truncate table commands? : Sql server database administration