Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Create number_of_environments.sql
  • Loading branch information
binford2k committed Jun 10, 2020
1 parent ad7cc97 commit cd64770
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions number_of_environments.sql
@@ -0,0 +1,5 @@
-- This will generate an aggregate table consisting of the number of environments
-- exist in infrastructures and how many occurrences of that count there are.
SELECT environment_count, count(1) AS occurrences
FROM `bto-dataops-datalake-prod.dujour.community_metrics`
GROUP BY environment_count

0 comments on commit cd64770

Please sign in to comment.