answers to lb questions created within a date range

0

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

--This gets me the answer userid to the questions.
--SELECT
--Posts.OwnerUserID
--FROM
--Posts
--JOIN Users on Users.Id=Posts.OwnerUserID
--WHERE
--Posts.CreationDate > '2019-07-01 00:00:00'
--AND
--Posts.CreationDate < '2019-08-01 00:00:00'
--AND
--Posts.ParentId='57153091'
--AND
--(Posts.Body LIKE '%##text?liquibase##%' OR Posts.Title LIKE '%##text?liquibase##%')

--unique users respondERS for liquibase questions
SELECT
count(distinct Posts.OwnerUserID)
FROM
Posts
JOIN Users on Users.Id=Posts.OwnerUserID
JOIN Posts as P on P.ParentId = Posts.Id
WHERE
Posts.CreationDate > '2020-09-01 00:00:00'
AND
Posts.CreationDate < '2020-10-01 00:00:00'
--AND
--Posts.AnswerCount > 0
AND
(Posts.Body LIKE '%##text?liquibase##%' OR Posts.Title LIKE '%##text?liquibase##%')

Enter Parameters

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