Find Probably-Unregistered users and their low-quality posts


Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

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, GETDATE()) > 8760 */
AND DATEDIFF(hour, u.CreationDate, u.LastAccessDate) <= ##MaxHours:int##
AND p.PostTypeId = 1

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

ORDER BY p.Score ASC, u.CreationDate ASC

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results