Percentage of posts which have both OwnerUserId and OwnerDisplayName

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Apps

Q&A for apps, scripts, and development with the Stack Exchange API

SELECT
  Count(Id) AS [# of Posts],
  Count(OwnerDisplayName) AS [OwnerDisplayName is not NUL],
  ROUND((CAST(Count(OwnerDisplayName) AS decimal))*100.0/(CAST(Count(Id) AS decimal)),5) AS Percentage
FROM Posts  
WHERE (OwnerUserId IS NOT NULL)

Enter Parameters

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