The query as Follows:
select top 1 salary from (select distinct top 2 salary from table1 order by salary desc) a order by salary
Here
salary-Column Name
table1-Table Name
a-Concatenation..It may be any other character
Subscribe to:
Post Comments (Atom)
-
Name value collection in C# The name value collection is same like the HashTable. We can set the Object value and the Key to that par...
-
Taskkill.exe (Kill the task that running on local and remote machine) Examples: TASKKILL /S system /F /IM notepad.exe /T TASKK...
-
Region based default button in ASP.NET Another one Simple Method is use the Panel inside it put the Default Button Focus To It <!-- ...
No comments:
Post a Comment