Cloud Database Tag Count

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT Tags.TagName, 
  COUNT(*) as tag_count
FROM
  Posts
  JOIN PostTags ON PostTags.PostId = Posts.Id
  JOIN Tags ON Tags.Id = PostTags.TagId 
WHERE
  Tags.TagName IN (
    'google-cloud-firestore'
    , 'google-cloud-datastore'
    , 'google-cloud-memorystore'
    , 'google-cloud-sql'
    , 'google-cloud-bigtable'
    , 'google-cloud-spanner'
    , 'google-cloud-bigquery'
    , 'amazon-dynamodb'
    , 'amazon-redshift'
    , 'amazon-rds'
    , 'azure-sql-database'
    , 'azure-cosmosdb'
    , 'cloudant'
  )
GROUP BY
  Tags.TagName
ORDER BY tag_count desc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results