Thread
:
How to find second highest value of a column in a table? | SQL?
View Single Post
#
6
(
permalink
)
09-20-2006, 11:42 PM
Anvay
Posts: n/a
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
Anvay