<pre>select top 1 salary from Emp
where salary not in (select top 1 salary from Emp order by salary desc)
order by salary desc</pre>
I would recommend you <a href="http://www.sql-ex.ru">sql-ex.ru/</a>.
Last Wiki Answer Submitted: February 25, 2010 5:14 pm by msi771,610 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.