How to get Max of sum of two columns, with associated column - SQL Live
2789
Fetch the row which has the Max value for a column
48374
is there a PRODUCT function like there is a SUM function in Oracle SQL?
27001
How to calculate the following sum:
38339
How to get max number in a column?
38582
Simple way to transpose columns and rows in SQL?
45455
sum pair of columns based on matching fields
35057
What is the simplest SQL Query to find the second largest value?
117407
How to calculate the sum of the data that have the same ID in the first column?
23997
How do I order by multiple columns in a SELECT query?
156303
Performing Inner Join for Multiple Columns in the Same Table
31013
How to select records with maximum values in two columns?
139237
How to sum over duplicates?
42491
How do I efficiently get "the most recent corresponding row"?
47905
Is there a Max function in SQL Server that takes two values like Math.Max in .NET?
142592
Simple SQLServer PIVOT/Transposed query, how to write?
144271
Use SUM In Update Statement
67996
Calculating cumulative sum for each row