View Single Post
  #6 (permalink)  
Old 09-20-2006, 11:42 PM
Anvay
 
Posts: n/a
Default ANY answer. Re: How to find second highest value of a column in a table? | SQL?

consider this code:---

[sql]
SELECT MAX(OFFICE_LOCATION_ID) FROM table
WHERE OFFICE_LOCATION_ID < (SELECT MAX(OFFICE_LOCATION_ID) FROM table)
[/sql]

hope it works
Edit/Delete Message Reply With Quote