Users with highest Socratic progress (socratic hopefuls)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT  Rank() over (Partition BY 1 ORDER BY Counter DESC) AS  Rank, * 
FROM (
SELECT count(O.CreationDate) AS Counter, O.OwnerUserId AS [User Link]
FROM(
SELECT distinct OwnerUserId, CONVERT(VARCHAR(10) ,CreationDate,111) as CreationDate
FROM Posts 
WHERE score > 0 and posttypeid = 1
) O
GROUP BY O.OwnerUserId) O
ORDER BY Counter DESC

Enter Parameters

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