Find the Closest Number using SQL Server