Viewing 4 posts - 1 through 5 (of 5 total)
Syntax error.
If i do:
SELECT MAX(Revenue_Spend) AS "Largest Amount Spent" FROM MaxCents
I get the max amount spent, but I can't figure out how to get it to display the...
April 24, 2013 at 3:16 pm
Hmm .. maybe something like :
SELECT userID as "Highest Spending User", MAX(Revenue_Spend) as "Amount Spent"
FROM MaxCents
...?
April 24, 2013 at 2:48 pm
- I want to show every day, even if there isn't a row for it.
- Don't have much experience with CTE ... the syntax should be something like
WITH...
April 24, 2013 at 2:27 pm
This isn't homework. It's a SQL workstream for a company I just joined (already told them during the interview process I wasn't that strong on SQL). I wanted to try...
April 24, 2013 at 1:12 pm
Viewing 4 posts - 1 through 5 (of 5 total)