Question deletion vs creation rates for tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

SELECT TOP 500
  TagName,
  Deleted,
  Created,
  ROUND(CAST(Deleted AS float)/Created, 2) as Ratio
FROM (
  SELECT
    value as TagName,
    SUM(CASE WHEN DeletionDate >= ##Since:String?2021-01-01## THEN 1 ELSE 0 END) as Deleted,
    SUM(CASE WHEN CreationDate >= ##Since## THEN 1 ELSE 0 END) as Created
  FROM
    PostsWithDeleted
    CROSS APPLY STRING_SPLIT(REPLACE(REPLACE(REPLACE(Tags,'><',','),'<',''),'>',''),',')
  WHERE
    DeletionDate >= ##Since## OR 
    CreationDate >= ##Since##
  GROUP BY value
) as calc
ORDER BY
  Created DESC

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results