select str(datepart(year, CreationDate)) + str(datepart(m...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

select str(datepart(year, CreationDate)) + str(datepart(month, CreationDate))
+ str(datepart(day, CreationDate)) Tag,  count (*) Kaun
from Posts
where PostTypeId in (1, 2) 
group by datepart(year, CreationDate), datepart(month, CreationDate), 
datepart(day, CreationDate)
order by datepart(year, CreationDate), datepart(month, CreationDate), 
datepart(day, CreationDate)

Enter Parameters

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