SELECT Users.Id AS [User Link], COUNT(Users.Id) as Contag...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology Meta

Q&A about the site for enthusiasts and scholars of mythology and folklore

SELECT
    --ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], 
    Users.Id AS [User Link], 
    --Reputation,
    --Posts.Body,
    COUNT(Users.Id) as Contagem,
    Posts.PostTypeId
FROM
    Users INNER JOIN Posts
ON
    Users.Id = Posts.OwnerUserId
WHERE
    LOWER(AboutMe) LIKE LOWER('%UFRN%')
    and
    Posts.PostTypeId = 2
GROUP BY
    Users.Id, Posts.PostTypeId
ORDER BY
    Contagem DESC;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results