Skip to content

Instantly share code, notes, and snippets.

@Everettss
Created September 18, 2017 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Everettss/13a5d2dc4f4539b5aa4043f0d955f879 to your computer and use it in GitHub Desktop.
Save Everettss/13a5d2dc4f4539b5aa4043f0d955f879 to your computer and use it in GitHub Desktop.
SELECT task, (count(distinct projectID) / 65794 * 100) as percent
FROM [scripts]
WHERE taskName = 'build'
GROUP BY task
ORDER BY percent DESC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment