SQL for Non-Programmers -- Homework Practice

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

SELECT MONTH(CreationDate) Month, DAY(CreationDate) Day, COUNT(*) PostCount
FROM Posts
WHERE CreationDate BETWEEN '2012-11-01' AND '2012-12-01'
GROUP BY MONTH(CreationDate), DAY(CreationDate)
ORDER BY MONTH(CreationDate), DAY(CreationDate)

Enter Parameters

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