Constraints by Community

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

SELECT
u.OwnerUserId, Deleted_Year = Min(YEAR(u.DeletionDate)), p.PostTypeId
FROM PostNotices u, Posts p 
WHERE 
u.PostId = p.Id

GROUP BY 
u.OwnerUserId, PostTypeId
HAVING 
u.OwnerUserId  in (419, 811, 1228, 1288, 2598, 3279, 13531, 16587, 19679, 50049, 
50776, 59303,100297, 102937, 105971, 106224, 68175, 189134, 229044, 237838, 
246246, 366904, 426671, 584192, 707111, 871050, 1252759, 1849664, 2420979, 3956566,
4099593) 
OR u.OwnerUserId %5  = 0 
Or u.OwnerUserId %7 = 0

Order By 
u.OwnerUserId, PostTypeId DESC

Enter Parameters

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