How Socratic Are We?

4

Please login or register to vote for this query.

(click on this box to dismiss)

Raspberry Pi

Q&A for users and developers of hardware and software for Raspberry Pi

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 sites:
loading Hold tight while we fetch your results