Total de perguntas vs total fechadas


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select Total, TotalFechadas,
TotalFechadas * 100 / Total as PorcentagemFechadas
  (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

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