A list of the top 500 users with the highest average answer score excluding community wiki / closed posts or users with less than 10 answers
Q&A about the site for Drupal developers and administrators
SELECT * FROM (SELECT TOP 10 P.ID, P.TITLE, P.BODY, P.CREATIONDATE, T.TAGNAME FROM TAGS T JOIN POSTTAGS PT ON T.ID = PT.TAGID JOIN POSTS P ON P.ID = PT.POSTID WHERE TAGNAME like 'java' AND DATEDIFF(MONTH, CREATIONDATE, CURRENT_TIMESTAMP) < 6) AS REQUEST JOIN (SELECT PARENTID, BODY, TAGNAME FROM POSTS P JOIN POSTTAGS PT ON P.ID = PT.POSTID JOIN TAGS T ON T.ID = PT.POSTID) AS RESPONSE ON RESPONSE.PARENTID = REQUEST.ID AND RESPONSE.TAGNAME = REQUEST.TAGNAME