Jay Homework 4 #4

0

Please login or register to vote for this query.

(click on this box to dismiss)

Genealogy and Family History Meta

Q&A about the site for expert genealogists and people interested in genealogy or family history

SELECT COUNT(*)
FROM Posts
JOIN Users ON Users.Id=Posts.OwnerUserID
WHERE Posts.CreationDate > DATEADD(DAY, -364,GETUTCDATE())
AND Users.CreationDate> DATEDIFF(DAY, Posts.CreationDate, -7) 
GROUP BY DATEPART (WEEKDAY, Posts.CreationDate)

Enter Parameters

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