Total de perguntas vs total fechadas

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

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