Comments with highest score

0

Please login or register to vote for this query.

(click on this box to dismiss)

CiviCRM

Q&A for administrators and users of the CiviCRM Constituent Relationship Management software

SELECT TOP(##num?500##)
  RANK() OVER(ORDER BY Score DESC) AS Rank,
  Score, Id AS [Comment Link], Text, UserId AS [User Link], UserDisplayName, CreationDate
FROM Comments
ORDER BY Score DESC

Enter Parameters

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