Hadoop questions over time

0

Please login or register to vote for this query.

(click on this box to dismiss)

History

Q&A for historians and history buffs

/****** Script for SelectTopNRows command from SSMS  ******/
SELECT
  (CONVERT(nvarchar(50), [Year]) +'-'+ RIGHT('0' + CONVERT(nvarchar(50), [Month]), 2)) AS [Month],
  NumQuestions
FROM(
	SELECT 
		DATEPART(year, CreationDate) [Year],
		DATEPART(month, CreationDate) [Month],
		COUNT(*) [NumQuestions]
	FROM [StackOverflow].[dbo].[Posts] with(nolock)
	WHERE Tags LIKE '%angularjs%' AND PostTypeId = 1
	GROUP BY DATEPART(year, CreationDate), DATEPART(month, CreationDate)
) X
ORDER BY 1 ASC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results