Created
November 30, 2016 14:17
-
-
Save nashibao/041e34f7d56f3e266dbdeac4c8ec0ec0 to your computer and use it in GitHub Desktop.
blog2.sql
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 corpus, word, SUM(word_count) AS total FROM tbl | |
WHERE ... | |
Group By corpus | |
ORDER BY total | |
DESC LIMIT 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment