Find Probably-Unregistered users and their low-quality posts

1

Please login or register to vote for this query.

(click on this box to dismiss)

English

Q&A for linguists, etymologists, and serious English language enthusiasts

SELECT u.CreationDate AS "Account creation",
DATEDIFF(hour, u.CreationDate, u.LastAccessDate) AS "Last access _ hours later",
u.Id as [User Link], p.Id as [Post Link], p.Score as "Post score"

FROM Users u
JOIN Posts p ON u.Id = p.OwnerUserId

WHERE u.Reputation = 1
AND DATEDIFF(hour, u.CreationDate, u.LastAccessDate) <= ##MaxHours:int##
AND p.PostTypeId = 2

-- MaxHours: Maximum number of hours between registration and last access 

ORDER BY p.Score ASC, u.CreationDate ASC

Enter Parameters

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