DAI Practice


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for Tridion developers and administrators

WITH topTenUsers AS (

  SELECT TOP 10 OwnerUserId, SUM(Score) AS totalScore
  FROM Posts  
  WHERE (Tags LIKE '%sql%'
    OR Tags LIKE '%python%'
    OR Tags LIKE '%<r>%')
    AND OwnerUserId IS NOT NULL
  GROUP BY OwnerUserId 
  ORDER BY totalScore DESC)
SELECT displayname, 
  Concat('https://stackoverflow.com/users/',OwnerUserId) AS profileUrl,
FROM topTenUsers AS tt
  JOIN users AS u
    ON tt.OwnerUserId = u.Id
ORDER BY totalScore DESC

Enter Parameters

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