Questions and Answers per Month

0

Please login or register to vote for this query.

(click on this box to dismiss)

Engineering

Q&A for professionals and students of engineering

select CAST(cast(DATEPART(YYYY, b.Date) as varchar) + '-' + cast(DATEPART(MM, b.Date) as varchar) + '-01' as datetime) as Month, 
count(b.Id)
from Badges b, Users u
where b.UserId = u.Id
and u.DisplayName = 'Lewisham'
group by b.Date

Enter Parameters

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