Returning largest value across columns in SQL Server 2008
47905
Is there a Max function in SQL Server that takes two values like Math.Max in .NET?
70950
Using tsql greater than sign in CASE Expression
31013
How to select records with maximum values in two columns?
2925
Taking the "transpose" of a table using SQL
98335
How do I get the MAX row with a GROUP BY in LINQ query?
52689
Mysql max value from 3 different columns
39628
SQL select only rows with max value on a column
16940
Efficiently convert rows to columns in sql server
66956
Get most common value for each value of another column in SQL
123904
How to compare different values in sql server
76783
How to pivot text columns in SQL Server?
2789
Fetch the row which has the Max value for a column
126411
Return multiple values from a SQL Server function
68780
Limit on the WHERE col IN (...) condition
96184
Ordering by the order of values in a SQL IN() clause
80391
T-SQL: Selecting Column Based on MAX(Other Column)
30078
How do I perform a GROUP BY on an aliased column in MS-SQL Server?