Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Japanese language
SELECT COUNT(*) AS "# questions", DATEPART(year, p.CreationDate) AS "year" FROM Posts p JOIN Users u ON u.Id = p.OwnerUserId WHERE p.Body LIKE '%##SpecifiedText##%' AND p.Body LIKE '%##SpecifiedText2##%' AND p.PostTypeId = 1 -- Questions GROUP BY DATEPART(year, p.CreationDate)