select distinct p.OwnerUserId, DATEPART(month, p.creation...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language Meta

Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

select distinct
  p.OwnerUserId,
  DATEPART(month, p.creationdate) as Month,
  DATEPART(year, p.creationdate) as Year
  from posts p 
  where p.OwnerUserId = 5295 AND DATEPART(year, p.creationdate) >= 2010 AND DATEPART(year, p.creationdate) <= 2020
  group by p.OwnerUserId, DATEPART(month, p.creationdate), DATEPART(year, p.creationdate)

Enter Parameters

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