Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow Meta en español

Preguntas y respuestas sobre el sitio para programadores y profesionales de la informática

select count(case when PostTypeId = 1 then 1 end) as [#Q], count(case when PostTypeId = 2 then 1 end) as [#A]
from Posts
where (PostTypeId = 1 or PostTypeId = 2) and Score > 0

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results