Query

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu Meta

Q&A about the site for Ubuntu users and developers

SELECT Posts.Title AS Title, Posts.CreationDate, Users.Reputation AS Reputation, Count(Comments.Text) AS Comment_Count
FROM Posts
INNER JOIN Users
ON Posts.OwnerUserId = Users.Id
INNER JOIN Comments
ON Posts.Id = Comments.PostId
WHERE Posts.Title LIKE '%I learn%' AND Month(Posts.CreationDate) BETWEEN '01' AND '12' AND YEAR(Posts.CreationDate) BETWEEN '2008' AND '2012'
Group By Title, Posts.CreationDate, Reputation

Enter Parameters

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