I'm not sure whether this will help you or not. But still I'just came across the following and thought of distributing to you.
Examples
This example returns the book with the highest (maximum) year-to-date sales.
USE pubs
GO
SELECT MAX(ytd_sales)
FROM titles
ENZOI!!!!!!!!!!!!!!!