SELECT COUNT(1), 1 AS [SawAnswers] FROM [Users] U JOIN Po...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT COUNT(1),
    1 AS [SawAnswers]
    FROM [Users] U
    JOIN Posts P on P.OwnerUserId = U.Id
    WHERE P.CreationDate < DATEADD(month, -1, GetUtcDate())
    GROUP BY U.Id

Enter Parameters

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