Created
July 9, 2014 10:37
-
-
Save bryanyang0528/3430d7ea17a917689f6a to your computer and use it in GitHub Desktop.
SQLDF EXAMPLE1
This file contains hidden or 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
library("sqldf") | |
x <- sqldf(" | |
SELECT gender, age, sum(icome) | |
FROM client | |
GROUP BY gender, age | |
ORDER BY gender, age | |
") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment