Hello. I'm new to SQL and am trying to write the code to show me the max sales of the summed data for a specific day based on dates in my list (the dates range for the months of October and November)
Here is what I have so far.
SELECT Date, Sum(Amount) AS SumOfAmount
FROM Transactions
GROUP BY Date
Just not sure how to get the Max in there or how to ensure I'm showing the day for a given month.
Please advise.
Thanks!
Here is what I have so far.
SELECT Date, Sum(Amount) AS SumOfAmount
FROM Transactions
GROUP BY Date
Just not sure how to get the Max in there or how to ensure I'm showing the day for a given month.
Please advise.
Thanks!