Created
July 17, 2014 21:05
-
-
Save tucotuco/2aa2a7c57c53d565ef5b to your computer and use it in GitHub Desktop.
BigQuery example
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
| SELECT institutioncode, basisofrecord, count(institutioncode) as reps | |
| FROM [dumps.full] | |
| WHERE basisofrecord not in ('PreservedSpecimen', 'FossilSpecimen') | |
| GROUP BY institutioncode, basisofrecord | |
| ORDER BY reps DESC | |
| LIMIT 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment