Flash thread volume, page views, unique OPs by month

0

Please login or register to vote for this query.

(click on this box to dismiss)

Music Fans Meta

Q&A about the site for music historians, critics, and fans

SELECT COUNT(*) as Volume, 
SUM(ViewCount) as PageViews,
COUNT(DISTINCT OwnerUserId) as UniqueOPs,
DATEPART(year, P.CreationDate) as [Year], 
DATEPART(month, P.CreationDate) as Month
FROM [Posts] as P
WHERE (Tags like '%<flash%'
or Tags like '%<open-flash-chart>%'
or Tags like '%<usb-flash-drive>%'
or Tags like '%<adobe-flash-cs3>%'
or Tags like '%<openflashchart2>%'
or Tags like '%<embedded-flashplayer>%'
or Tags like '%<axshockwaveflash>%'
or Tags like '%<openflashchart>%'
or Tags like '%<rails-flash>%') 
and PostTypeId = 1 
and CommunityOwnedDate is null and ClosedDate is null
GROUP by DATEPART(YEAR, P.CreationDate), DATEPART(MONTH, P.CreationDate)
ORDER by [Year], Month

Enter Parameters

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