Last active
April 6, 2017 21:54
-
-
Save goaquin/aa018911483afaeccfb8bffc4de657eb 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 field, sum(field) from (subquery); | |
-- example | |
-- field | sum(field) | |
-- 1 | 11 | |
-- 5 | 11 | |
-- 4 | 11 | |
-- 1 | 11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment