Most efficient answers (based on score/post length ratio)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

DECLARE @UserID Int = ##UserID?9449426##


SELECT
  Id AS [Post Link],
  Score,
  Length = LEN(Body),
  Efficiency = 1.0 * Score / LEN(Body)
FROM Posts
WHERE OwnerUserId = @UserID
  AND PostTypeId = 2
ORDER BY Efficiency DESC, Length ASC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results