Created
May 21, 2016 00:56
-
-
Save diana-shealy/827ccfa33a6c3ab2bb4e664639658ebb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
Month, | |
Group1, | |
Group2, | |
Group3, | |
CONCAT(Group1, “-”, Group2) as NewGroup, | |
SUM(Usage) as total_usage | |
FROM usage | |
GROUP BY 1, 2, 3, 4, 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment