SELECT TOP(##num?100##) OwnerUserId AS [User Link], Owner...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness

Q&A for physical fitness professionals, athletes, trainers, and those providing health-related needs

SELECT TOP(##num?100##)
  OwnerUserId AS [User Link],
  OwnerDisplayName AS udn,
  COUNT(Id) AS Pcount,
  SUM(case when PostTypeId = 1 then 1 else 0 end) AS QCount,
  SUM(case when PostTypeId = 2 then 1 else 0 end) AS ACount
  FROM Posts
  GROUP BY OwnerUserId, OwnerDisplayName
  ORDER BY Count(Id) DESC

Enter Parameters

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