Total de perguntas vs total fechadas

0

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A for engineers, producers, editors, and enthusiasts spanning the fields of audio, video, and media creation

select Total, TotalFechadas,
TotalFechadas / Total * 100 as PorcentagemFechadas
FROM 
  (SELECT count(Id) Total,
    SUM(CASE WHEN ClosedDate IS NOT NULL THEN 1 ELSE 0 END) TotalFechadas
   FROM Posts
   WHERE CreationDate BETWEEN '2019-01-01' AND '2019-05-22') t;

Enter Parameters

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