Handles ties correctly
Q&A for programmers
-- Top non-community-owned Comment score -- Handles ties correctly SELECT PostID [Post Link], score From comments WHERE score = (select max(score) from comments WHERE PostId in (select Id From Posts Where CommunityOwnedDate Is Null)) and PostId in (select Id From Posts Where CommunityOwnedDate Is Null)
Error: looks like you typed in the wrong words - try again