Any edit summary comment from random♦ that's over 100 characters is sure to be an interesting read.
Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation
FROM users u
WHERE NOT EXISTS (SELECT 1
FROM PostHistory a
WHERE a.userid = u.id
AND a.posthistorytypeid IN (4,5,6))
AND u.reputation > 5000