ANY answer.
Re: How to find second highest value of a column in a table?
[sql]
SELECT TOP 1 quantity FROM Trade
WHERE quantity < (SELECT MAX(quantity) FROM Trade)
ORDER by quantity DESC;
[/sql]
Is this query will work? If it works what should be the output?
regards,
venkat
|