How many questions tagged by [tag] are also tagged with a Google API or product specific tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

declare @tagToSearch nvarchar(35) = ##Tag:string?google-api##;
declare @offset date = dateadd(##Period?month##, ##Offset?-1##, getdate());

select
  cast(CreationDate as Date) as Created,
  count(Id) as [Questions Posted]
from
  Posts
where
  PostTypeId = 1
  and
  CreationDate >= @offset
  and
  charindex('<' + @tagToSearch + '>', Tags) > 0
  and
  (
  Tags like '%<google-content-api>%' or 
  Tags like '%<google-custom-search>%' or 
  Tags like '%<google-reporting-trafficking-api>%' or 
  Tags like '%<google-civic-information-api>%' or 
  Tags like '%<google-font-api>%' or 
  Tags like '%<google-site-verification-api>%' or 
  Tags like '%<google-tag-manager>%' or 
  Tags like '%<google-pagespeed-insights-api>%' or 
  Tags like '%<google-tasks-api>%' or 
  Tags like '%<google-translation-api>%' or 
  Tags like '%<google-api-webmasters>%' or 
  Tags like '%<adsense-api>%' or 
  Tags like '%<google-compute-api>%' or 
  Tags like '%<google-bigquery>%' or 
  Tags like '%<google-cloud-dataflow>%' or 
  Tags like '%<google-genomics>%' or 
  Tags like '%<google-fit>%' or 
  Tags like '%<google-fit-api>%' or 
  Tags like '%<google-distancematrix-api>%' or 
  Tags like '%<google-elevation-api>%' or 
  Tags like '%<google-geocoding-api>%' or 
  Tags like '%<google-maps-api-3>%' or 
  Tags like '%<google-my-business-api>%' or 
  Tags like '%<google-static-maps>%' or 
  Tags like '%<google-roads-api>%' or 
  Tags like '%<google-play-developer-api>%' or 
  Tags like '%<google-alert-center-api>%' or 
  Tags like '%<google-license-manager>%' or 
  Tags like '%<google-directory-api>%' or 
  Tags like '%<google-groups-migration>%' or 
  Tags like '%<google-groups-settings>%' or 
  Tags like '%<google-email-audit-api>%' or 
  Tags like '%<google-reseller-api>%' or 
  Tags like '%<google-reporting-api>%' or 
  Tags like '%<youtube-api>%' or 
  Tags like '%<youtube-data-api>%' or 
  Tags like '%<google-blogger-api>%' or 
  Tags like '%<google-books-api>%' or 
  Tags like '%<google-calendar-api>%' or 
  Tags like '%<gmail-api>%' or 
  Tags like '%<google-analytics-api>%' or 
  Tags like '%<google-drive-api>%' or 
  Tags like '%<google-slides-api>%' or 
  Tags like '%<google-sheets-api>%'
  )
group by
  cast(CreationDate as Date)
order by
  Created 
desc

Enter Parameters

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